This guide is for Ubuntu
Before getting started, though, we should warn you: FTP is inherently insecure, and exposes your server to vulnerability. If you can, use SFTP instead, which works on all servers with no configuration. If, however, you must use FTP, here is how to set up vsftpd on an Ubuntu server.
- Install vsftpd
sudo apt-get install vsftpd
- Configure vsftpd
There are a few configuration settings you'll need to change in the vsftpd configuration file to make full use of your FTP server. Type
sudo nano /etc/vsftpd.confto edit the file. We recommend the following settings:
Now you should be able to connect to your server on port 21 and manage files via FTP.