解决VMWare中, RedHat 5 中文问题

1.进入终端用命令:vi /etc/sysconfig/i18n

  修改内容为

  LANG="zh_CN.UTF-8"

  SYSFONT="lat-sun16"

2.挂载ISO:mount /dev/cdrom /mnt/cdrom (先要创建/mnt/cdrom:mkdir /mnt/cdrom)

3.安装中文字体包

  rpm -ivh /mnt/cdrom/Server/fonts-chinese-3.02-12.el5.noarch.rpm

  rpm -ivh /mnt/cdrom/Server/fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm

  umount /dev/cdrom

4.修改/etc/fonts/fonts.conf

  在<fontconfig>节点下加入<dir>/usr/share/fonts/chinese</dir>

5.注销登录即可

 

安装中文输入法

rpm -ivh /mnt/cdrom/Server/scim-libs-1.4.4-41.el5.i386.rpm
rpm -ivh /mnt/cdrom/Server/scim-1.4.4-41.el5.i386.rpm
rpm -ivh /mnt/cdrom/Server/scim-chinese-standard-0.0.2-1.el5.i386.rpm
rpm -ivh /mnt/cdrom/Server/scim-tables-0.5.6-7.i386.rpm
rpm -ivh /mnt/cdrom/Server/scim-tables-chinese-0.5.6-7.i386.rpm
rpm -ivh /mnt/cdrom/Server/scim-pinyin-0.5.91-16.el5.i386.rpm

posted @ 2013-04-09 22:41  胡建洲  阅读(292)  评论(0编辑  收藏  举报