This guide is for Ubuntu
Yes.
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. Typesudo nano /etc/vsftpd.conf
to edit the file. We recommend the following settings:
local_enable=YES
write_enable=YES
anonymous_enable=NO
chroot_local_user=YES
Now you should be able to connect to your server on port 21 and manage files via FTP.