Install and configure proftpd in Linux-Linux Enterprise Application-Linux server application information. For more information, see below. 1. Download
: Ftp://ftp.proftpd.org/distrib/source/
I downloaded the proftpd-1.3.0a.tar.gz download to the directory/gmm/soft below
2. Installation
# Cd/gmm/soft
# Tar zvxf proftpd-1.3.0a.tar.gz
# Cd proftpd-1.3.0a
#./Configure -- prefix =/myserver/proftp (first create the directory mkdir-p/myserver/proftp)
# Make; make install
3. modify the configuration document
# Vi/myserver/proftp/etc/proftpd. conf
Change Group nogroup to Group nobody.
4. Start the Service (add to System Service)
# Cp contrib/dist/rpm/proftpd. init. d/etc/rc. d/init. d/proftpd
# Vi/etc/rc. d/init. d/proftpd
Modify the following lines:
PATH = "$ PATH:/myserver/proftpd/sbin:/etc/proftpd/bin" (installation directory:/myserver/proftp)
# Chmod a + x/etc/rc. d/init. d/proftpd; modify the executable attributes of the script
# Chkconfig -- level 35 proftpd on; changed to auto start
#/Etc/rc. d/init. d/proftpd start Enable FTP service
5. log in as an anonymous user
The logon path of an anonymous user (anonymous or ftp) is/var/ftp.
Then, you can
Ftp: // ip
To access!
6. Create users that can be uploaded and downloaded (This article uses the ftpowner user)
# Useradd ftpowner-d/var/ftp-g ftp
# Passwd ftpowner
# Chown-R ftpowner. ftp/var/ftp // configure the user
# Chmod 755/var/ftp // configure the user and group permissions
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