1 查看系统版本:
[root@localhost /]# lsb_release -aLSB Version::core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarchDistributor ID:RedHatEnterpriseServerDescription:Red Hat Enterprise Linux Server release 5.8 (Tikanga)Release:5.8Codename:Tikanga
2 进入这个网站下载安装包:
具体包位置:
[root@localhost /]# wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm
3 安装这个rpm:
[root@localhost saltstack]# rpm -ivh epel-release-5-4.noarch.rpm
4 检查
[root@localhost saltstack]# yum list zvbi.i386 0.2.33-5.el5.1 epel zvbi-devel.i386 0.2.33-5.el5.1 epel zvbi-fonts.i386 0.2.33-5.el5.1 epel .....
5 安装RPM更新软件rpmforge
下载:
[root@localhost saltstack]# wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm--2015-10-06 02:31:15-- http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpmResolving apt.sw.be... 193.1.193.67Connecting to apt.sw.be|193.1.193.67|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 16698 (16K) [application/x-redhat-package-manager]Saving to: `rpmforge-release-0.3.6-1.el5.rf.i386.rpm'100%[===========================================>] 16,698 18.4K/s in 0.9s 2015-10-06 02:31:22 (18.4 KB/s) - `rpmforge-release-0.3.6-1.el5.rf.i386.rpm' saved [16698/16698]
安装:
[root@localhost saltstack]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm warning: rpmforge-release-0.3.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6Preparing... ########################################### [100%] 1:rpmforge-release ########################################### [100%]
6 安装测试:
[root@localhost saltstack]# yum install zziplibLoaded plugins: katello, product-id, security, subscription-managerUpdating certificate-based repositories.Unable to read consumer identitySetting up Install ProcessResolving Dependencies--> Running transaction check---> Package zziplib.i386 0:0.13.45-1.el5.rf set to be updated--> Finished Dependency ResolutionDependencies Resolved===================================================================================== Package Arch Version Repository Size=====================================================================================Installing: zziplib i386 0.13.45-1.el5.rf rpmforge 95 kTransaction Summary=====================================================================================Install 1 Package(s)Upgrade 0 Package(s)Total download size: 95 kIs this ok [y/N]: yDownloading Packages:zziplib-0.13.45-1.el5.rf.i386.rpm | 95 kB 00:01 Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction Installing : zziplib 1/1 Installed products updated.Installed: zziplib.i386 0:0.13.45-1.el5.rf Complete![root@localhost saltstack]#