Configure the redhat system yum Source 2 (2) configure the yum source (official) 1. enter the following command on the terminal (RHEL6/CentOS6) [plain] wgethttp: // Configure? Codeblock22. convert it to the object you just downloaded... about redhat system yum source configuration 2 (2) configure yum source (official) 1. enter the following command on the terminal (RHEL6/CentOS6) [plain] wget http://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/centos? Codeblock = 2 2. convert it to the downloaded file directory [plain] cd/etc/yum. repos. d. If RHEL6 is used, then ls will show centos? Codeblock = 2 file 3. change the repository name [plain] mv centos? Codeblock = 2 CentOS-Base.repo 4, change the $ releasever in the CentOS-Base.repo to 6 command: vim CentOS-Base.repo5, clear yum [plain] yum clean all 6, generate cache [plain] yum makecache so that yum source configuration is complete.
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