摘要: 临时设置 查看swap分区 使用free -h 命令 [root@localhost ~]# free -m total used free shared buff/cache available Mem: 2888 635 1630 13 622 1986 Swap: 3279 0 3279 开启 阅读全文
posted @ 2022-09-02 14:10 (应鑫) 阅读(263) 评论(0) 推荐(0)
摘要: 服务设置 查看防火墙状态 使用systemctl status firewalld命令 [root@localhost ~]# systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon L 阅读全文
posted @ 2022-09-02 13:37 (应鑫) 阅读(129) 评论(0) 推荐(0)
摘要: 永久设置 查看selinux 查看/etc/selinux/config文件 #enforce:开启;disabled:关闭;premissive:关闭但有警告提示 [root@localhost ~]# cat /etc/selinux/config # This file controls th 阅读全文
posted @ 2022-09-02 11:36 (应鑫) 阅读(303) 评论(0) 推荐(0)