Unable to install vsftpd on centos 6 [closed]

爱⌒轻易说出口 提交于 2019-12-23 06:40:09

问题


I'm having trouble with installing vsftpd on centos 6. When I enter the command

yum install vsftpd

I get the following:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.widexs.nl
 * extras: mirror.serverbeheren.nl
 * updates: mirror.serverbeheren.nl
Setting up Install Process
No package vsftpd available.
Error: Nothing to do

And I don't know how to fix this. Does anyone have an idea? Should I add another repo and if so, how should I do this? I'm quite new to centos, I've been used to Ubuntu where I could just use apt-get to install most things.

Thanks in advance!


回答1:


Install Repository

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6*.rpm

Install vsftpd

yum install vsftpd



回答2:


hmm strange, yum is missing some repository where vsftpd is located. You still can download it manually: http://rpmfind.net/linux/rpm2html/search.php?query=vsftpd&submit=Search+...&system=centos&arch=

and install it through rpm command, or add repository(not sure which one) to your yum



来源:https://stackoverflow.com/questions/14943814/unable-to-install-vsftpd-on-centos-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!