Saturday, 21 May 2011

Install Pure-FTPd

Add repository
Pure-FTPd package is not (yet) in the default repository of CentOS.
You have to add a new repository.
(The old way)
cd /etc/yum.repos.d/
In the file you just downloaded you have to enable the second repository (Testing)
vi kbsingh-CentOS-Extras.repo and set enabled = 1 (the one that is 0)
rpm --import
(The new way)

rpm --import
rpm -ivh epel-release-6-6.noarch.rpm

yum install pure-ftpd
groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser

Load at startup / start
chkconfig --levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start

No comments:

Post a Comment