centos7: vsftpd安裝及啓動

安裝:centos

yum -y install vsftpdapp

service vsftpd start  注意這句:centos7不能這麼啓動了tcp

chkconfig vsftpd oncentos7

 

vsftpd.conf配置orm

/etc/vsftpd/vsftpd.confblog

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

  

啓動:it

/bin/systemctl start vsftpd.service

  

加入開機啓動:form

原來的:
chkconfig vsftpd on

centos7:
/bin/systemctl enable vsftpd.service

查看:
/bin/systemctl -l
/bin/systemctl -l | grep vsftpd
相關文章
相關標籤/搜索