如何快速、有效解决这个问题呢?
2) 官网http://www.castaglia.org/proftpd/下载最新mod case模块(proftpd-mod-case-0.7.tar.gz),并本地解压提取mod_case.c文件
3) 上传proftpd(proftpd-1.3.6.tar.gz)安装包至网管服务器
4) 解压proftpd安装包至当前目录
#tar -zxvf proftpd-1.3.6.tar.gz
5) 上传mod_case.c文件模块至proftpd-1.3.6/contrib目录
6) 编译并安装proftpd服务
#cd proftpd-1.3.6
#./configure --prefix=/usr/local/proftpd --sysconfdir=/etc/proftpd --with-modules=mod_case
#make
#make install
7) 编辑 /etc/proftpd/proftpd.conf,按照如下蓝色标注修改内容:
注意:以下MaxClients是新添加内容。
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 150
MaxClients 100
# Set the user and group under which the server will run.
User root
Group root
8) 编辑 /etc/proftpd/proftpd.conf,添加如下蓝色标注添加内容:
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Enable case-insensitivity for all FTP commands handled by mod_case
CaseEngine on
CaseIgnore RETR
RootLogin on
# Port 21 is the standard FTP port.
Port 21
9) 将附件proftpd(随机启动脚本)上传至/etc/rc.d/init.d目录
10) 关闭操作系统其它FTP服务(service vsftpd stop/chkconfig vsftpd off)
11) 设置proftpd随机启动
#chmod +x /etc/rc.d/init.d/proftpd
#chkconfig --add proftpd
#chkconfig proftpd on
12) 重启机器
#init 6
本文来源于:如何实现Linux FTP服务不区分大小写?-变化吧门户
特别声明:以上文章内容仅代表作者本人观点,不代表变化吧门户观点或立场。如有关于作品内容、版权或其它问题请于作品发表后的30日内与变化吧联系。
- 赞助本站
- 微信扫一扫
- 加入Q群
- QQ扫一扫
评论