RedHatEnterpriseLinux5 solve Chinese display garbled problem
Source: Internet
Author: User
When installing RedHat5, if you select custom as the installation type, the system will automatically install Linux. many of the settings are default and do not need to be manually set. This includes character set issues, it will install the English environment by default, and when you install successfully, if you access Chinese...
When installing RedHat5, if you select custom as the installation type, the system will automatically install Linux. many of the settings are default and do not need to be manually set. This includes character set issues, it will install the English environment by default. after the installation is successful, if you access the Chinese page, Chinese garbled characters will occur. the solution is as follows: on www.2cto.com, click Red Hat Enterprise Linux 5 in VMware. the start page is displayed, as shown in. click Edit virtual machine settings. the following interface is displayed (the options are selected ): click "www.2cto.com" and select "CD/DVD (IDE) Using file autoinst. iso, click Browse in the middle, select the RedHat Enterprise Linux 5 installation image file, and then click OK. Shows the selection result. After www.2cto.com completes this step, Power on this Virtual Machine, start according to the normal steps, enter the user name and password, and then enter the Red Hat system normally. After entering the system will appear on the desktop a disc file, as shown in: Double-click to enter this Disc File, select the server inside, as shown below: enter this folder, find a compressed package inside the fonts-chinese-3.02-12-el5.noarch.rpm, as shown in: Copy the compressed file, for example, to the/root/directory, and decompress it. Unzip the command in Rpm format and decompress the package: rpm2cpio FileName. rpm | cpio-div is shown in. after decompression, enter the folder and go to the TrueType directory, as shown in. the parent directory and sub-directory are shown in the figure from top to bottom. Copy the two files in the TrueType directory to ghostscript and Typel under/usr/share/fonts/default, as shown in: since then, the Chinese characters in the system can be displayed, as shown in:
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