RedHat 7.2 Linux operating system in the extreme speed of the Chinese

Source: Internet
Author: User
Tags locale first row

RedHat Linux 7.2 Research and development code-named "Enigma", has been officially released on October 22. It contains the following features that are exciting:

Adopt 2.4.7-10 kernel, better network configuration, user management, hardware detection tools (Network Configuration, username Management, hardware Viewing), firewall mechanism and network Service mechanism; improved USB support Mozilla Web browser, the latest GNOME/KDE desktop environment, support C, C + +, Java and Python, Perl, PHP development, KOffice Office components, and so on. And its interface is very beautiful, a little less than Windows XP inferior.

Now many of the domestic web site has provided the Redhat 7.2 download, you can download the ISO file plate installation, installation process is very simple.

Set up Chinese locale

Select Install Simplified Chinese, Traditional Chinese and English display support, installation complete, start KDE, in its control center "look&&feel" select "China", encoded as zh_cn.gb2312.1980. Reboot, this time KDE can already show the coarse Chinese. Select Locale Chooser ZH_CN directly in Gnome's system.

Installation of Chinese fonts

1, first disable the XFS server.

Run the Setup command to abort the feature that XFS is running with the system in the service item. The reason for disabling XFS servers is that XFS automatically updates the Fonts.dir files in the font directory, which affects the changes we make.

2, copy the selected font to the relevant directory.

Generally choose Simsun.ttf as the basic font (it is said that the font is the most exquisite Chinese font). Copy these fonts to/usr/share/fonts/default/truetype and generate Fonts.dir and Fonts.scale files.

Run under the same font directory: Ttmkfdir > Fonts.dir. Edit the Fonts.dir file to add two lines under simsun.ttf-misc-simsun-medium-r-normal--0-0-0-0-p-0-ascii-0:

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0
-p-0-gb2312.1980-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0
-p-0-gbk-0

Also note that the number of the first row of the file changes accordingly, and then copy Fonts.dir to Fonts.scale.

3. Set the font path and load the server

Edit the/etc/x11/xf86config-4 file (#表示注释行).

Section "Files"
# FontPath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/share/fonts/default/TrueType"
EndSection
Section "Module"
……
Load "xtt"
……
EndSection

Reboot and set the font to SimSun in the control center. OK, that's it.

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.