撰写本文所使用的硬件配置:
Pentium M 1.4 GHz, 512 MB 内存, 80GB 硬盘, CD-ROM, 14.1' LCD 1024 x 768, ATI Mobility Readon 9000 (M9) 64 MB Video RAM
最适平台:Intel兼容的32位CPU,512MB以上内存,2GB以上硬盘空间,CD-ROM,800x600以上分辨率,ATI显卡,Radeon 7000以上(详细要求见后文)。
本文讲述中文语言环境的基本设置。
一、前言:
本文是“Ubuntu全程安装配置手册(适合略有Linux经验,又没有使用过Ubuntu的Linuxer)”的Feisty版。虽然标题中有“安装”字样,但是文中却并没有涉及安装的详细,请原谅。本文匆匆写就,文中有很多不尽准确之处,会在后面慢慢寻找解决方法。也请大家多多指正。
二、安装:
过程不详细讲述了,请参考Ubuntu 6.06 Dapper和Ubuntu 6.10 Edgy的安装指南。
三、基本配置:
在进行下面的配置之前请确保你有可用的Internet连接。
1. 添加源:
代码: |
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list |
代码: |
Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。): deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main multiverse restricted universe deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,推荐电信用户使用。): deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse 上海市交通大学 更新服务器(教育网,推荐校园网和网通用户使用。): deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe 北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用。): deb http://mirror.net9.org/ubuntu/ feisty main multiverse restricted universe deb http://mirror.net9.org/ubuntu/ feisty-backports main multiverse restricted universe deb http://mirror.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe deb http://mirror.net9.org/ubuntu/ feisty-security main multiverse restricted universe deb http://mirror.net9.org/ubuntu/ feisty-updates main multiverse restricted universe deb http://mirror.net9.org/ubuntu-cn/ feisty main multiverse restricted universe Mirror.vmmatrix.net 更新服务器(上海市电信,推荐电信网通用户使用。): deb http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse deb-src http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse deb http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse deb http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe |
代码: |
sudo apt-get update sudo apt-get dist-upgrade |
代码: |
gconf-editor |
代码: |
sudo fontconfig-voodoo -f -s zh_CN |
代码: |
sudo apt-get install xfonts-wqy |
代码: |
sudo apt-get install sun-java6-jdk |
代码: |
sudo apt-get install sun-java6-plugin |
代码: |
cd;mkdir tmp;cd tmp wget -c http://download.ubuntu.org.cn/software/lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/ wget -c http://download.ubuntu.org.cn/software/lumaqq_2005_patch_2006.02.02.15.00.zip sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib sudo chown -R root:root /opt/LumaQQ/ sudo chmod -R 755 /opt/LumaQQ/ sudo gedit /usr/share/applications/LumaQQ.desktop |
代码: |
[Desktop Entry] Name=LumaQQ Comment=QQ Client Exec=/opt/LumaQQ/lumaqq Icon=/opt/LumaQQ/QQ.png Terminal=false Type=Application Categories=Application;Network; |
代码: |
sudo apt-get install totem-xine w32codecs libxine-extracodecs mplayer |
代码: |
sudo apt-get install stardict stardict-common sudo apt-get install stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb |
代码: |
sudo mkdir -p /usr/lib/X11/fonts/Type1 sudo apt-get install flashplugin-nonfree |
代码: |
sudo apt-get install d4x azureus amule |
代码: |
sudo apt-get install alsa-oss sudo gedit /etc/asound.conf |
代码: |
pcm.card0 { type hw card 0 } pcm.!default { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1025 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 periods 128 rate 44100 } bindings { 0 0 1 1 } } |
代码: |
sudo gedit /etc/esound/esd.conf |
代码: |
[esd] auto_spawn=1 spawn_options=-terminate -nobeeps -as 2 -d default spawn_wait_ms=100 # default options are used in spawned and non-spawned mode default_options= |
代码: |
sudo apt-get install msttcorefonts gunzip sthei.ttf.gz sudo mkdir -p /usr/share/fonts/cn sudo mv sthei.ttf /usr/share/fonts/cn sudo chown -R root:root /usr/share/fonts/cn/ sudo chmod -R 755 /usr/share/fonts/cn/ sudo fc-cache |
代码: |
sudo gedit /etc/fonts/language-selector.conf |
代码: |
<family>STHeiti</family> |
代码: |
sudo apt-get install ntfs-config |
代码: |
glxinfo|grep "direct rendering" |
代码: |
direct rendering: Yes |
代码: |
sudo gedit /etc/apt/sources.list |
代码: |
deb http://ubuntu.beryl-project.org/ feisty main |
代码: |
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - |
代码: |
sudo apt-get update sudo apt-get dist-upgrade |
代码: |
sudo apt-get install beryl beryl-manager sudo apt-get install emerald-themes |
代码: |
sudo apt-get install nautilus-open-terminal |
代码: |
sudo apt-get install bum |
代码: |
mv splash.xpm.gz /boot/grub/ |
代码: |
splashimage=(hd0,x)/boot/grub/splash.xpm.gz |
代码: |
sudo passwd root |
代码: |
sudo apt-get install rar unrar |
代码: |
sudo apt-get install vim-full |
代码: |
$ sudo vol_id -u /dev/sdaX |
代码: |
sudo gedit /etc/apt/sources.list |
代码: |
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe #也就是edgy的ubuntu-cn的源,你可以添加其他中文镜像的ubuntu-cn的源 |
代码: |
sudo apt-get install w32codecs |
代码: |
sudo apt-get install stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb |