How to start and language settings for CentOS

Source: Internet
Author: User

Reference: http://www.51testing.com/html/33/564333-845362.html

A great help thanks!!

1. Set Text start mode
The graphical interface requires a large amount of memory and CPU resources for the system, and for the server, high efficiency is the most important, so the CentOS default boot is changed to text mode. Edit the/etc/inittab file, locate the statement "Id:initdefault:", change the sentence of 5 to 3, after restarting, Centos will automatically enter the character interface.

2. Set Language parameters
The CentOS default language encoding is "ZH_CN." UTF-8 ", this in the X-window desktop environment of the" terminal "window operation is able to correctly display Chinese characters, but if it is through SSH or telnet, such as remote management, you will find all the characters have become garbled.

1>: To solve this problem, edit the file/etc/sysconfig/i18n, the 1th sentence "lang=" ZH_CN. UTF-8 "" Changed to "lang=" ZH_CN. GB18030 "" Can.

2> After completion, re-login, found that all Chinese characters have been able to display the normal, change back to English:

Lang= "en_US. UTF-8 "
Sysfont= "Latarcyrheb-sun16" "

How to start and language settings for CentOS

Related Article

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.