FTP (File Transfer Protocol) is probably the most popular method of uploading files to a server; a wide array of FTP servers, such as ProFTPD, and clients exist for every platform.
- These instructions are intended specifically for installing the ProFTPD on Ubuntu 14.04 LTS.
- I’ll be working from a Liquid Web Core Managed Ubuntu 14.04 LTS server, and I’ll be logged in as root.
First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.
Then let’s install ProFTPD and any required packages:
apt-get -y install proftpd
During the install process you’ll be prompted with the following screen:
For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor
Let’s edit the configuration file for ProFTPD:
To limit users to their home directory uncomment the line that says
Exit and save the file with the command
Restart the ProFTPD service:
service proftpd restart
Then set the ProFTPD service to start at boot:
update-rc.d proftpd defaults