How to install Pure-FTPD on CentOS 6.x

This article guides you how to install Pure-FTPd on CentOS 6 and how to configure and use it so you can access your server via ftp connection using your favorite ftp client (e.g:FileZilla).

You better firstly set up LAMP on this server.

Login to your server via SSH and add the repo:

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

Then:

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Now:

cd /tmp
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Next update Yum:

yum update

Each time yum asks you to confirm, simply type Y then hit Enter.

Now Installing Pure-FTPd on CentOS:

yum install pure-ftpd

Go to Pure-FTPd config folder:

cd /etc/pure-ftpd/

Next, edit the config file:

nano -w pure-ftpd.conf
  1. Once editor appear,Look for #UnixAuthentication and uncomment that line:
  2. Then change No in VerboseLog to yes.
  3. Uncomment the PureDB line
  4. Uncomment the CreateHomeDir line
  5. Create ftp user

Finally, save Pure-FTPD user database:

pure-pw mkdb

Once you done all configuration, Start service and enable the service to start on boot.

service pure-ftpd restart
chkconfig pure-ftpd on

Use your favorite FTP client to connect.

 

Leave a Reply

Register to Get FREE Offers

Why Pay for Software when you can GET it for FREE

JOIN US TONIGHT!