Debian Lenny英文版安装后配置
一、安装及安装后shell下离线安装下载DVD版本的第一张光盘,安装时选择英文版本,不选择任何软件组合,安装之后进入shell,以root用户登陆后进行以下操作。^-F3w*RzC5f4m
1. 配置locales8e:UW%hPO5S3X1x
#dpkg-reconfigure locales
选择:
en_US.UTF-8
zh_CN.GB23120g ol-p2S
zh_CN.UTF-8
zh_CN.GBKR6oj5R}!g+U
zh_TW.BIG5
zh_TW.UTF-8z R \5Zg
默认选择 en_US.UTF-8"M*cP:t {8C9z P%v
2. 将用户加入到sudoers列表中
#apt-get install sudo
#chmod +w /etc/sudoers
#vim /etc/sudoersW1~r Z;W
添加一行:username ALL=(ALL) ALL6D7@Y&ui{
其中username是你的用户名,保存9v+t.^0W/\4~7{vb;`
#chmod 0440 /etc/sudoers
3. 利用zhcon实现Console下中文支持 qs)D~6YzC.g
#apt-get install zhcon
#vim /boot/grub/menu.lst #在kernel项后添加 vga=791,即:1024*768,另:788=800*600
#vim /etc/zhcon.conf #注释掉相关输入法之前的“ime=...”部分$F2SV"hK(Y3e A:JB
#zhcon #命令和目录还不能正常显示输入中文,不过可以显示中文文档和在vi中输入中文`w5b(D2h.V.N3C.^C
#zhcon --utf8 #正常显示目录,并可以在命令中使用中文
4. 安装X窗口
#apt-get install xorgZ6MK Ci Xr
9F2zk*E2Hh]'NQ?
5. 安装gnome
#apt-get install gnome-core gdm
#y\Ru8n&}
6. 安装gnome主题、图标、背景] UZ%W^ ~!gz
#apt-get install gnome-themes gnome-icon-theme-dlg-neu gnome-backgrounds
7. 让alsa把你的声卡驱动起来,I;U~$q`i+?K
#apt-get install alsa-base alsa-utils alsa-ossP/\Zb#w;S
#alsaconf #一路回车:tl{!d"]gx
+T5q(F m JRNE)O*`
8. 安装gnome下的声音支持。
#apt-get install gnome-audio esound #esound是gnome下的软件混音器8`v&aZ-~lQ$@
0|v-tQ|
9. 其他工具6v_0{sB`%?9z
#apt-get install gnome-system-tools gconf-editor nautilus-open-terminal
gnome-system-tools 服务、网络等系统工具
gconf-editor 配置编辑器
nautilus-open-terminal 在右键菜单中加入终端
10. 安装OpenOffice.org
#apt-get install openoffice.org-writer openoffice.org-calc openoffice.org-math openoffice.org-impress openoffice.org-gtk openoffice.org-help-en-us
#apt-get install openoffice.org-l10n-zh-cn openoffice.org-help-zh-cn #中文界面和中文帮助
DGr1mJUU
11. 编程环境支持
#apt-get install build-essential libgtk2.0-dev freeglut3-dev libtool autoconf automake subversion"}$h'aA/So8d
12. 安装中文字体
#apt-get install xfonts-wqy ttf-arphic-uming ttf-freefont6Z7X*a"}S'[L
13. 压缩与解压缩/eP!l/\P/|
#apt-get install file-roller p7zip-full cabextract
14. 安装视频播放器
#apt-get install mplayerBS1{aS3pdM
-v+O i9H/b%?2i*`s
15. PDF阅读-{C)E`0`UXq
#apt-get install evince
16. 图像处理s0b[-xy"f
#apt-get install gimp-Y*{9A?:IU%n
17. 网络通讯
#apt-get install pidgin
二、重启后登陆到图形界面,联网操作UZZ(uPu I'o B
1. 安装中文输入法
#apt-get install scim scim-pinyin scim-tables-zh im-switch
$im-switch -z en_US -s scim #英文系统下使用SCIM: