问题
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