Pertama
yum remove vsftpd
Lalu
yum
install
gcc-c++
(buat ./configure)
Download dan Install proftpd dari ftp://ftp1.ca.proftpd.org/pub/proftpd/devel/
cd /usr/local/src/
wget http://www.mirrorservice.org/sites/ftp.proftpd.org/historic/source/proftpd-1.3.1.tar.gz
tar xvfz proftpd-1.3.1.tar.gz
cd proftpd-1.3.1/
./configure --sysconfdir=/etc
make
make install
cd ..
rm -fr proftpd-1.3.1*
Bikin symlink di /usr/sbin
ln
-s /usr/
local
/sbin/proftpd /usr/sbin/proftpd
Script init.d
wget http://ymgen.com/
proftpd.init -O /etc/init.d/proftpd
chmod
755 /etc/init.d/proftpd
Konfigurasi
Ubah tambahkan konfigurasi berikut ke file konfigurasi proftpd di /etc/proftpd.conf;
Group nobody
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
chkconfig --levels 235 proftpd on
/etc/init.d/proftpd start
0 comments:
Post a Comment