install yum redhat 4

yum redhat 4 平台安装

下载相关rpm包

mkdir temp
cd temp
wget http://www.eomy.net/linux/install-yum/centos-yumconf-4-4.5.noarch.rpm                
wget http://www.eomy.net/linux/install-yum/elfutils-0.97.1-4.i386.rpm                     
wget http://www.eomy.net/linux/install-yum/elfutils-libelf-0.97.1-4.i386.rpm              
wget http://www.eomy.net/linux/install-yum/expat-1.95.7-4.i386.rpm                        
wget http://www.eomy.net/linux/install-yum/gmp-4.1.4-3.i386.rpm                           
wget http://www.eomy.net/linux/install-yum/libxml2-2.6.16-10.i386.rpm                     
wget http://www.eomy.net/linux/install-yum/libxml2-python-2.6.16-10.i386.rpm              
wget http://www.eomy.net/linux/install-yum/python-2.3.4-14.4.i386.rpm                     
wget http://www.eomy.net/linux/install-yum/python-elementtree-1.2.6-5.el4.centos.i386.rpm 
wget http://www.eomy.net/linux/install-yum/python-sqlite-1.1.7-1.2.1.i386.rpm             
wget http://www.eomy.net/linux/install-yum/python-urlgrabber-2.9.8-2.noarch.rpm           
wget http://www.eomy.net/linux/install-yum/readline-4.3-13.i386.rpm                       
wget http://www.eomy.net/linux/install-yum/rpm-4.3.3-22_nonptl.i386.rpm                   
wget http://www.eomy.net/linux/install-yum/rpm-python-4.3.3-22_nonptl.i386.rpm            
wget http://www.eomy.net/linux/install-yum/sqlite-3.3.6-2.i386.rpm                        
wget http://www.eomy.net/linux/install-yum/yum-2.4.3-3.el4.centos.noarch.rpm 
rpm -Uhv *.rpm
cd /etc/yum.repos.d # 软件包来源设置,原镜像站点已经失效了。
cp CentOS-Base.repo  CentOS-Base.repo.bk  
wget http://vault.centos.org/4.9/CentOS-Base.repo  
yum -y update

以上完成yum安装。


相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页