Home » Categories » Multiple Categories

How To Set Up ProFTPD on CentOS 6

ProFTPD is a popular ftp server. Because it was written as a powerful and configurable program, it is not necessarily the lightest ftp server available.

Step One—Install ProFTPD


Before we do anything else, we need to download the EPEL repository which will allow us to install ProFTPD on our virtual private server with yum.
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

The next step is to install ProFTPD
sudo yum install proftpd

Finally, we must also download a ftp client, so that we can connect to an ftp server from the command line:
sudo yum install ftp

Once the files finish downloading, the ProFTPD server will be on your server. However, we still have to make a few changes to the configuration.

Step Two—Configure ProFTPD


Once ProFTPD is installed, you can make the needed adjustments in the configuration. Unlike some other ftp configurations, ProFTPD disables anonymous login from the outset and we only need to address a small change in the config file.

Open up the file:
sudo vi /etc/proftpd.conf

Go ahead and change the Server Name to your host name.
ServerName                      "example.com"

Save and Exit from that file.

Then, to prevent any issues, add your control panel name and IP address to the hosts file:
sudo vi /etc/hosts

The line can look something like this:
12.34.56.789 servername

Restart after you have made all of your changes:
sudo service proftpd restart

Step Three—Access the FTP server


Once you have installed the FTP server and configured it to your liking, you can now access it.

You can reach an FTP server in the browser by typing the domain name into the address bar and logging in with the appropriate ID. Keep in mind, you will only be able to access the user's home directory.
ftp://example.com

Alternatively, you can reach the FTP server through the command line by typing:
 ftp example.com

Then you can use the word, "exit," to get out of the FTP shell.
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How To Create Nagios Plugins With Bash On Ubuntu 12.10
Viewed 1142 times since Sat, Jan 4, 2014
How To Setup Your Own VPN With PPTP
Viewed 1498 times since Thu, Jan 2, 2014
How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 6
Viewed 1687 times since Thu, Dec 26, 2013
How To Install cPanel on a Virtual Server Running Centos 6
Viewed 1811 times since Thu, Jan 2, 2014
How To Create Nagios Plugins With Perl On Ubuntu 12.10
Viewed 1384 times since Sat, Jan 4, 2014
How To Create Nagios Plugins With Perl On CentOS 6
Viewed 1488 times since Sat, Jan 4, 2014
How To Set Up SSH Keys
Viewed 2070 times since Thu, Dec 26, 2013
How to Add a Swap File on an Arch Linux Cloud Server
Viewed 1335 times since Fri, Dec 27, 2013
How To Set Up Python 2.7.6 and 3.3.3 on CentOS 6.4
Viewed 2209 times since Sat, Jan 4, 2014
How To Setup a Rails 4 App With Apache and Passenger on CentOS 6
Viewed 2237 times since Thu, Dec 19, 2013