VSFTP配置
防火墙设置
查看防火墙状态
firewall-cmd --state
结果包含: running 和 no running
sudo systemctl status firewalld
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service ----active(running)就意味着防火墙打开了
sudo systemctl stop firewalld --看到inactive(dead)就意味着防火墙关闭了
查看并安装vsftpd
执行以下命令进行查看
vsftpd -v
如果没有安装的话就执行以下命令进行安装:
yum -y install vsftpd
修改vsftpd.conf文件 vi /etc/vsftpd/vsftpd.conf
把anonymous_enable=YES ,改为NO ,然后重启vsftpd
重启
systemctl restart vsftpd
查看vsftpd服务的状态
systemctl status vsftpd.service
设置开机启动
systemctl enable vsftpd.service
查看IP地址
ip addr
博客主要介绍了VSFTP的配置过程,包括防火墙设置,如查看状态、停止服务、禁止开机启动;查看并安装vsftpd,修改配置文件;还涉及重启vsftpd服务、查看服务状态、设置开机启动,最后提到查看IP地址。
467

被折叠的 条评论
为什么被折叠?



