linux配置中文环境,如何在Linux系统下安装中文环境教程

玩蛇网推荐图文教程:python 列表

想要在Linux系统下安装中文环境还是需要经过一些改动的。这需要做以下几项改变。

什么样的人需要在工作中Linux系统下安装中文环境呢?常常是英文不是很好,有阅读障碍,需要看中文帮助的。

玩蛇网python之家搜集了一关于如何在Linux系统下安装中文环境教程,希望能帮助到有需要的朋友们。

Linux将英文变为中文的方法:

[root@node1 ~]# locale -a | grep -i zh_cn.utf8

--查看系统是否安装中文环境

[root@node1 ~]# yum grouplist |grep -i chinese

--查看仓库是否有中文包

root@node1 ~]# yum groupinstall Chinese-support

--安装中文语言包

Linux更改系统语言环境教程

[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"            --修改配置文件

如何在Linux系统下安装中文环境教程:下载中文帮助软件并安装测试

[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.gz

Resolving manpages-zh.googlecode.com... 173.194.72.82, 2404:6800:4008:c01::52

Connecting to manpages-zh.googlecode.com|173.194.72.82|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1965336 (1.9M) [application/x-gzip]

Saving to: “manpages-zh-1.5.1.tar.gz”

100%[=========================================================================>] 1,965,336    400K/s  in 4.8s

2014-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_profile

alias 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  --可以看到中文帮助了

玩蛇网iplaypy.com 教你Linux如何在系统中安装中文输入法的简明教程:

首先用root权限用户登陆

yum install "@Chinese Support"

exit

这里需要回到桌面,system->preferences->input method

如果没有,先注销一下

按照提示添加输入法。最后再次注销,重新登录一下就可以了。

玩蛇网文章,转载请注明出处和文章网址:https://www.iplaypy.com/linux/l7029.html

相关文章 Recommend

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值