首页 > 其他 > 详细

centos7: vsftpd安装及启动

时间:2018-07-20 10:48:52      阅读:200      评论:0      收藏:0      [点我收藏+]

安装:

yum -y install vsftpd

service vsftpd start  注意这句:centos7不能这么启动了

chkconfig vsftpd on

 

vsftpd.conf配置

/etc/vsftpd/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
xferlog_std_format=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
tcp_wrappers=YES

  

启动:

/bin/systemctl start vsftpd.service

  

加入开机启动:

原来的:
chkconfig vsftpd on

centos7:
/bin/systemctl enable vsftpd.service

查看:
/bin/systemctl -l
/bin/systemctl -l | grep vsftpd

  

centos7: vsftpd安装及启动

原文:https://www.cnblogs.com/achengmu/p/9339551.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!