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