Install yum source for centos6.2

Source: Internet
Author: User
To install yum source for CentOS, the yum source provided by CentOS is not rich enough. for convenience, I often borrow a third-party yum source. Every time you try again, it is too troublesome. in this summary, it is also convenient for future use. I am using a 64-bit system and only write 64-bit systems. I will encounter a 32-bit system later... installing yum sources for centos 6.2 is not rich enough. for ease of use, I often borrow a third-party yum source. Every time you try again, it is too troublesome. in this summary, it is also convenient for future use. I am currently using a 64-bit system. I only write 64-bit systems. I will encounter 32-bit systems later ......
1. install rpmforge rpm package url: unzip www.2cto.com rpm-ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm 2. install epel rpm package url: http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-7.noarch.rpm installation command: rpm-ivh http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-7.noarch.rpm
For convenience, I will directly use this script (64-bit CentOS6.2 installation script): www.2cto.com #! /Bin/bash echo "Install rpmforge..." rpm-ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm echo "Install epel..." rpm-ivh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-7.noarch.rpm echo "Done" by the way:
Author Mike_Zhang

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.