[ Configuration ftp ]
Install Redhat / CentOS system maybe you'll even with the ftp on the equipment, the system default with the ftp is vsftp , more commonly, configuration is also very simple. However, I often use the ftp software Pure-ftpd . Because this software than vsftp configuration more flexible and secure. Now is the author Configuration pure-ftpd process:
Download the latest pure-ftp source package pure-ftpd-1.0.21.tar.bz2
# wget http://syslab.comsenz.com/downloads/linux/pure-ftpd-1.0.21.tar.bz2
#tar jxvf pure-Fatpd-Lk0k2lktrkbsh2
#cd pure-ftpd-1.0.21
./configure \
"--prefix=/usr/local/pureftpd" \
"--without-inetd" \
"--with-altlog" \
"--with-puredb" \
"--with-throttling" \
"--with-largefile" \
"--with-peruserlimits" \
"--with-tls" \
"--with-language=simplified-chinese"
#make && make install
start up
Configuration file
#mkdir /usr/local/pureftpd/etc
#cd configuration-file
#cp pure-ftpd.conf /usr/local/pureftpd/etc/pure-ftpd.conf
#cp pure-config.pl /usr/local/pureftpd/sbin/pure-config.pl
#chmod 755 /usr/local/pureftpd/sbin/pure-config.pl
Before starting the pure-ftp need to modify the configuration file, the configuration file for the /usr/local/pureftpd/etc/pure-ftpd.conf, you can look into it, which a lot of content, good English if you can conscientiously study the following is my profile, if you find it troublesome to directly copy the past.
____________________________________
ChrootEveryone yes
BrokenClientsCompatibility no
MaxClientsNumber 50
Daemonize yes
MaxClientsPerIP 8
verboselog not
DisplayDotFiles yes
AnonymousOnly no
NoAnonymous not
SyslogFacility ftp
DontResolve yes
MaxIdleTime 15
PureDB /usr/local/pureftpd/etc/pureftpd.pdb
LimitRecursion 2000 8
AnonymousCanCreateDirs no
MaxLoad 4
AntiWarez yes
Umask 133:022
MinUID 100
AllowUserFXP no
AllowAnonymousFXP no
ProhibitDotFilesWrite not
ProhibitDotFilesRead not
AutoRename not
AnonymousCantUpload no
PIDFile /usr/local/pureftpd/var/run/pure-ftpd.pid
MaxDiskUsage 99
CustomerProof yes
#################################### this end, save it ####### ##################
Start command: /usr/local/pureftpd/sbin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf
####### followed by the establishment of a user ###############
# / Usr / local / pureftpd / bin / pure-pw useradd ftp_test -u www -d / data / wwwroot wherein, -u virtual user ftp_test system user www associated together. -d parameter enables ftp_test can only access their home directories. After executing the above command, you will be prompted to enter the password.
# /usr/local/pureftpd/bin/pure-pw mkdb