1、安装epel源
[root@server src]# ll
total 16484
-rw-r--r--. 1 root root 14540 Jan 2 20:59 epel-release-latest-6.noarch.rpm
drwxr-xr-x. 18 1000 1000 4096 Jan 2 12:18 Python-2.7.11
-rw-r--r--. 1 root root 16856409 Jan 2 11:27 Python-2.7.11.tgz
[root@server src]#
[root@server src]#
[root@server src]# rpm -ivh epel-release-latest-6.noarch.rpm
warning: epel-release-latest-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@server src]#
[root@server src]#
[root@server src]# ll /etc/yum.repos.d/
total 24
-rw-r--r--. 1 root root 1926 Nov 27 2013 CentOS-Base.repo
-rw-r--r--. 1 root root 638 Nov 27 2013 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 630 Nov 27 2013 CentOS-Media.repo
-rw-r--r--. 1 root root 3664 Nov 27 2013 CentOS-Vault.repo
-rw-r--r--. 1 root root 957 Nov 4 2012 epel.repo
-rw-r--r--. 1 root root 1056 Nov 4 2012 epel-testing.repo
[root@server src]# yum install -y python-pip
未完待续...