Vmware12 installed on the CentOs6.8, the ultimate realization of WINDOWS10 on the physical machine can normally access the FTP server on CentOS.
First, see if there is an FTP-related installation package installed.
# Rpm-qa | The installation package for grep vsftpd//ftp is vsftpd
See that there are no related packages installed on my system, so install the package first.
# yum-y Install VSFTPD//here if you do not configure the Yum source, you can install it directly in RPM.
Check to see if the installation was successful
Second, start the service and set the boot from start.
# service VSFTPD Start//Startup services
# chkconfig--level vsftpd on//set self-start
# chkconfig--list vsftpd//See if Setup is successful
Third, configuration vsftpd file
The FTP server has three main configuration files, all located in the/ETC/VSFTPD directory:
Ftpusers//used to specify which users cannot access the FTP server
User_list//Whether the user in this file can log on to the server, depending on the userlist_enable and Userlist_deny options in the vsftpd.conf file.
VSFTPD.CONF//ftp Server's main configuration file
Iv. Anonymous user access
Open vsftpd.conf
# vi/etc/vsftpd/vsftp.conf
Set these two options to Yes:anon_upload_enable=yes and Anon_mkdir_write_enable=yes (which is usually the default already, remove the previous ' # ')
This enables anonymous users to upload and download files.
V. Access by non-anonymous users
1. Modify the configuration file
# vi/etc/vsftpd/vsftp.conf
To turn off anonymous user access first: anon_upload_enable=no
Added at the end of the configuration file: Userlist_enable=yes, Userlist_file=/etc/vsftpd/vsftpd.user_list, Userlist_deny=no
2. Create a user
3. Here first Test, directly using FTP1 login, found that is not logged on.
4, put the user ftp into the/etc/vsftpd/vsftpd.user_list file.
# vi/etc/vsftpd/vsftpd.user_list
Write FTP1 (one line on behalf of a user) in the file, then save the exit and reload the service (# Service VSFTPD Reload).
Once again, with FTP1 users, you can log on to the FTP server.
The construction of FTP server in Linux