1、一般安装后的linux系统都是英文的界面,网上查了一下各种说法都有,我只做了如下的配置就好了,下载个中文包,改一下i18n就完事了,并没有那么复杂
下面上图文:
目前是英文的界面
2、下载个中文包,右击打开一个终端,Open Terminal
输入命令:yum -y groupinstall chinese-support
[root@localhost ~]# yum -y groupinstall chinese-support Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.yun-idc.com * base: mirror.bit.edu.cn * extras: mirrors.yun-idc.com * updates: mirror.bit.edu.cn Setting up Group Process Checking for new repos for mirrors Resolving Dependencies --> Running transaction check ---> Package Cluster_Administration-zh-CN.noarch 0:5.8-1.el5.centos set to be updated ---> Package Cluster_Administration-zh-TW.noarch 0:5.8-1.el5.centos set to be updated ---> Package Deployment_Guide-zh-CN.noarch 0:5.8-1.el5.centos set to be updated ---> Package Deployment_Guide-zh-TW.noarch 0:5.8-1.el5.centos set to be updated ---> Package Global_File_System-zh-CN.noarch 0:5.8-1.el5.centos set to be updated ---> Package Global_File_System-zh-TW.noarch 0:5.8-1.el5.centos set to be updated ---> Package Virtualization-zh-CN.noarch 0:5.8-1.el5.centos set to be updated ---> Package Virtualization-zh-TW.noarch 0:5.8-1.el5.centos set to be updated ---> Package fonts-chinese.noarch 0:3.02-12.el5 set to be updated ---> Package lv.i386 0:4.51-8.1 set to be updated ---> Package scim-bridge-gtk.i386 0:0.4.5-11.el5 set to be updated --> Processing Dependency: scim-bridge = 0.4.5-11.el5 for package: scim-bridge-gtk ---> Package scim-chewing.i386 0:0.3.1-11.el5 set to be updated --> Processing Dependency: libscim-gtkutils-1.0.so.8 for package: scim-chewing --> Processing Dependency: libscim-1.0.so.8 for package: scim-chewing --> Processing Dependency: scim for package: scim-chewing --> Processing Dependency: libchewing.so.3 for package: scim-chewing --> Processing Dependency: libscim-1.0.so.8(LIBSCIM_1.0) for package: scim-chewing ---> Package scim-chinese-standard.i386 0:0.0.2-1.el5 set to be updated ---> Package scim-pinyin.i386 0:0.5.91-16.el5 set to be updated ---> Package scim-tables-chinese.i386 0:0.5.6-7 set to be updated --> Processing Dependency: scim-tables = 0.5.6 for package: scim-tables-chinese ---> Package stardict.i386 0:2.4.5-5 set to be updated --> Running transaction check ---> Package libchewing.i386 0:0.3.0-8.el5 set to be updated ---> Package scim.i386 0:1.4.4-44.el5 set to be updated ---> Package scim-bridge.i386 0:0.4.5-11.el5 set to be updated ---> Package scim-libs.i386 0:1.4.4-44.el5 set to be updated ---> Package scim-tables.i386 0:0.5.6-7 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================ Installing: Cluster_Administration-zh-CN noarch 5.8-1.el5.centos base 2.4 M Cluster_Administration-zh-TW noarch 5.8-1.el5.centos base 2.4 M Deployment_Guide-zh-CN noarch 5.8-1.el5.centos base 8.3 M Deployment_Guide-zh-TW noarch 5.8-1.el5.centos base 8.3 M Global_File_System-zh-CN noarch 5.8-1.el5.centos base 415 k Global_File_System-zh-TW noarch 5.8-1.el5.centos base 416 k Virtualization-zh-CN noarch 5.8-1.el5.centos base 6.9 M Virtualization-zh-TW noarch 5.8-1.el5.centos base 6.9 M fonts-chinese noarch 3.02-12.el5 base 24 M lv i386 4.51-8.1 base 423 k scim-bridge-gtk i386 0.4.5-11.el5 base 37 k scim-chewing i386 0.3.1-11.el5 base 62 k scim-chinese-standard i386 0.0.2-1.el5 base 87 k scim-pinyin i386 0.5.91-16.el5 base 2.3 M scim-tables-chinese i386 0.5.6-7 base 6.2 M stardict i386 2.4.5-5 base 833 k Installing for dependencies: libchewing i386 0.3.0-8.el5 base 2.8 M scim i386 1.4.4-44.el5 base 521 k scim-bridge i386 0.4.5-11.el5 base 109 k scim-libs i386 1.4.4-44.el5 base 456 k scim-tables i386 0.5.6-7 base 346 k Transaction Summary ============================================================================ Install 21 Package(s) Upgrade 0 Package(s) Total download size: 74 M Downloading Packages: (1/21): scim-bridge-gtk-0.4.5-11.el5.i386.rpm | 37 kB 00:00 (2/21): scim-chewing-0.3.1-11.el5.i386.rpm | 62 kB 00:00 (3/21): scim-chinese-standard-0.0.2-1.el5.i386.rpm | 87 kB 00:00 (4/21): scim-bridge-0.4.5-11.el5.i386.rpm | 109 kB 00:00 (5/21): scim-tables-0.5.6-7.i386.rpm | 346 kB 00:00 (6/21): Global_File_System-zh-CN-5.8-1.el5.centos.no | 415 kB 00:00 (7/21): Global_File_System-zh-TW-5.8-1.el5.centos.no | 416 kB 00:00 (8/21): lv-4.51-8.1.i386.rpm | 423 kB 00:00 (9/21): scim-libs-1.4.4-44.el5.i386.rpm | 456 kB 00:00 (10/21): scim-1.4.4-44.el5.i386.rpm | 521 kB 00:00 (11/21): stardict-2.4.5-5.i386.rpm | 833 kB 00:00 (12/21): scim-pinyin-0.5.91-16.el5.i386.rpm | 2.3 MB 00:01 (13/21): Cluster_Administration-zh-CN-5.8-1.el5.cent | 2.4 MB 00:01 (14/21): Cluster_Administration-zh-TW-5.8-1.el5.cent | 2.4 MB 00:01 (15/21): libchewing-0.3.0-8.el5.i386.rpm | 2.8 MB 00:01 (16/21): scim-tables-chinese-0.5.6-7.i386.rpm | 6.2 MB 00:04 (17/21): Virtualization-zh-CN-5.8-1.el5.centos.noarc | 6.9 MB 00:04 (18/21): Virtualization-zh-TW-5.8-1.el5.centos.noarc | 6.9 MB 00:04 (19/21): Deployment_Guide-zh-CN-5.8-1.el5.centos.noa | 8.3 MB 00:09 (20/21): Deployment_Guide-zh-TW-5.8-1.el5.centos.noa | 8.3 MB 00:05 (21/21): fonts-chinese-3.02-12.el5.noarch.rpm | 24 MB 00:20 ---------------------------------------------------------------------------- Total 1.2 MB/s | 74 MB 01:01 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897 base/gpgkey | 1.5 kB 00:00 Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : Global_File_System-zh-TW 1/21 Installing : Cluster_Administration-zh-CN 2/21 Installing : Cluster_Administration-zh-TW 3/21 Installing : Global_File_System-zh-CN 4/21 Installing : Virtualization-zh-TW 5/21 Installing : Virtualization-zh-CN 6/21 Installing : Deployment_Guide-zh-TW 7/21 Installing : fonts-chinese 8/21 Installing : Deployment_Guide-zh-CN 9/21 Installing : scim-libs 10/21 Installing : scim 11/21 Installing : scim-tables 12/21 Installing : scim-bridge 13/21 Installing : libchewing 14/21 Installing : scim-chinese-standard 15/21 Installing : scim-bridge-gtk 16/21 Installing : scim-chewing 17/21 Installing : stardict 18/21 Installing : scim-pinyin 19/21 Installing : scim-tables-chinese 20/21 Installing : lv 21/21 Installed: Cluster_Administration-zh-CN.noarch 0:5.8-1.el5.centos Cluster_Administration-zh-TW.noarch 0:5.8-1.el5.centos Deployment_Guide-zh-CN.noarch 0:5.8-1.el5.centos Deployment_Guide-zh-TW.noarch 0:5.8-1.el5.centos Global_File_System-zh-CN.noarch 0:5.8-1.el5.centos Global_File_System-zh-TW.noarch 0:5.8-1.el5.centos Virtualization-zh-CN.noarch 0:5.8-1.el5.centos Virtualization-zh-TW.noarch 0:5.8-1.el5.centos fonts-chinese.noarch 0:3.02-12.el5 lv.i386 0:4.51-8.1 scim-bridge-gtk.i386 0:0.4.5-11.el5 scim-chewing.i386 0:0.3.1-11.el5 scim-chinese-standard.i386 0:0.0.2-1.el5 scim-pinyin.i386 0:0.5.91-16.el5 scim-tables-chinese.i386 0:0.5.6-7 stardict.i386 0:2.4.5-5 Dependency Installed: libchewing.i386 0:0.3.0-8.el5 scim.i386 0:1.4.4-44.el5 scim-bridge.i386 0:0.4.5-11.el5 scim-libs.i386 0:1.4.4-44.el5 scim-tables.i386 0:0.5.6-7 Complete! [root@localhost ~]#
3、修改配置文件i18n
输入命令vi /etc/sysconfig/i18n
[root@localhost ~]# vi /etc/sysconfig/i18n ,然后回车
把其中的内容删掉,输入LNAG="zh_CN.UTF-8"
:wq!保存退出。
输入reboot命令,重启系统。
[root@localhost ~]# reboot
4、完成,重启后看效果!
注:我用的CentOS的系统,不保证每个系统这样的配置都可以,可以试试看。