To install ProFTPd on Ubuntu, you will simply need to run these commands. You can run them all as is if you are logged in as root, but will need to add sudo to the beginning of each command if you are a regular user.
Then just type y at the questions that come up. When it asks you if you would like to run it from inetd or standalone, it is your choice depending on your needs, but I choose standalone.
Once that is finished, you can then edit the ProFTPd configuration file. You can find that at /etc/proftpd.conf. You should not need to change anything in this file for it to work, but feel free to take a look at it to see if there is anything you want to change.
Once you are done with that, you can check to make sure that it is running by typing this.
service proftpd status
If it says that it is running, you are ready to connect! If it says that it is stopped, you can start it by running:
service proftpd start
You can then connect using any FTP client by using the ip address as the host, 21 as the port, your username for when you log into the server and it’s password. Keep in mind that by default, each user will be jailed to their own home folder. You also cannot connect to FTP as root, only SFTP.
Chris March 27th, 2011
Posted In: How To