Start by preparing a Linux system machine (virtual machine is also available),
Detects if the VSFTPD software is installed:
Rpm-qa |grep vsftpd
If there is no output, it is not installed.
With the command installation, you will be prompted to enter Y directly during the installation process:
The installation is complete, and then the FTP service starts:
Shut down the Linux firewall, otherwise remote cannot access:
You can now access the FTP server anonymously.
If you need to specify that a specified person has a path, the following configuration is required:
First create an FTP folder in home:
After the creation is successful, create the user ftpuser for the specified directory and create the group:
Initialize the ftpuser password to Ftpuser:
Then use the iteration to assign permissions to Ftpuser under ftp:
To view permissions:
Then configure the FTP core file vsftpd.conf:
Modify the configuration file/etc/vsftpd/vsftpd.conf and set or delete the comment:
users within the Userlist_deny=no file can access Userlist_enable=yesanonymous_enable=no prohibit anonymous access
Open/etc/vsftpd/user_list and add a line: Ftpuser
If you have updated vsftpd.conf, be sure to restart FTP with the following command:
#/etc/init.d/vsftpd Restart
There is also an important setting: Set SELinux to Disabled
Once setup is complete, reboot the machine:
# reboot
This server has been set up for three days, finally good!
The pro-test works.
Linux Build FTP Server combat