Centos7查看开启关闭firewalld 10 10, 2020 1 min read Centos7查看开启关闭firewalld systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 firewall-cmd --state #查看默认防火墙状态 #(关闭 Centos firewalld 防火墙
Centos7查看开启关闭iptables 10 10, 2020 1 min read iptables CentOS 配置防火墙操作实例(启、停、开、闭端口): 注:防火墙的基本操作命令: 查询防火墙状态: [root@localhost ~]# service iptables status 停止防火墙: [root@localhost ~]# service iptables stop 启动防火墙: [root@localhost ~]# service iptables Centos iptables 防火墙
Centos7更改主机名 10 10, 2020 2 min read 在CentOS7中,有三种定义的主机名: 静态的(Static hostname) “静态”主机名也称为内核主机名,是系统在启动时从/etc/ho Centos Hostname
Centos7关闭SELinux 10 10, 2020 1 min read CentOS7关闭SELinux 查看状态 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 临时关闭 ##设置SELinux 成为permissive模式 ##setenforce 1 设置SELinu Centos SELinux
vsftpd主目录权限(无法写入,连接失败)解决方法 10 10, 2020 1 min read vsftpd主目录权限(无法写入,连接失败) 当限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误: 500 OOPS: vsftpd: refusing to run with writable root inside vsftp centos ftp