Created
January 9, 2010 02:16
-
-
Save bertrandom/272665 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script to install yum on a retarded Centos 5.2 box: | |
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-18.el5.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/m2crypto-0.16-6.el5.6.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/popt-1.10.2.3-18.el5.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-4.4.2.3-18.el5.i386.rpm \ | |
http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-libs-4.4.2.3-18.el5.i386.rpm | |
Example: | |
[root@maqet ~]# rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-18.el5.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/m2crypto-0.16-6.el5.6.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/popt-1.10.2.3-18.el5.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-4.4.2.3-18.el5.i386.rpm \ | |
> http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-libs-4.4.2.3-18.el5.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-18.el5.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/m2crypto-0.16-6.el5.6.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/popt-1.10.2.3-18.el5.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-4.4.2.3-18.el5.i386.rpm | |
Retrieving http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-libs-4.4.2.3-18.el5.i386.rpm | |
warning: /var/tmp/rpm-xfer.ebeGvf: Header V3 DSA signature: NOKEY, key ID e8562897 | |
Preparing... ########################################### [100%] | |
1:popt ########################################### [ 8%] | |
2:m2crypto ########################################### [ 17%] | |
3:python-urlgrabber ########################################### [ 25%] | |
4:yum-metadata-parser ########################################### [ 33%] | |
5:python-sqlite ########################################### [ 42%] | |
6:python-iniparse ########################################### [ 50%] | |
7:python-elementtree ########################################### [ 58%] | |
8:rpm-libs ########################################### [ 67%] | |
9:rpm ########################################### [ 75%] | |
10:rpm-python ########################################### [ 83%] | |
11:yum ########################################### [ 92%] | |
12:yum-fastestmirror ########################################### [100%] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment