2009年3月19日星期四

我的使用手记---Ubuntu 8.10

Ubuntu 8.10

1、修改root用户密码
$ sudo passwd root
允许root用户登陆
$ sudo vim /etc/gdm/gdm.conf
AllowRoot=true
2、配置安装源

首先,备份source.list
命令:sudo cp /etc/apt/source.list /etc/apt/source.list.bak
然后,打开并编辑source.list
$ sudo vim /etc/apt/source.list
使用vim命令删掉source.list中的内容命令如下:: 1,$ d
将以下内容拷贝进去:
#cn99.com source
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse


3、配置APT代理
sudo vim /etc/apt/apt.conf
Acquire::http::Proxy "http://wwwgate0.mot.com:1080";
4、更新APT
$ sudo apt-get update
5、配置中文环境
System --> Administration --> Language Support: check Chinese
6、安装pdf
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data
7、安装音乐播放器Audacious
$ sudo apt-cache search “audacious*”
$ sudo apt-install “audacious*”
8、安装linux下的source insight工具
$ sudo apt-cache search “kscope*”
$ sudo apt-get install “kscope*”
由于kscope使用的是kate3的库,ubuntu 8.10使用的是kate4,所以,我们需要安装kate3的库。过程如下:
下载kate_3.5.9.dfsg.XXX_i386.deb
$ ar x kate_3.5.9.dfsg.XXX_i386.deb
$ tar zxvf data.tar.gz
$ sudo cp usr/lib/libkateinterfaces.so.* /usr/local/lib
$ sudo cp usr/lib/libkateutils.so.* /usr/local/lib
$ cd /usr/local/lib
$ sudo ldconfig

7、Ubuntu常用技巧
http://wiki.ubuntu.org.cn/UbuntuSkills

没有评论: