I. Xshell using XFTP to transfer files
Download xftp:r.aminglinux.com
Use Ctrl+alt+f to enter the password directly into the root directory.
Ii. using PURE-FTPD to build FTP service
1, installation pure-ftpd
Yum Install-y pure-ftpd
(Before installing, we will install the epel-release extension source
Cd/etc/yum.repos.d
Yum Install-y epel-release
2. Edit the configuration file vim/etc/pure-ftpd/pure-ftpd.conf
Find pureftpd.pdb This line, the beginning of the # Delete
Systemctl start pure-ftpd (disable VFTPD service before opening, Port will conflict)
3. Create the FTP directory:
Mkdir/data/ftp
4. Create User:
Useradd-u 1010 PURE-FTP
5, to the directory permissions
Chown-r pure-ftp:pure-ftp/data/ftp
6. Create a user with PURE-PW and specify who the system user is by using-U. -D, specify the home directory of the virtual user, set the password
PURE-PW useradd ftp_usera-u pure-ftp-d/data/ftp
7. Create a file under/data/ftp
Touch/data/ftp/1.txt
8. Generate a PURE-PW recognized file
PURE-PW MKDB
9. Test: lftp [email protected]
Change the genus, genus group: Chown Pure-ftp:pure-ftp/data/ftp/1.txt
Xshell using XFTP to transfer files, using PURE-FTPD to build FTP services