Some configurations after CentOS7 Installation

Source: Internet
Author: User

Some configurations after CentOS7 Installation

1. Add normal users to The sudo User Group

1. First enter the Administrator account: su root

2. Enter the cmddo command to open the sudoers file.


3. Find the line root ALL = (ALL) ALL.


4. Add your username ALL = (ALL) ALL below


5. Save and exit


Ii. Update Source

1. Go to the directory cd/etc/yum. repos. d/where the source file is located/


2. Back up the current source file mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.backup


3. Download source wget http://mirrors.163.com/.help/CentOS7-Base-163.repo in China


4. Replace the source mv/etc/yum. repos. d/CentOS7-Base-163.repo


5. Clear the old cache yum clean all


6. generate new cache yum makecache


3. Update the Software Package

Sudo yum-y update


Iv. Install the Chinese Input Method

The Chinese Pinyin input method is provided in CentOS7. The related settings are as follows:


Step 1: click "application"-"system tool"-"in the upper left corner of the desktop to set"


Step 2: click "region and language" in the upper left corner.


Step 3: After this page appears, click "+ ".


Step 4: click "Chinese (China)". If this option is not available, click the ellipsis below to display more options.


Step 5: Select Intelligent Pinyin on the "add Input Source" page )"



Step 6: click "add ".


Step 7: There are three input methods to remove unnecessary ones.



Step 8: Select "Chinese" and click "-" at the bottom

Step 9: Delete "English (USA )"

Step 10: clean, just like bilang



Step 2: Check the input method status in the upper right corner. Press Shift to switch between Chinese and English input.

Step 2: Check the actual usage

Step 2: Let's take a look at the introduction of the input method.

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.