Install vsftp on CentOS, centosvsftp
Install vsftp service on CentOS 1. Check whether the vsftpd service is installed on the CentOS server: rpm-q vsftpd indicates that the vsftpd service is installed if the following similar information is printed: if the vsftpd-3.0.2-21.el7.x86_64 does not output any information, it indicates that vsftpd service is not installed 2. If vsftpd service is not installed, run the following command to install vsftp software: yum-y install vsftpd3. Restart the vsftpd service after installation: service vsftpd restart4. Check whether the vsftpd service is running: ps-aux | grep vsftpd5. Open vsftpd in the/etc/vsftpd/directory. conf file: vim/etc/vsftpd. in conf, change anonymous_enable = YES to anonymous_enable. = NO: Anonymous logon is not allowed. Find chroot_local_user = YES and change it to chroot_local_user = NO6. Restart the vsftpd service: service vsftpd restart7. Go to the/home directory and create the ftp_storage directory: cd/homemkdir-p ftp_storage8. Set the "writable" permission for the ftp_storage directory. Otherwise, the file cannot be uploaded: chmod o + w/home/ftp_storage/9. Create a user for the vsftpd service, used to connect to/access the FTP service: useradd-s/sbin/nologin-d/home/ftp_storage/ftp_user. the user name is ftp_user, And the accessible directory is: /home/ftp_storage/if it already exists, this user can no longer create or replace it with another user name. 10. Set a password for user ftp_user: passwd ftp_user and enter the new password 11. Use the FTP client software to connect and upload files! 12. Remarks: The default FTP port is 21, and port 21 is used for permission authentication. In fact, file transmission is implemented through Port 20.
Blog: http://www.joyupx.com/blogDetail.html#/96