ProFTPD stands for Pro FTP Daemon and it is a free open source software used among popular FTP programs in Unix environments. It is a secure and configurable FTP server program used for virtual private servers.
Installation of ProFTPD
ProFTPD can be installed on your VPS using the yum command.
Before we get down to the installation of Proftpd, we need to download EPEL repository which will allow the Pfoftpd installation:
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Type in the following command in the command line to install Proftpd:
sudo yum install proftpd
After the installation, you need to download a ftp client so as to make connections to an FTP server:
sudo yum install ftp
Once the file is downloaded completely, the ProFTPD server will be installed on your droplet. Now, we can configure it for making it more secure.
ProFTPD is quite different from other FTP programs like vsftpd in the configuration. ProFTPD disables anonymous login from the outset. However, there are a couple of changes that you can make to ProFTPD.
Open up the configuration file:
sudo vi /etc/proftpd.conf
Change the server name to your host name.
Save and exit the file.
After that, you need to add your droplet name and IP address to the hosts file:
sudo vi /etc/hosts
Update the file with the following line. Replace the names with your actual values:
Once you are done with the changes, restart the service:
sudo service proftpd restart
Accessing FTP Server
Now that you have already installed and configured FTP server, you can access it now.
Type the domain name in to your browser and log in with appropriate credentials. You will be able to access only the user’s home directory while connecting to the virtual server.
Another alternative way to reach the FTP server on your virtual server is by typing the following command on your command line:
Now you can use the ‘exit’ command to exit from the FTP shell.