First determine if VSFTPD is installed on your server.
Installing VSFTPD
#yum-y Install vsftpd
Restart the VSFTPD service after installation is complete
To VSFTPD's main configuration file
Change this to No by default Yes (no is to prohibit anonymous user login, no comment)
Can not let FTP users jump out of their home directory, otherwise too dangerous, need to make restrictions
The default is commented out, the # number is removed and then restarted VSFTPD
Create an FTP user
(Yuanfei This user intelligent connection FTP cannot log on to the system, the default home directory is under the Var/www/html folder)
Set a password for the Yuanfei user
Then give home directory Modify permissions, or you can not upload files
Modify SELinux
By default, enforcing changed him to disabled.
Because the service needs to be restarted after modifying the Selinu, because the server cannot be restarted, execute the above command and temporarily modify the SELinux policy without restarting!
Restart the VSFTPD service, and the next time it starts automatically
Shutting down the firewall
Then use the software to link the FTP test
OK, the full set of FTP service configuration is complete, you can upload and download the local link!
Build FTP upload and download server under Centos