First, determine whether vsftpd is installed on your server.
Install vsftpd
After the installation is complete, restart the vsftpd service.
To the main configuration file of vsftpd
Change this to "NO". The default value is "YES" ("NO" means that anonymous users are prohibited from logging on, without comments)
Ftp users cannot jump out of their home directories. Otherwise, it is too dangerous and requires restrictions.
Comment out by default. Remove # and restart vsftpd.
Create an ftp user
(Yuanfei, a user with smart connection to ftp, cannot log on to the system. The default home directory is under the var/www/html folder)
Set the password for yuanfei.
Then modify the permission for the home directory. Otherwise, you cannot upload files.
Modify selinux
By default, enforcing is used to change it to disabled.
After selinu is modified, the service needs to be restarted. Because the server cannot be restarted, execute the preceding command to temporarily modify the selinux policy without restarting!
Restart the vsftpd service and automatically start it next time.
Disable Firewall
Then use the software to connect to ftp and test it.
Now, the complete ftp service configuration is complete. You can upload and download it from a local link!