Ubuntu14.04 install ftp and ubuntu14.04ftp on the server
Install ftp in Ubuntu
1. After logging on to the server remotely, enter sudo apt-get update and press Enter. If you do not run this command and directly install vsftpd, some software packages may not be downloaded.
2. Enter sudo apt-get install vsftpd for installation.
3. Check whether ftp is successfully installed. If sudo service vsftpd restart is used to restart ftp service, the installation is successful.
4. Create an ftp folder in sudo mkdir/home/ftp as the ftp directory
5. Add sudo useradd-d/home/ftp-s/bin/bash ftp to add an ftp User Name
6. Set the sudo passwd ftp password twice.
7. sudo Vi/etc/vsftpd. conf edit the fpt configuration file
8. Add userlist_deny = NO userlist_enable = YES userlist_file =/etc/allowed_users after the configuration file to specify a file, which contains users who can log on to ftp.
9. Edit The sudo vi/etc/allowed_users file and add the ftp user name set in step 1 to the file.
10. Edit The sudo vi/etc/ftpusers file and check whether there are users set in it. Users in this file cannot access ftp