Linux CentOS 6.6 Installation Simple processing method for adding Yum sources

Source: Internet
Author: User
Tags aliyun

Linux CentOS 6.6 Install yum source Simple processing method

The installation environment is as follows:

[[email protected] ~]# cat/etc/redhat-release ======== "View version of CentOS release 6.6 (Final) [[email protected] ~]# uname-r ======== "kernel 2.6.32-504.el6.x86_64[[email protected] ~]#

1. Backup (must be backed up)

Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup = = = Execute this command


2. Download the installation source


Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo = = = Execute to command line

[[email protected] ~]# wget -o /etc/yum.repos.d/centos-base.repo http:// mirrors.aliyun.com/repo/centos-6.repo--2015-06-08 10:27:56--  http://mirrors.aliyun.com/repo/ Centos-6.repo mirrors.aliyun.com... 112.124.140.210, 115.28.122.210 mirrors.aliyun.com| 112.124.140.210|:80...                                               ttp ... 200 ok72   (2.5K)  [application/octet-stream]tc/yum.repos.d/centos-base.repo100%[============================== ===============================================================================================>]  2,572       --.-k/s   in 0s       2015-06-08 10:27:58&nBSP; (272 mb/s)  - c/yum.repos.d/centos-base.repo2572/2572]) The figure here shows the results after the download is installed. 



This article is from the "I am a Little bird" blog, please make sure to keep this source http://liyanchao.blog.51cto.com/9954601/1659669

Linux CentOS 6.6 Installation Simple processing method for adding Yum sources

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.