debian安装心得
时间:2006-06-25 来源:luozhenjiang
1、光盘启动以后输入linux26,否则默认为linux 2.4内核;
2、安装软件包时,选择手动安装软件包;
3、安装字符模式下面的中文支持#apt-get install zhcon ;
4、安装kde #apt-get install kdm kde-core kde-i18n-zhcn x-window-system-core,期间需要配置xorg;
5、安装字体 #cp simsun.tty /usr/share/fonts
6、创建local.conf文件#nano /etc/fonts/local.conf 添加一下代码:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<!-- Uncomment below to enable bitmapped fonts -->
<!--
<dir>/usr/X11R6/lib/X11/fonts</dir>
-->
<!-- Uncomment below to enable subpixel rendering -->
<!--
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<match target="font">
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<test name="family" compare="eq">
<string>SimSun</string>
</test>
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="hinting" mode="assign"><bool>false</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
<edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit>
</match>
<match target="font">
<test compare="more_eq" name="pixelsize" qual="any" ><double>10</double></test>
<test compare="less_eq" name="pixelsize" qual="any" ><double>16</double></test>
<test name="family"><string>SimSun</string></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="rh_prefer_bitmaps" mode="assign"><bool>true</bool></edit>
</match>
<!--
<match target="pattern">
<test name="family"><string>Tahoma</string></test>
<edit name="family" mode="append" binding="strong"><string>SimSun</string></edit>
</match>
-->
</fontconfig>
7、编辑fonts.conf 文件 找所有 <family>Bitstream Vera ******</family>的行,在它下面添加 <family>SimSun</family> 运行#fc-cache -fv ; 8、安装输入法 fcitx #apt-get install fcitx; 配置输入法fcitx #sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput"; #chmod +755 /etc/X11/Xsession.d/95xinput ; 9、使声卡发出声音#apt-get install alsa-base alsa-headers alsa-utils 10、安装音频播放器#apt-get install amarok 11、安装视频播放器 #apt-get install kaffine 12、使cpu自动调节频率#apt-get install cpufreqd cpufrequtils
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<!-- Uncomment below to enable bitmapped fonts -->
<!--
<dir>/usr/X11R6/lib/X11/fonts</dir>
-->
<!-- Uncomment below to enable subpixel rendering -->
<!--
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<match target="font">
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<test name="family" compare="eq">
<string>SimSun</string>
</test>
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="hinting" mode="assign"><bool>false</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
<edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit>
</match>
<match target="font">
<test compare="more_eq" name="pixelsize" qual="any" ><double>10</double></test>
<test compare="less_eq" name="pixelsize" qual="any" ><double>16</double></test>
<test name="family"><string>SimSun</string></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="rh_prefer_bitmaps" mode="assign"><bool>true</bool></edit>
</match>
<!--
<match target="pattern">
<test name="family"><string>Tahoma</string></test>
<edit name="family" mode="append" binding="strong"><string>SimSun</string></edit>
</match>
-->
</fontconfig>
7、编辑fonts.conf 文件 找所有 <family>Bitstream Vera ******</family>的行,在它下面添加 <family>SimSun</family> 运行#fc-cache -fv ; 8、安装输入法 fcitx #apt-get install fcitx; 配置输入法fcitx #sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput"; #chmod +755 /etc/X11/Xsession.d/95xinput ; 9、使声卡发出声音#apt-get install alsa-base alsa-headers alsa-utils 10、安装音频播放器#apt-get install amarok 11、安装视频播放器 #apt-get install kaffine 12、使cpu自动调节频率#apt-get install cpufreqd cpufrequtils
相关阅读 更多 +