1. 在root目录下运行ftp 210.51.32.116获取以下文件:
[code]proftpd-1.2.8.tar.gz
sysctl.conf
proftpd.conf
sshd_config
iptables_for_ftp.sh
update.sh[/code]
2. tar -zxvf proftpd-1.2.8.tar.gz
[code]cd proftpd-1.2.8
./configure;make;make install[/code]
3. cp ./contrib/dist/rpm/proftpd.init.d /etc/rc.d/init.d/proftpd
chmod o+x /etc/rc.d/init.d/proftpd # 添加执行权限
vi /etc/rc.d/init.d/functions # 修改配置文件,增加in.proftpd
PATH后增加:/usr/local/sbin # 的执行路径
4. chkconfig --level 3 proftpd on # 使proftpd开机运行
5. useradd -d /ftproot upload # 增加上传帐号
passwd upload # 设置upload帐号密码为mir3|+_)(loadup
[code]cd ~
chmod o+x update.sh;./update.sh[/code]
重启机器,验证成功与否.