1、把普通用户xyz添加进/etc/sudoers文件,使其可用sudo命令
chmod u+w /etc/sudoers
vi /etc/sudoers
#在root ALL=(ALL) ALL下面添加
xyz ALL=(ALL) ALL #或 xyz ALL=(ALL) NOPASSWD: ALL
#保存,退出
chmod 0440 /etc/visudoers
2、安装VMware-tools,设置与物理机文件共享
3、在/etc/apt/sources.list中添加更新源
4、sudo aptitude update #更新可用软件包列表
5、sudo aptitude safe-upgrade #升级已安装软件包
6、配置locales,#dpke-reconfigure locales 打开了配置界面,但不知按哪个键选定?
7、安装中文字体,xfonts-wqy 已安装,后又另自己安装了ttf-arphic-uming,不知道系统用的是哪个?很有可能是ttf-arphic-uming,重启系统后,字体从楷体变为了宋体,汉英显示都较清楚,但太密,尤其是英文显示。
6与7可参见
http://wiki.debian.org.hk/w/Make_Debian_support_Chinese_and_other_languages
后来又删除了ttf-arphic-uming,安装了ttf-wqy-zenhei,但仍是楷体。?
按照 http://freeordie.blog.sohu.com/81774637.html中,
/etc/X11/xorg.conf:这个X的基本配置文件,所以字体自然也是其中的一项了。在Section "File"字段,添加一行FontPath "PathToNewFont"就OK了
结果,X不能启动。改了后,startx,X重新启动了。
又按照 /etc/fonts/fonts.conf:这个是,怎么说,是应用程序包括Qt等的字体配置文件,找到类似<dir>/usr/share/fonts</dir>这样的行,添加一行<dir>/Path/to/new/font</dir>就OK了。要想它立即生效,调用fc-cache -f 命令使之生效,在比如kwrite的配置中就可以找到新添加的字体了。也可以使用fc-list,在其输出中可以找到新添加的字体。
也未起作用。
8、安装中文输入法 fcitx,可参见
http://www.linux-wiki.cn/index.php/Debian%E4%B8%ADfcitx%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95
系统中已安装fcitx与im-swicth。重启后,ctrl+空格即可调用。
9、安装编辑器 xemacs21,从实验室电脑考配置文件
10、安装fvwm
sudo aptitude install menu fvwm fvwm-icons xloadimage
从实验室电脑拷配置文件,注意使路径匹配
11、安装rxvt-unicode,用urxvt启动
sudo aptitude install rxvt-unicode
12、配置网络/etc/hosts,从实验室电脑拷配置文件
13、安装编程工具 sudo aptitude install make autotools-dev gcc gdb
14、安装xpdf
sudo aptitude install xpdf xpdf-chinese-simplified
标题栏和索引栏有乱码
下载xpdf-chinese-simplified.tar.gz,解压,按照README把add-to-spdfrc中内容加到/etc/xpdf/xpdfrc,不起作用。
又在/etc/X11/app-defaults/下面touch一个Xpdf文件,内容如下:
Xpdf*.fontList:
-*-helvetica-medium-r-normal--12-*-*-*-p-*-iso8859-1;-ms-simhei-medium-r-normal--12-0-0-0-c-0-gb2312.1980-0:
修改/etc/xpdf/xpdfrc-chinese-simplified,加入下句:
displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/wqy/wqy-zenhei.ttf
看pdf中正文变为正黑字体,但标题栏和索引栏有乱码。