linux环境配置

来源:互联网 发布:广电网络电视怎么点播 编辑:程序博客网 时间:2024/05/22 03:50

制作启动盘

制作U盘启动盘的工具有很多种,我们这里为大家介绍的是用软碟通制作。所有我们需要有这个软件,如果大家没有可以百度软碟通,下载安装一个。然后点击打开。在制作启动盘之前,我们需要准备好相关的材料,我们这里所说的材料就是Ubuntu 14.10ISO文件。

步骤阅读

  1. 2

打开软碟通之后,我们点击打开,如图示。然后选择我们的Ubuntu 14.10ISO文件。

PS:如果你是win7以上的系统,请你使用管理员身份打开软件。

步骤阅读

步骤阅读

  1. 3

然后我们再点击工具栏中的启动,如图示。

步骤阅读

  1. 4

在弹出来的启动栏中,我们选择写入硬盘映像,如图示。

步骤阅读

  1. 5

这个时候,我们会看到如图示界面,我们这里需要选择一个写入方式,我们将写入方式修改为“USB-HDD”。不然你制作的U盘启动盘是启动不了。我们还需要做的是将便携启动中的写入新的驱动器引导扇区选择为“Syslinux”

步骤阅读

步骤阅读

  1. 6

然后这个时候,会有一个提示,提示你是否将这个引导信息写入U盘,我们点击。过一会儿后,悔又一个提示,写入成功的提示。

步骤阅读

步骤阅读

  1. 7

然后我们点击写入,之后我们需要做的就是等待,等待写入完成。

步骤阅读

  1. 8

写入完成之后,我们会看到如图示信息,提示你刻录成功。我们点击返回即可。然后我们就可以开始安装你的Ubuntu了。

步骤阅读

END

百度经验:jingyan.baidu.com

注意事项

  • PS:在制作U盘启动盘之前,请各位先格式化你的U盘。

Ubuntu下载地址:http://mirrors.melbourne.co.uk/ubuntu-releases/16.04/

 

 

 

安装Ubuntu,搭建环境

一、 惠普笔记本:插入启动盘----开机----ESC----f9---USB启动

二、 安装:点点点

a.     安装vim: sudo apt-get install vim-gtk

三、 环境:sdk(24),Java,ant,ndk(r8d), eclipse+adt –>环境变量profile

1.  Chrome  àsudo dpkg --install chrome.deb

若报错则:sudo apt-get update

       sudo apt-get install libgconf2-4 libnss3-1d libxss1

                   sudo apt-get install -f

  sudo dpkg --installchrome.deb

                       在启动器(searchyour computer)里输入chrome,点击图标即可打开

2.     Sougoupingyin –> sudo apt-get install fcitxlibssh2-1

                           sudo apt-get install -f

          sudo dpkg--install xxx.deb

                  点击settingà language support àkeyboard input methodsystem àfcitxàclose à重启电脑 à在启动器里点击fcitxconfiguration –> input methodà+ àsogou pinyin à 点击最上端输入法选择(按shift键可直接切换)

四、 Sourcecode:Here is the quick guide to start thecode review:

 

1.     Install git: sudo apt-get install git-core

2.     Settings on local

               $git config --global user.name "your name”

               $git config --global user.email “your email”

               $git config --global –list

 

 

2. Settings on gerrit

               1) Login gerrit with Corp account

               https://10.86.51.97:8080/

 

               2) Go to setting (top right corner) -> SSH Public Keys -> Add Key

 

3. Clone & Make change &Push change

               1) Copy clone link from gerrit web UI: Projects-> List -> ACM/ismp ->General -> SSH -> Clone with commit-msg hook

               $ git clonessh://grace.wang@10.86.51.97:29418/ACM/ismp && scp -p -P 29418 grace.wang@10.86.51.97:hooks/commit-msg ismp/.git/hooks/

 

               2) Edit, commit, push change

               $git checkout <branch>

               edit..

 

               $git commit

               $git push origin HEAD:refs/for/<branch>

 

4. Start review

               1) Copy/paste change URL from the output of the git push like below to thebrowser

 

               2) Add more reviewers

               3) Reviewers get informed via email notification

               4) Reviewer go to change web UI to do the code review

 

5. Submit change if reviewpassed and "submit" button is available

 

6. Create new patchset if reviewfailed or conflict happened during submit

               1) rework the change, submit new commit, copy change ID to the new commitmessage

               $git commit

               More to featureA

 

               Change-Id: I356b6d16898975467a6c2e7e9e07c33fc73d4056

               

               2) squash commit

               $git rebase -i HEAD~2

               pick currentcommit More to featureA

               squash lastcommit Add featureA

 

               3) push

               $git push origin HEAD:refs/for/<branch>

 

 

7. start over code reviewprocess again

 

8.If you want to get the email notification as before, pls. use the gerrit watchproject feature:

 

--------------------------------------

 

BTW,  there’s one issueregarding ssh key exchange method when you clone from gerrit. If you failed toclone or pull from gerrit with below error:

 

*Cloning into 'ismp... 
Unableto negotiate with 10.86.51.97: no matching key exchange method found. Theiroffer: diffie-hellman-group1-sha1 
fatal:Could not read from remote repository.   

Please makesure you have the correct access rights 
andthe repository exists.

You can fix it by setKexAlgorithms in ssh config:

 

$vim ~/.ssh/config 
Host10.86.51.97 
       KexAlgorithms +diffie-hellman-group1-sha1

 

 

 

下载ACM/ismpACM/ott, drm/playready的代码到本地

 

安装monosudo apt-get install mono-complete

 

安装xsltprocXML转换成html$sudo apt-get install xsltproc docbook-xsl docbook-xml

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Exo2.0 android studio

*Exoplayer 2.0—> content 位置:demo—assets – media.exolist.json

 

 

 

0 0
原创粉丝点击