就是笔记
防火墻設置(centos 7)
如果系統啟用了防火墻和SELinux,那么還要做以下配置(默認情況下centos7是使用firewall和selinux的,不在使用iptables)
防火墻添加FTP服務:
[root@localhost vsftpd]#firewall-cmd --permanent --zone=public --add-service=ftp
[root@localhost vsftpd]#firewall-cmd --reload
設置SELinux:
[root@localhost vsftpd]#getsebool -a | grep ftp
[root@localhost vsftpd]#setsebool -P ftpd_full_access on
轉載于:https://www.cnblogs.com/passlogs/p/7098981.html
總結
- 上一篇: tarnado源码解析系列一
- 下一篇: 简单的同步Socket程序服务端