Linux(Ubuntu)安装

一、ubuntu 12.04 root用户登录的方法

重新安装系统时,如果需要密码登入,按Ctrl+Alt+F1

输入sudo passwd root 设置密码再按Ctrl+Alt+F7回到登录界面,不用密码即可登入。

在终端中输入 sudo umount -l /isodevice 后,再进行安装,否则无法安装!

重新设置 root 的密码:
  $sudo passwd root  #按照提示输入两次新的密码,并加以确认。

 

ubuntu 12.04 默认是不允许 root 登录的,在登录窗口只能看到普通用户和访客登录。 

我们得做一些修改,如下: 

执行: 

sudo gedit /etc/lightdm/lightdm.conf 

增加 

greeter-show-manual-login=true   

allow-guest=false   

修改完的整个配置文件是 

 

[SeatDefaults] 

greeter-session=unity-greeter 

user-session=ubuntu 

greeter-show-manual-login=true 

allow-guest=false 

之后重启 ubuntu,登录窗口会有“登录”选项,这时候我们就可以通过root登录了。

 

二. 安装C/C++程序的开发环境

1. sudo apt-get install build-essential //安装主要编译工具 gcc, g++, make
2. sudo apt-get install autoconf automake
3. sudo apt-get install flex bison 
4. sudo apt-get install manpages-dev //安装C语言函数man文档
5. sudo apt-get install binutils-doc cpp-doc gcc-doc glibc-doc stl-manual  //安装相关文档

三、安装SVN客户端

#sudo apt-get install subversion

 

四、安装CMake

#sudo apt-get install cmake

五、打开软件中心安装KDevelop 4

 

六、安装交叉编译环境

编辑cross.install文件,把第一行#!/bin/sh 改为 #!/bin/bash,执行cross.install

 

=========================================================以上安装完已经能正常编译我的程序了。

七、打开软件中心安装QT

八、安装IPTUX(飞鸽)

#sudo apt-get install iptux

九、安装PAC(SSH工具)

安装:Ubuntu 用户可以到以下地址下载 DEB 安装包

https://sourceforge.net/projects/pacmanager/

http://www.gnomefiles.org/app.php/PAC_Manager

十、打开软件中心安装VLC

十一、打开软件中心安装Wireshark

需要使用root用户权限

十一、打开软件中心安装7Z

十二、设置goagent 自启动

安装python-vte

#sudo apt-get install python-dev

 

#sudo apt-get install python-gevent

 

接下来就是添加到启动了。ubuntu12.04下,点击右上角的系统按钮

选择启动应用程序

很简单如下图

`as

选择添加

命令填写 python2 /home/xxx/goagent/local/proxy.py即可

注意蓝色字体部分根据您的实际情况填写,即proxy.py存放位置。

而后,点击添加即可。

十二、安装Firefox扩展

1.ScrapBook 网摘插件

2.autoproxy 代理切换

3.LastPass Password Manager 网站及用户密码保存扩展

4.Adblock plus 广告过滤

5.Tab Mix Plus 强大的标签管理插件

6.Easy DragToGo http://www.firefox.net.cn/forum/viewtopic.php?t=29894

十三、安装Google浏览器 Google Chrome

1.SwitchySharp

2.Lastpass password manager

3.Sexy Undo close tab

4.Adblock

十四、安装Ubuntu Tweak

How to add the source of Ubuntu Tweak (The easy way, work since Ubuntu 9.10):

Go to System / Administration / Software Sources, click on Other Software tab, click Add button, and enter “ppa:tualatrix/ppa”.

This will add the PPA repo and the GPG key automatically.

You can also do it from command line by running:

sudo add-apt-repository ppa:tualatrix/ppa

How to add the source of Ubuntu Tweak

open your terminal, first import the key:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com FE85409EEAB40ECCB65740816AF0E1940624A220

type the command to run gedit(or other editor in your opinion) to modify the sources.list:

sudo gedit /etc/apt/sources.list

And put the two line into it(If you are using Ubuntu 8.04 Hardy or early) :

deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu hardy main

Or Ubuntu 8.10 Intrepid:

deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu intrepidmain
deb-src http://ppa.launchpad.net/tualatrix/
ppa/ubuntu intrepid main

Or Ubuntu 9.04 Jaunty:

deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/tualatrix/
ppa/ubuntu jaunty main

Or Ubuntu 9.10 Karmic:

deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/tualatrix/
ppa/ubuntu karmic main

Then update the source and install or upgrade Ubuntu Tweak:

sudo apt-get update
sudo apt-get install ubuntu-tweak

if you have installed, just type:

sudo apt-get dist-upgrade

十五、字体安装

安装微软雅黑及等宽字体Consolas双击字体文件,点击安装即可!

十六、设置Ubuntu默认字体

打开ubuntu-tweak软件,调整-》字体-》
默认字体:微软雅黑 11
桌面字体:微软雅黑 12
等宽字体:Consolas 13
文档字体:微软雅黑 11
标题字体:微软雅黑Bold 11

十七、安装OPENJDK Runtime

十八、安装Eclipse

posted @ 2012-10-23 20:22  大漠银狐  阅读(439)  评论(0编辑  收藏  举报