RedHat5.4 system download and Chinese settings

Source: Internet
Author: User

( Note: This method can also be used in your program to use custom fonts to cause the Web program to deploy to the Linux Web container after the garbled problem, only need to find the font used in your program, follow the steps below to execute the command, install the custom font to the system, after the Web program started, You will not see garbled or small squares. )

RedHat5.4 System in the work of the more commonly used, first provide a 32-bit version (rhel-server-5.4-i386-dvd.iso) Download: Click I download

System installed, set the language, found that after restarting the display is small box garbled, it appears that there is no support for Chinese fonts. Looks like you need to copy the Windows7 in the past.

The steps to solve the problem are as follows:

1, open the Linux terminal, switch the root user,

Su-

Enter path fonts:

Cd/usr/share/fonts

2. Create the following folder:

Mkdir-p Truetype/simsun

3. To Window7 's C:\Windows\Fonts directory, find the font "Arial Normal" as shown in:

Use the software to upload "Arial routine", also known as SIMSUN.TTC file, to the/usr/share/fonts/truetype/simsun/directory
4, in the terminal/usr/share/fonts/truetype/simsun/path to execute the following command, you can generate the Fonts.scale file:

Mkfontscale

5, continue to execute the command, generated the Fonts.dir file:

Mkfontdir

6. Execute the following command to add the path of this new font to the font path of the XFS service:

Chkfontpath--add/usr/share/fonts/truetype/simsun/

9. Reload the XFS font service:

Service XFS Reload

10, finally back to Redhat desktop, as shown below, enter the Languange, select Simplified Chinese, and then restart the system is OK, and then enter the system is Chinese

RedHat5.4 system download and Chinese settings

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.