Yum-YInstallpam-DEVELCD/usr/LocalTarZXF pure-ftpd-1.0. $.Tar. GZCD Pure-ftpd-1.0. $./configure--prefix=/usr/local/pure-ftpd/--with-Puredb Make&& MakeCheck && Make Install
mkdir-p/usr/local/pure-ftpd/etc/Touch/usr/local/pure-ftpd/etc/pureftpd.passwd/USR/LOCAL/PURE-FTPD/BIN/PURE-PW mkdb/usr/local/pure-ftpd/etc/PUREFTPD.PDBCD/usr/local/pure-ftpd-1.0. $/configuration-fileCP/usr/local/pure-ftpd-1.0. $/configuration-file/pure-ftpd.conf/usr/local/pure-ftpd-1.0. $/configuration-file/pure-Ftpd.conf.backupvim/usr/local/pure-ftpd-1.0. $/configuration-file/pure-ftpd.conf config file in pure-ftpd.conf Specify the PDB location Puredb/usr/local/pure-ftpd/etc/pureftpd.pdb modifying Port PassivePortRange30000 30500chmod 777/usr/local/pure-ftpd-1.0. $/configuration-file/pure-config.pl/usr/local/pure-ftpd-1.0. $/configuration-file/pure-config.pl/usr/local/pure-ftpd-1.0. $/configuration-file/pure-ftpd.confgroupadd Ftp_useruseradd wfc_ftpgpasswd-a wfc_ftp ftp_user useIDwfc_ftp View group information will probably output the following UID=502(WFC_FTP) gid=503(wfc_ftp) group =503(WFC_FTP),502(ftp_user) # Create user ftp root directorymkdir-p/data/ftp_data/WFCChownwfc_ftp:ftp_user/data/ftp_data/wfc# Add user # syntax/USR/LOCAL/PURE-FTPD/BIN/PURE-PW useradd $user-u $uid-G $gid-D $dir-m/USR/LOCAL/PURE-FTPD/BIN/PURE-PW Useradd Wfc_ftp-u502-G503-D/DATA/FTP_DATA/WFC-m# Adding a firewall rule vim/etc/sysconfig/iptables# Add in the appropriate location-A Input-p TCP--dport +-J ACCEPT-A Input-p TCP--dport30000:30500-J Acceptservice iptables restart# Pure-ftpd Command Help # View existing users/usr/local/pure-ftpd/bin/pure-PW list# Delete User/USR/LOCAL/PURE-FTPD/BIN/PURE-PW Userdel $user-m# Change Password/usr/local/pure-ftpd/bin/pure-pwpasswd$user-M
CentOS Installation PURE-FTPD