Rhel5 ultimate solution for installing VM tool and Chinese garbled characters

Source: Internet
Author: User

Note: From: http://redking.blog.51cto.com/27212/109544

The main function of tool is to allow users to seamlessly switch between virtual machines and real systems. This function is very convenient,Of course, VMware Tools mainly implements file sharing between Linux and Windows..

1. Linux with VM tool mounted. double-click the optical drive, and load Linux in the use ISO image option. ISO, generally Linux. ISO is where you install VMware. my files in D: \ Program \ VMware Workstation. 650) This. width = 650; "Height = 303 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> 2. install linux. ISO Use RPM to install the package. A Red Hat package with the RPM extension. Brief Introduction to the meaning of the package name
Vmwaretools is the package name
6.0.3 is the package version.
80004 is the revision number
I386 is the architecture
Rpm is the package management software of RedHat.
650) This. width = 650; "Height = 148 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> 3. After ISO is installed, a VMWARE-CONFIG-TOOLS.PL is generated and we run this file. 650) This. width = 650; "Height = 205 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> the following two situations are displayed. Separate analysis: 650) This. width = 650; "Height = 281 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> If this screen appears, it proves that you are lucky. It is not far from the installation. in the following tips, you can press Enter. 650) This. width = 650; "Height = 265 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> 650) This. width = 650; "Height = 281 onsubmit onchange
OnUnload onselect onreset. Click = 'window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC )"? 454? = ""> In this case, the installation is successful. in the second case, I am not lucky. [PS: I am lucky, Hoho. The installation is successful. I have not tested the second method. Let's take a look at how brother Feng solved the problem.] When running the VMWARE-CONFIG-TOOL.PL to see the following figure, you have to do some troublesome work 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. click = 'window. open ("http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> when you see this prompt screen, the dependency between the tool installation and the C language cannot be found. this problem is quite troublesome, but it can be solved. check whether GCC gcc-C ++ kernel-devel is installed. If not, use Yum to install it. check whether their kernel versions are consistent # rpm-Qa | grep kernel 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. click = 'window. open ("http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> Please note that if the problem persists, you can install the kernel-xen-devel package ~~~After meeting the above, start from the new, in the running vmware-config-tool.pl can be successful. the resolution is too large. By default, 6th 1152*900 are selected. You can reset the resolution in system-management-display. I set 800*600, I think this is quite acceptable. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> OK, so that you do not need to press CTRL + ALT to switch the mouse over the VM and your XP. Unable to install the video solution for vmware-tool ~~~ VMware Tools primarily implements file sharing between Linux and Windows. How can this problem be achieved? OK.We will use the VMware Tools file sharing feature to copy our Garfield movie in XP to rhel5, Hoho, and set the movie folder to share. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> click VM ----> settings650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> select shared folders in options, set the status to always enabled, and then select add.650) This. width = 650; "onsubmit onchange onUnload onselect onreset. click = 'window. open ("http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> next650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> Find the movie shared folder in XP. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> enable this share and click Finish. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> OK. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> in this way, all the Shared Folders selected in XP are located in /Mnt/HGFSFolder. Run LL/mnt/HGFS/movie to see our movie Garfield, hoho650) This. width = 650; "onsubmit onchange onUnload onselect onreset. click = 'window. open ("http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> inverted ~~~, Chinese characters are garbled, because when rhel5.1 is installed in English, Chinese characters are not installed. OK, let's solve this problem. View the user's language information: LocaleIt can tell the current system language. Even rhel5 is en_US.UTF-8650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)">

Need to view system support for all languages: locale-a650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> let's use lang = cn_cn.utf8 to modify the Lang variable ~~~, Useless, no effect 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com
Viewpic. php? Refimg = "+ this. SRC)"> The system supports zh_cn.utf8. It seems that we have not installed any packages. Mount the rhel5.1 CD to Linux. First, create a cdrom directory under/mnt: mkdir/mnt/CDROM to display all the directories under rhel5.1: ls-L/mnt/CDROM | all package files of grep Dr are in the server directory of the rhel5.1 CD. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> let's see the RPM package for fonts in the Server Directory: ls-L/mnt/CDROM/Server | grep fontsok, which means the following two packages are missing: -R-XR-x 1 Root 25359369 fonts-chinese-3.02-12.el5.noarch.rpm-r-xr-xr-x 1 Root 916025 fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm650) This. width = 650; "onsubmit onchange onUnload onselect onreset. click = 'window. open ("http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> we installed the two packages: rpm-IVH fonts-chinese-3.02-12.el5.noarch.rpm
Rpm-IVH fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)"> let's test it by date first. OK, normal. 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> LL/mnt/HGFS/movie: Show subtitles in our movie Garfield, Garfield's Carnival DVD (US 2008. rmvb, OK, and displayed normally. Hoho650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg ="
+ This. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg = "+ this. SRC)">
PS: the above method test only install fonts-chinese-3.02-12.el5.noarch.rpm package can also be normal display zh_cn.utf8 encoding Chinese.

Er! Let's take this issue further. Now our RHEL supports zh_cn.utf8 encoding, but other codes such as zh_cn.gb2312 and GBK are still garbled. For example
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
Even the movies are garbled.
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
This problem has plagued me for two or three days! Some netizens say that gb2312 is a two-digit code and utf8 is a three-digit code. garbled characters are normal and sweaty!
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
I don't believe it. By default, I can display various Chinese Characters in simplified Chinese during installation, but the garbled characters are displayed after I install rhel5.1 in English, the locale-a display also supports various Chinese encoding. Now rhel5.1 supports various Chinese encoding, which should be a problem in configuration. We will always find a solution.

OK. Let's solve this problem thoroughly.
Run Vim/etc/sysconfig/i18n first.
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
Modify the first line: lang = "en_US.UTF-8" to Lang = "zh_cn.gb2312" and save and exit.
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
Run source/etc/profile
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
After the execution is complete, log out. When I log on again, I find that the interface is changed to Chinese. The Locale output system is currently in the zh_cn.gb2312 encoding format. In the date test, the display is normal.
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">
Other Simplified Chinese codes are displayed normally.
650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) ">

650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP: blog.51cto.com viewpic. php? Refimg ="
+ This. SRC) "> ###################################### ##########################
PS: the answer to the problem that the redfly brothers on the 7-10 floor cannot open the/MISC/CD directory is the same as opening the terminal on the graphic interface. It doesn't matter. Please refer to Haha ~ 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP:
Blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> load Linux. ISO settings, for example, because I cannot see your specific settings, and your problem is not clearly described, I guess it may be caused by the absence of a check before the configuration status of your optical drive connected, it cannot take effect immediately after loading. Please check it ~ 650) This. width = 650; "onsubmit onchange onUnload onselect onreset. Click = 'window. Open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC) 'HTTP:
Blog.51cto.com viewpic. php? Refimg = "+ this. SRC) "> ###################################### #####################

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.