Linux under PURE-FTPD Compile installation configuration steps detailed

Source: Internet
Author: User
Tags curl mkdir

Mkdir-p/HOME/SRC
Cd/home/src

# # Download Source Package
Wget-c http://lnmp.xiaobai.com/1.0/src/pure-ftpd-1.0.29.tar.gz

# # Decompression
Tar zxvf pure-ftpd-1.0.29.tar.gz

# # Enter Directory
CD pure-ftpd-1.0.29
# # Compile Installation
./configure–prefix=/usr/local/webserver/pure-ftpd–with-everything–with-throttling && Make && make Install

# # Download Startup script
Curl Http://lnmp.xiaobai.com/1.0/conf/pure-config.pl-o/usr/local/webserver/pure-ftpd/sbin/pure-config.pl
chmod +x/usr/local/webserver/pure-ftpd/sbin/pure-config.pl

# # Download configuration file
Mkdir-p/usr/local/webserver/pure-ftpd/etc
Curl Http://lnmp.xiaobai.com/1.0/conf/pure-ftpd.conf-o/usr/local/webserver/pure-ftpd/etc/pure-ftpd.conf

# # Add System user groups and users
Groupadd Ftpgroup
Useradd-g ftpgroup-d/dev/null-s/etc ftpuser

# # Add FTP virtual user
/USR/LOCAL/WEBSERVER/PURE-FTPD/BIN/PURE-PW useradd abcuser-u ftpuser-d/home/web

# # Update FTP user database
/USR/LOCAL/WEBSERVER/PURE-FTPD/BIN/PURE-PW MKDB

# # FTP Start command
/usr/local/webserver/pure-ftpd/sbin/pure-config.pl/usr/local/webserver/pure-ftpd/etc/pure-ftpd.conf &

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.