通过yum安装中文支持语言包组,首先系统要支持中文才行
[root@zhangshibo zhang]# yum groupinstall chinese-support
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.btte.net
* base: mirror.neu.edu.cn
* extras: mirrors.btte.net
* updates: mirror.neu.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 up
dated
---> Package Cluster_Administration-zh-TW.noarch 0:5.8-1.el5.centos set to be up
dated
---> 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 update
d
---> Package Global_File_System-zh-TW.noarch 0:5.8-1.el5.centos set to be update
d
---> 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.x86_64 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-g
tk
---> Package scim-bridge-gtk.x86_64 0:0.4.5-11.el5 set to be updated
---> Package scim-chewing.x86_64 0:0.3.1-11.el5 set to be updated
--> Processing Dependency: scim for package: scim-chewing
--> Processing Dependency: libscim-1.0.so.8(LIBSCIM_1.0)(64bit) for package: sci
m-chewing
--> Processing Dependency: libscim-1.0.so.8()(64bit) for package: scim-chewing
--> Processing Dependency: libscim-gtkutils-1.0.so.8()(64bit) for package: scim-
chewing
--> Processing Dependency: libchewing.so.3()(64bit) for package: scim-chewing
---> Package scim-chinese-standard.x86_64 0:0.0.2-1.el5 set to be updated
---> Package scim-pinyin.x86_64 0:0.5.91-16.el5 set to be updated
---> Package scim-tables-chinese.x86_64 0:0.5.6-7 set to be updated
--> Processing Dependency: scim-tables = 0.5.6 for package: scim-tables-chinese
---> Package stardict.x86_64 0:2.4.5-5 set to be updated
--> Running transaction check
---> Package libchewing.x86_64 0:0.3.0-8.el5 set to be updated
---> Package scim.x86_64 0:1.4.4-44.el5 set to be updated
---> Package scim-bridge.x86_64 0:0.4.5-11.el5 set to be updated
---> Package scim-libs.x86_64 0:1.4.4-44.el5 set to be updated
---> Package scim-tables.x86_64 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 x86_64 4.51-8.1 base 425 k
scim-bridge-gtk i386 0.4.5-11.el5 base 37 k
scim-bridge-gtk x86_64 0.4.5-11.el5 base 38 k
scim-chewing x86_64 0.3.1-11.el5 base 63 k
scim-chinese-standard x86_64 0.0.2-1.el5 base 90 k
scim-pinyin x86_64 0.5.91-16.el5 base 2.3 M
scim-tables-chinese x86_64 0.5.6-7 base 6.2 M
stardict x86_64 2.4.5-5 base 835 k
Installing for dependencies:
libchewing x86_64 0.3.0-8.el5 base 2.8 M
scim x86_64 1.4.4-44.el5 base 524 k
scim-bridge x86_64 0.4.5-11.el5 base 111 k
scim-libs x86_64 1.4.4-44.el5 base 466 k
scim-tables x86_64 0.5.6-7 base 333 k
Transaction Summary
================================================================================
Install 22 Package(s)
Upgrade 0 Package(s)
Total download size: 74 M
Is this ok [y/N]: y
Downloading Packages:
(1/22): scim-bridge-gtk-0.4.5-11.el5.i386.rpm | 37 kB 00:00
(2/22): scim-bridge-gtk-0.4.5-11.el5.x86_64.rpm | 38 kB 00:00
(3/22): scim-chewing-0.3.1-11.el5.x86_64.rpm | 63 kB 00:00
(4/22): scim-chinese-standard-0.0.2-1.el5.x86_64.rpm | 90 kB 00:00
(5/22): scim-bridge-0.4.5-11.el5.x86_64.rpm | 111 kB 00:00
(6/22): scim-tables-0.5.6-7.x86_64.rpm | 333 kB 00:00
(7/22): Global_File_System-zh-CN-5.8-1.el5.centos.noarch | 415 kB 00:00
(8/22): Global_File_System-zh-TW-5.8-1.el5.centos.noarch | 416 kB 00:00
(9/22): lv-4.51-8.1.x86_64.rpm | 425 kB 00:00
(10/22): scim-libs-1.4.4-44.el5.x86_64.rpm | 466 kB 00:00
(11/22): scim-1.4.4-44.el5.x86_64.rpm | 524 kB 00:00
(12/22): stardict-2.4.5-5.x86_64.rpm | 835 kB 00:00
(13/22): scim-pinyin-0.5.91-16.el5.x86_64.rpm | 2.3 MB 00:00
(14/22): Cluster_Administration-zh-CN-5.8-1.el5.centos.n | 2.4 MB 00:00
(15/22): Cluster_Administration-zh-TW-5.8-1.el5.centos.n | 2.4 MB 00:00
(16/22): libchewing-0.3.0-8.el5.x86_64.rpm | 2.8 MB 00:00
(17/22): scim-tables-chinese-0.5.6-7.x86_64.rpm | 6.2 MB 00:00
(18/22): Virtualization-zh-CN-5.8-1.el5.centos.noarch.rp | 6.9 MB 00:00
(19/22): Virtualization-zh-TW-5.8-1.el5.centos.noarch.rp | 6.9 MB 00:00
(20/22): Deployment_Guide-zh-CN-5.8-1.el5.centos.noarch. | 8.3 MB 00:00
(21/22): Deployment_Guide-zh-TW-5.8-1.el5.centos.noarch. | 8.3 MB 00:00
(22/22): fonts-chinese-3.02-12.el5.noarch.rpm | 24 MB 00:01
--------------------------------------------------------------------------------
Total 13 MB/s | 74 MB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : scim-libs 1/22
Installing : scim 2/22
Installing : scim-bridge 3/22
Installing : scim-tables 4/22
Installing : libchewing 5/22
Installing : scim-bridge-gtk 6/22
Installing : Virtualization-zh-TW 7/22
Installing : stardict 8/22
Installing : Global_File_System-zh-TW 9/22
Installing : fonts-chinese 10/22
Installing : Deployment_Guide-zh-TW 11/22
Installing : Cluster_Administration-zh-TW 12/22
Installing : scim-chinese-standard 13/22
Installing : Deployment_Guide-zh-CN 14/22
Installing : scim-chewing 15/22
Installing : scim-pinyin 16/22
Installing : scim-tables-chinese 17/22
Installing : Cluster_Administration-zh-CN 18/22
Installing : scim-bridge-gtk 19/22
Installing : Virtualization-zh-CN 20/22
Installing : lv 21/22
Installing : Global_File_System-zh-CN 22/22
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.x86_64 0:4.51-8.1
scim-bridge-gtk.i386 0:0.4.5-11.el5
scim-bridge-gtk.x86_64 0:0.4.5-11.el5
scim-chewing.x86_64 0:0.3.1-11.el5
scim-chinese-standard.x86_64 0:0.0.2-1.el5
scim-pinyin.x86_64 0:0.5.91-16.el5
scim-tables-chinese.x86_64 0:0.5.6-7
stardict.x86_64 0:2.4.5-5
Dependency Installed:
libchewing.x86_64 0:0.3.0-8.el5 scim.x86_64 0:1.4.4-44.el5
scim-bridge.x86_64 0:0.4.5-11.el5 scim-libs.x86_64 0:1.4.4-44.el5
scim-tables.x86_64 0:0.5.6-7
Complete!
[root@zhangshibo zhang]#
安装中文语言包后,firefox浏览网页乱码问题即可解决。