FTP is the abbreviation for the file Transfer Protocol (document Transfer Protocol), which is known as the "Interfax protocol" for two-way transmission of control files on the Internet.
The primary role of FTP is to have users connect to a remote computer (which is running an FTP server program) to see what files are available on the remote computer, then copy the files from the remote computer to the local computer, or send the local computer's files to the remote computer.
PURE-FTP is purely FTP is using PURE-FTP to build FTP
(1) Installing with Yum requires two packages installed: Epel-releas and PURE-FTPD
See if you have installed the method: Yum List installed |grep pure-ftp
Yum List installed |grep Epel-releas
or with Rpm–qa |grep *
(2) Changing the configuration file
Curl WWW.APELEARN.COM/STUDY_V2/.PF.C >curl WWW.APELEARN.COM/STUDY_V2/.PF.C >/etc/pure-ftpd/pure-ftpd.conf
vim/etc/pure-ftpd/pure-ftpd.conf its content
Chrooteveryone Yes
Brokenclientscompatibility No
Maxclientsnumber 50
Daemonize Yes
Maxclientsperip 8
Verboselog No
Displaydotfiles Yes
AnonymousOnly No # Whether to allow anonymous logons
Noanonymous Yes
Syslogfacility FTP
Dontresolve Yes
MaxIdleTime 15
PUREDB/ETC/PURE-FTPD/PUREFTPD.PDB # Generate a password vault file
Limitrecursion 3136 8 #限制最为文件数 Deepest sub-directory
Anonymouscancreatedirs No
Maxload 4
Antiwarez Yes
Umask 133:022
Minuid #最小的用户登录uid
ALLOWUSERFXP No
ALLOWANONYMOUSFXP No
Prohibitdotfileswrite No
Prohibitdotfilesread No
Autorename No
Anonymouscantupload No
Customerproof Yes
3 Create a user, password, and assign a local user to the virtual user. and the FTP directory.
User= ' mkpasswd-l 5-s 0-d 0-c 0 '
Pass= ' Mkpasswd-s 0 '
echo $user $pass >/tmp/ftp.pass
Mkdir/data/ftp #创建ftp服务的目录
Echo-e "$pass \n$pass" |PURE-PW useradd $user-u apache-d/data/ftp/
PURE-PW MKDB #创建密码文件
#pure-PW List #列出用户
#pure-PW Userdel $user #删除账号
Note: Where mkpasswd is the system comes with the password automatic random generation tool usage can reference books:
Http://www.linuxidc.com/Linux/2012-11/73687.htm
The PURE-PW command can be viewed through PURE-PW--help,
MKDB command: mkdb Password Vault file name
Description: PURE-PW useradd Virtual User-U system exists with a user-D specified FTP directory
44 Installing detailed FTP tools on the client
Linux under Installation lftp yum Install–y lftp
ftp method: lftp [email protected]
Password:
Windows ftp://192.168.176.253
Users: Test1
Password: 12345
Installing the Dedicated FTP tool: FileZilla Client
PURE-FTP Service Configuration Chapter