快捷搜索:   服务器  PHP  安全  linux 安全  IIS

CENTOS安装proftpd提示No package proftpd available解决办法

准备给CENTOS系统安装一个目录比较流行的proftpd这个FTP服务器端软件,但是死活装不上,提示如下
[root@host1 ~]# yum install proftpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: yum.singlehop.com
* extras: mirror.metrocast.net
* updates: ftp.osuosl.org
Setting up Install Process
No package proftpd available.
Nothing to do

谷歌翻了一堆国外网站才知道是因为用的centos的源里面没有这个软件,有的说改源就行了,但是我实际测试了,改别的源,仍然提示找不到这个软件,后来继续谷歌之,终于找到解决办法
# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# yum install proftpd

成功安装!


Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm - transfer failed
[root@316366 yum.repos.d]# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Retrieving http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
warning: /var/tmp/rpm-tmp.5MK7dl: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@316366 yum.repos.d]# yum install proftpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.usc.edu
* extras: mirror.5ninesolutions.com
* rpmforge: mirror.hmc.edu
* updates: yum.phx.singlehop.com
rpmforge                                                 | 1.9 kB     00:00
rpmforge/primary_db                                      | 7.1 MB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package proftpd.i386 0:1.3.4a-1.el5.rf will be installed
--> Processing Dependency: perl(Time::HiRes) for package: proftpd-1.3.4a-1.el5.rf.i386
--> Processing Dependency: libssl.so.6 for package: proftpd-1.3.4a-1.el5.rf.i386
--> Processing Dependency: libcrypto.so.6 for package: proftpd-1.3.4a-1.el5.rf.i386
--> Processing Dependency: perl(Mail::Sendmail) for package: proftpd-1.3.4a-1.el5.rf.i386
--> Processing Dependency: libcap.so.1 for package: proftpd-1.3.4a-1.el5.rf.i386
--> Running transaction check
---> Package compat-libcap1.i686 0:1.10-1 will be installed
---> Package openssl098e.i686 0:0.9.8e-17.el6.centos.2 will be installed
---> Package perl-Mail-Sendmail.noarch 0:0.79-1.2.el5.rf will be installed
---> Package perl-Time-HiRes.i686 4:1.9721-127.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package               Arch      Version                      Repository   Size
================================================================================
Installing:
proftpd               i386      1.3.4a-1.el5.rf              rpmforge    2.2 M
Installing for dependencies:
compat-libcap1        i686      1.10-1                       base         17 k
openssl098e           i686      0.9.8e-17.el6.centos.2       base        773 k
perl-Mail-Sendmail    noarch    0.79-1.2.el5.rf              rpmforge     23 k
perl-Time-HiRes       i686      4:1.9721-127.el6             base         47 k
Transaction Summary
================================================================================
Install       5 Package(s)
Total download size: 3.1 M
Installed size: 8.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): compat-libcap1-1.10-1.i686.rpm                    |  17 kB     00:00
(2/5): openssl098e-0.9.8e-17.el6.centos.2.i686.rpm       | 773 kB     00:00
(3/5): perl-Mail-Sendmail-0.79-1.2.el5.rf.noarch.rpm     |  23 kB     00:00
(4/5): perl-Time-HiRes-1.9721-127.el6.i686.rpm           |  47 kB     00:00
(5/5): proftpd-1.3.4a-1.el5.rf.i386.rpm                  | 2.2 MB     00:00
--------------------------------------------------------------------------------
Total                                           6.7 MB/s | 3.1 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : perl-Mail-Sendmail-0.79-1.2.el5.rf.noarch                    1/5
  Installing : 4:perl-Time-HiRes-1.9721-127.el6.i686                        2/5
  Installing : compat-libcap1-1.10-1.i686                                   3/5
  Installing : openssl098e-0.9.8e-17.el6.centos.2.i686                      4/5
  Installing : proftpd-1.3.4a-1.el5.rf.i386                                 5/5
  Verifying  : openssl098e-0.9.8e-17.el6.centos.2.i686                      1/5
  Verifying  : compat-libcap1-1.10-1.i686                                   2/5
  Verifying  : perl-Mail-Sendmail-0.79-1.2.el5.rf.noarch                    3/5
  Verifying  : proftpd-1.3.4a-1.el5.rf.i386                                 4/5
  Verifying  : 4:perl-Time-HiRes-1.9721-127.el6.i686                        5/5
Installed:
  proftpd.i386 0:1.3.4a-1.el5.rf
Dependency Installed:
  compat-libcap1.i686 0:1.10-1
  openssl098e.i686 0:0.9.8e-17.el6.centos.2
  perl-Mail-Sendmail.noarch 0:0.79-1.2.el5.rf
  perl-Time-HiRes.i686 4:1.9721-127.el6
Complete!


顶(0)
踩(1)

您可能还会对下面的文章感兴趣:

最新评论