Linux系统安装中文环境,中文帮助,中文输入法的实现推荐

在工作中和一些同事常常抱怨自己的英文不是很好,阅读一些错误信息和配置文档往往不是随心随手,现在我就将把一些主要的英文文档设置成中文,希望在此过程中对大家有帮助。

1.系统是英文的,现在将英文变为中文

[root@node1 ~]# locale -a | grep -i zh_cn.utf8 –查看系统是否安装中文环境[root@node1 ~]# yum grouplist |grep -i chinese –查看仓库是否有中文包[root@node1 ~]# yum groupinstall Chinese-support –安装中文语言包

2.更改系统语言环境

[root@node1 ~]# echo $LANG –查看当前的语言环境[root@node1 ~]# /etc/init.d/httpd restart –重启任意服务,现在是英文Stopping httpd: [ OK ]Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 2.2.2.27 for ServerName[ OK ][root@node1 ~]# LANG=zh_CN.utf8 –设置中文环境(临时的)[root@node1 ~]# echo $LANG –检查语言环境zh_CN.utf8[root@node1 ~]# /etc/init.d/httpd restart –重启任意服务,变成中文了停止 httpd: [确定]正在启动 httpd:httpd: Could not reliably determine the server’s fully qualified domain name, using 2.2.2.27 for ServerName[确定][root@node1 ~]# vim /etc/sysconfig/i18n –永久生效(修改配置文件)LANG=”zh_CN.utf8″ –修改配置文件

3.下载中文帮助软件并安装测试

[root@node1 cheng]# wget http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz–2014-01-16 16:27:39– http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gzResolving manpages-zh.googlecode.com… 173.194.72.82, 2404:6800:4008:c01::52Connecting to manpages-zh.googlecode.com|173.194.72.82|:80… connected.HTTP request sent, awaiting response… 200 OKLength: 1965336 (1.9M) [application/x-gzip]Saving to: “manpages-zh-1.5.1.tar.gz”100%[========================================================================= ] 1,965,336 400K/s in 4.8s2014-01-16 16:27:44 (400 KB/s) – “manpages-zh-1.5.1.tar.gz” saved [1965336/1965336][root@node1 cheng]# tar xvf manpages-zh-1.5.1.tar.gz –解开软件包[root@node1 cheng]# cd manpages-zh-1.5.1[root@node1 manpages-zh-1.5.1]# ./configure –prefix=/usr/local/zhman –disable-zhtw[root@node1 manpages-zh-1.5.1]# make make install –安装软件[root@node1 manpages-zh-1.5.1]# vim ~/.bash_profilealias cman=’man -M /usr/local/zhman/share/man/zh_CN’ –添加这一行[root@node1 manpages-zh-1.5.1]# source ~/.bash_profile –使配置文件生效[root@node1 manpages-zh-1.5.1]# cman iptables –可以看到中文帮助了

4.在系统中安装中文输入法

(1).用root用户登陆(2).yum install “@Chinese Support” -y(3).exit(4).回到桌面,system- preferences- input method(5).如果没有,先注销一下(6).按照提示添加输入法(7).最后再次注销,登录即可

旅游时最好的习惯:找个舒适的小店,挑张雅致的明信片,

Linux系统安装中文环境,中文帮助,中文输入法的实现推荐

相关文章:

你感兴趣的文章:

标签云: