好,这样在系统启动时就可以自动打开ATA66了,虽然直接将hdparm的命令加入也可以,但不够灵活,脚本修改方便一些。
(四)字体系统优化
这一步危险性很大,如果经验不足就很容易犯错,造成无法进入图形界面的后果!在实验前请记得备份相关文件。不推荐刚装上linux的朋友去实验。而且这里的具体步骤太多,我只说关键的。
1.安装simsun字体:请下载这个:http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=mydown&did=256
然后init 3,进入文字界面,rpm命令安装:rpm -ivh --force --nodeps fans*.rpm,然后将simsun.ttf复制到/usr/local/zhfonts。如果您只需要上网时正常显示字体,而且是对linux系统比较熟悉。请到此为止。后面的步骤我要简单说了,关于美化的东西,可以参考linuxsir上的相关文章,那里会有更详尽的说明。
2.安装xft2:ftp://www.linuxfans.org/upload/Rh9-Xft2/setfont-xft/RedHat/9.0/SRPMS下载所有的包,再下ftp://www.linuxfans.org/upload/Rh9-Xft2/setfont-xft/font.conf,更名为fonts.conf,将其中一行:
<dir>/usr/local/share/fonts</dir>
改成
<dir>/usr/share/fonts</dir>
以识别系统字体。
编译下载的源代码包,rpmbild --rebuild --nodeps *.src.rpm,编译后的rpm在/usr/src/redhat/RPMS/i386中。安装,复制那个下载的fonts.conf到/etc/fonts中代替原文件,重启X后生效。
3.下载PCF中文字体:下载:http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=mydown&did=463
新建目录/usr/fonts/pcf,将文件解压复制到文件夹中。
4.修改/etc/XF86Config:请先记得备份!
修改部分:
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.