rhel6添加中文支持2011-12-1311:20:07|分类:linux|举报|字号订阅环境:windows732bit+vmware7+rhel6操作:因为在虚拟机里安装rhel6时没有选上中文支持,现在来加一下:(安装过程截图在相册里rhel6install下=1&aid=232798088&p=1)[root@RHEL6A~]#mount/dev/cdrom/media/cdrommount:blockdevice/dev/sr0iswrite-protected,mountingread-only[root@RHEL6A~]#cd/media/cdrom[root@RHEL6Acdrom]#yumgrouplist|grep'Chinese'ThissystemisnotregisteredwithRHN.RHNsupportwillbedisabled.ChineseSupport[root@RHEL6Acdrom]#yuminstall@ChineseSupportLoadedplugins:refresh-packagekit,rhnpluginThissystemisnotregisteredwithRHN.RHNsupportwillbedisabled.SettingupInstallProcessPackagecjkuni-uming-fonts-0.2.20080216.1-34.el6.noarchalreadyinstalledandlatestversionPackagewqy-zenhei-fonts-0.9.45-3.el6.noarchalreadyinstalledandlatestversionPackageibus-chewing-1.3.5.20100714-1.el6.i686alreadyinstalledandlatestversionPackageibus-pinyin-1.3.8-1.el6.i686alreadyinstalledandlatestversionResolvingDependencies--Runningtransactioncheck---PackageRed_Hat_Enterprise_Linux-Release_Notes-6-zh-CN.noarch0:1-21.el6settobeupdated---PackageRed_Hat_Enterprise_Linux-Release_Notes-6-zh-TW.noarch0:1-21.el6settobeupdated---Packagecjkuni-ukai-fonts.noarch0:0.2.20080216.1-34.el6settobeupdated---Packageeclipse-nls-zh.i6860:3.5.0.v20090620043401-4.el6settobeupdated--ProcessingDependency:eclipse-nls=3.5.0.v20090620043401-4.el6forpackage:eclipse-nls-zh-3.5.0.v20090620043401-4.el6.i686---Packageeclipse-nls-zh_TW.i6860:3.5.0.v20090620043401-4.el6settobeupdated---Packageibus-table-cangjie.noarch0:1.2.0.20100210-1.el6settobeupdated---Packageibus-table-erbi.noarch0:1.2.0.20090901-6.el6settobeupdated---Packageibus-table-wubi.noarch0:1.2.0.20090715-8.el6settobeupdated--Runningtransactioncheck---Packageeclipse-nls.i6860:3.5.0.v20090620043401-4.el6settobeupdated--FinishedDependencyResolutionDependenciesResolved===================================================================================================================================================================================PackageArchVersionRepositorySize===================================================================================================================================================================================Installing:Red_Hat_Enterprise_Linux-Release_Notes-6-zh-CNnoarch1-21.el6InstallMedia1.5MRed_Hat_Enterprise_Linux-Release_Notes-6-zh-TWnoarch1-21.el6InstallMedia1.5Mcjkuni-ukai-fontsnoarch0.2.20080216.1-34.el6InstallMedia9.4Meclipse-nls-zhi6863.5.0.v20090620043401-4.el6InstallMedia2.5Meclipse-nls-zh_TWi6863.5.0.v20090620043401-4.el6InstallMedia2.2Mibus-table-cangjienoarch1.2.0.20100210-1.el6InstallMedia4.9Mibus-table-erbinoarch1.2.0.20090901-6.el6InstallMedia2.0Mibus-table-wubinoarch1.2.0.20090715-8.el6InstallMedia2.0MInstallingfordependencies:eclipse-nlsi6863.5.0.v20090620043401-4.el6InstallMedia6.0kTransactionSummary===================================================================================================================================================================================Install9Package(s)Upgrade0Package(s)Totaldownloadsize:26MInstalledsize:62MIsthisok[y/N]:yDownloadingPackages:ErrorDownloadingPackages:eclipse-nls-zh-3.5.0.v20090620043401-4.el6.i686:failure:Packages/eclipse-nls-zh-3.5.0.v20090620043401-4.el6.i686.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.cjkuni-ukai-fonts-0.2.20080216.1-34.el6.noarch:failure:Packages/cjkuni-ukai-fonts-0.2.20080216.1-34.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.ibus-table-wubi-1.2.0.20090715-8.el6.noarch:failure:Packages/ibus-table-wubi-1.2.0.20090715-8.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.eclipse-nls-zh_TW-3.5.0.v20090620043401-4.el6.i686:failure:Packages/eclipse-nls-zh_TW-3.5.0.v20090620043401-4.el6.i686.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.ibus-table-erbi-1.2.0.20090901-6.el6.noarch:failure:Packages/ibus-table-erbi-1.2.0.20090901-6.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.Red_Hat_Enterprise_Linux-Release_Notes-6-zh-CN-1-21.el6.noarch:failure:Packages/Red_Hat_Enterprise_Linux-Release_Notes-6-zh-CN-1-21.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.ibus-table-cangjie-1.2.0.20100210-1.el6.noarch:failure:Packages/ibus-table-cangjie-1.2.0.20100210-1.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.eclipse-nls-3.5.0.v20090620043401-4.el6.i686:failure:Packages/eclipse-nls-3.5.0.v20090620043401-4.el6.i686.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.Red_Hat_Enterprise_Linux-Release_Notes-6-zh-TW-1-21.el6.noarch:failure:Packages/Red_Hat_Enterprise_Linux-Release_Notes-6-zh-TW-1-21.el6.noarch.rpmfromInstallMedia:[Errno256]Nomoremirrorstotry.本来这里配置一下yum就可以了的,结果没仔细看做了下面其它操作了:[root@RHEL6Acdrom]#vim/etc/yum.repos.d/dvd.repo[root@RHEL6Acdrom]#cat/etc/yum.repos.d/dvd.repo[InstDVD]name=installdvdbaseurl=file:///media/cdrom/Serverenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release配置好这里一下就搞定了的,重新yuminstall@ChineseSupport就行了[root@RHEL6Acdrom]#yuminstall@Chin