1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
http://www.proftpd.org > wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz > tar -xvzf proftpd-1.2.9.tar.gz > cd proftpd-1.2.9 > ./configure --prefix=/usr/local --sysconfdir=/etc \ --localstatedir=/var/run > make > make install > cd contrib/dist/rpm > cp proftpd.init.d /etc/init.d/proftpd > chmod 755 /etc/init.d/proftpd > cp proftpd.logrotate /etc/logrotate.d/proftpd > cp ftp.pamd /etc/pam.d/ftp > groupadd nogroup Edit /etc/proftpd.conf a. Comment out the section from: <Anonymous ~ftp> to </Anonymous> b. Add the following line to the end of the file: DefaultRoot ~ Save the modified config file. > chkconfig --add proftpd > chkconfig --level 345 proftpd on > service proftpd start |