Step 1 - Start: apt-get update Then install vsftpd and required packages: apt-get -y install vsftpd Step 2: Configure vsftpd Edit the configuration file for vsftpd: sudo nano /etc/vsftpd.conf Remove anonymous access, unidentified users to FTP; change the anonymous_enable setting to NO: anonymous_enable=NO Allow local uses to login by changing the local_enable setting to YES: local_enable=YES Want local user to be able to write to a directory? Then change the write_enable setting to YES: write_enable=YES Local users will be ‘chroot jailed’ and they will be denied access to any other part of the server; change the chroot_local_user setting to YES: chroot_local_user=YES Exit and save using Cntrl +X then Y, then Enter. Restart the vsftpd service: service vsftpd restart |