首页 > 代码库 > ubuntu安装笔记

ubuntu安装笔记

1.安装基于ubuntu12.04LTS版本的麒麟版本,曾尝试9.10但是源迟迟弄不好,费劲无比,还是算了,用12.04LTS版本好了。

2.安装系统之后设置root密码:

?
1
sudo passwd root

3.更改源

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cp /etc/apt/sources.list /etc/apt/sources.list.backup
 
gedit /etc/apt/sources.list
 
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted
deb http://mirrors.163.com/ubuntu/ precise-security universe
deb-src http://mirrors.163.com/ubuntu/ precise-security universe
deb http://mirrors.163.com/ubuntu/ precise-security multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

4.增加语言

?
1
System Settings...>> Language Support>> Chinese

5.安装输入法

(安装语言包为第一步)

第二步:安装 Ibus 框架

 

调出 terminal 终端,输入命令: sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4

启动 Ibus 框架,在终端下输入命令:im-switch -s ibus

 

PS:安装完 Ibus 框架之后,记得重启或者注销系统,要保证更改生效才行哦

 

第三步:安装拼音引擎

 

有很多拼音引擎可供选择,一般安装一种就够了,比如我就直接安装的第一种

Ibus 拼音:sudo apt-get install ibus-pinyin

Ibus 五笔:sudo apt-get install ibus-table-wubi

Google 拼音:sudo apt-get install ibus-googlepinyin

Sun 拼音:sudo apt-get install ibus-sunpinyin

 

第四步:设置 Ibus 框架

 

在 terminal 中输入命令:ibus-setup

执行之后,会自动调出一个 Ibus Preference 设置框

选择上面的 “Input Method”

选择相应的中文输入方式,然后点击 “Add”

注意:最好是安装什么输入法就 Add 什么输入法

 

这里还可以设置调出相应输入法到快捷键,默认的是 “Ctrl+Space”

 

好了,中文输入法已经安装完毕

6.安装更新及常用软件

sudo apt-get install vim

sudo apt-get update

 

至此,应该就差不多了