您好,欢迎来到二三四教育网。
搜索
您的当前位置:首页安装配置proftpd

安装配置proftpd

来源:二三四教育网

检查ftp服务是否已经在运行
netstat -nlp | grep 21

ps aux | grep ftp

检查ftp服务是否已经安装
service proftpd status

安装proftpd
yum install -y proftpd

编辑配置文件
vim /etc/proftpd.conf

修改端口

#新增
Port                            21    
 #修改
DefaultRoot                     ~ 

#以下内容新增:
<Limit LOGIN>
  AllowUser work
  DenyAll
</Limit>
<Directory /*>
  AllowOverwrite                on
</Directory>

启动 proftpd
service proftpd restart

Copyright © 2019- how234.cn 版权所有 赣ICP备2023008801号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务