Setup VSFTPD on Ubuntu Server in 8 minutes

Install VSFTPD then open up the configuration file.

[email protected]:~$ sudo apt-get install vsftpd
[email protected]:~$ sudo vim /etc/vsftpd.conf

Update the following variables…


Save it out.

Create, chown and add a user to that group with the www directory as the home directory.

[email protected]:~$ sudo groupadd ftp-users
[email protected]:~$ sudo chown -R root:ftp-users /var/www
[email protected]:~$ sudo useradd -g ftp-users -d /var/www gneuftp
[email protected]:~$ sudo passwd gneuftp

Restart the ftp server app to load the changes to the variables above.

[email protected]:~$ sudo vsftpd restart