Installation of an FTP server under Ubuntu 14.04
1 Installing VSFTPD
Open "Terminal window" and enter "sudo apt-get install vsftpd"------the installation is complete.
2 Determine if the VSFTPD is installed successfully
Open terminal window, enter "sudo service vsftpd restart" to restart the VSFTPD service, and enter-->VSFTPD is running, indicating that the installation was successful.
3 new "/home/uftp" directory as user home directory
Open "Terminal Window", enter "sudo mkdir/home/uftp"--enter "sudo ls/home"--and have a uftp directory, directory new success.
4 Create a new user uftp and set a password
Open "Terminal Window", enter "sudo useradd-d/home/uftp-s/bin/bash uftp"--Return the user new success--enter "sudo passwd uftp" setting uftp user's password-- > enter your password two times--and the password is set successfully.
5 Modifying the configuration file with Gedit/etc/vsftpd.conf
Open "Terminal Window", enter "sudo gedit/etc/vsftpd.conf"--and enter--opens the vsftpd.conf file and adds "Userlist_deny=no" to the file.
Userlist_enable=yes userlist_file=/etc/allowed_users "and" Seccomp_sandbox=no "-so that" Local_enable=yes "in the file is saved.
6 Creating a new/etc/allowed_users file using Gedit
Open "Terminal Window", enter "sudo gedit/etc/allowed_users"-and enter uftp--> save, the file is created successfully.
7 using Gedit to view content in a/etc/ftpusers file
Open "Terminal Window", enter "sudo gedit/etc/ftpusers"--Return to open this file, see if there is no uftp this username, if not, just exit. If any, delete uftp, because this file is logged in the user list that cannot access the FTP server.
Installation of an FTP server under Ubuntu 14.04