Pure-ftpd installation tutorial (excellent FTP service)

Source: Internet
Author: User
Yum-y install Pam-develwget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.36.tar.gztar zxf pure-ftpd-1.0.36.tar.gzcd pure-ftpd-1.0.36. /configure -- prefix =/usr/local/pure-ftpd/-- With-puredbmake & make check & make installmkdir-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.36/configuration-filevim/usr/local/pure-ftpd-1.0.36/configuration-file/pure-ftpd.conf # pure-ftpd.conf in the configuration file # specify the PDB location puredb/usr/local/pure- ftpd/etc/pureftpd. PDB # modify port passiveportrange 30000 30500 chmod 777/usr/local/pure-ftpd-1.0.36/configuration-file/pure-config.pl/usr/local/pure-ftpd-1.0.36/configuration-file/pure-config.pl/usr/local/pure-ftpd-1.0.36/ configuration-file/pure-ftpd.confgroupadd ftp_useruseradd wfc_ftpgpasswd-A wfc_ftp ftp_user # view group information Id wfc_ftp # Probably output the following content # uid = 502 (wfc_ftp) gid = 503 (wfc_ftp) group = 503 (wfc_ftp), 502 (ftp_user) # create the user's FTP root directory mkdir-P/data/ftp_data/wfcchown wfc_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-u 502-G 503-D/data/ftp_data/WFC-M # add firewall rule Vim /etc/sysconfig/iptables # Add-A input-p tcp -- dport 21-J ACCEPT-A input-p tcp -- dport 30000 at the appropriate position: 30500-J accept # Heavy Load firewall rule service iptables restart # view existing users/usr/local/pure-ftpd/bin/pure-PW list # delete users/usr/local/pure- ftpd/bin/pure-PW userdel $ user-M # Change Password/usr/local/pure-ftpd/bin/pure-PW passwd $ user-m


 

Pure-ftpd installation tutorial (excellent FTP service)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.