Setup VSFTPD on Ubuntu Server in 8 minutes

Install VSFTPD then open up the configuration file.

bob_gneu@GneuServ:~$ sudo apt-get install vsftpd
bob_gneu@GneuServ:~$ sudo vim /etc/vsftpd.conf

Update the following variables…

anonymous_enable=NO
local_enable=YES
write_enabled=YES

Save it out.

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

bob_gneu@GneuServ:~$ sudo groupadd ftp-users
bob_gneu@GneuServ:~$ sudo chown -R root:ftp-users /var/www
bob_gneu@GneuServ:~$ sudo useradd -g ftp-users -d /var/www gneuftp
bob_gneu@GneuServ:~$ sudo passwd gneuftp

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

bob_gneu@GneuServ:~$ sudo vsftpd restart

Leave a Reply