Tuesday, November 25, 2014

Setup and run FTP Server on Unbuntu 14.04 LTS

https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-on-ubuntu-12-04

Simply run the following commands to install vsftpd:

> sudo apt-get install vsftpd

Run the following commands to open the vsftpd.conf for editing:

> sudo gedit /etc/vsftpd.conf

In the vsftpd.conf, uncomment the following line:

anonymous=NO
local_user=YES
write_enable=YES
chroot_local_user=YES

Save and close vsftpd.conf and change the root folder:

> sudo chown root:root $HOME

Now restart the vsftpd:

> sudo service vsftpd restart


No comments:

Post a Comment