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
相关文章
相关标签/搜索