1: Build a Yum source
2: Install Lftp
Yum Install Vsftp
Note: Under Linux, see what Software "Rpm-qa" is installed on the system to view
View files within a specific package "RPM-QL + file name"
3: Of course, the preparation of these environments is inseparable from the installation of software, if not installed vsftpd can first download in the installation
https://pkgs.org/download/vsftpd to download the corresponding vsftp.
4: Open File Package
RPM-QL vsftpd-3.0.2-10.el7.x86_64
VSFTP configuration files are placed in the/etc/vsftpd/directory
5: Enter the file directory under the file vsftpd.conf, it can be manipulated
6: If we do not download and modify the file name, we can not configure its configuration file.
7: If you want to change the name of the system transfer file, we need to modify the configuration file
Usually we just rewrite a configuration file and rename it to vsftpd.conf.
anonymous_enable=YES # Allow anonymous users to log on ftpanon_upload_enable=YES # to open upload permissions for anonymous users Anon_mkdir_write_ Enable=YES # Open Anonymous user permissions to create a directory anon_other_write_enable=yes # Open Anonymous user delete and rename permissions
You can add it to your own permissions.
Of course, this is done, pub file to assign permission to
757 Pub
8: Modify the configuration file, restart the Vsftp service, and turn off SELinux to turn off the firewall.
File transfer based on VSFPT in Linux files