zoukankan      html  css  js  c++  java
  • [adminstrative][CentOS] CentOS 7 常用操作笔记

    CentOS从6换到7, 还没有系统的学习。虽然主要用的是systemd,但还是有一下特有的区别,会逐步整理如下:

    官网文档索引:https://access.redhat.com/documentation/en/red-hat-enterprise-linux/

    管理员手册:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/index.html

    一,关于 firewall 和 iptables

    https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html

    简单来说,就是firewalld 替换了 iptables。详细的使用,略了。firewalld的底层还是用iptables命令与内核通信的,只是上层逻辑更复杂了(或者更简单了?)

    以前的操作是:

    service iptables stop

    现在换成:

    systemctl disable firewalld

    二, 关掉 selinux

      与之前版本一样。

    [root@t206 ~]# sed -i "s/SELINUX=*/SELINUX=disabled/" /etc/selinux/config 
  • 相关阅读:
    推箱子
    去掉两个最高分、去掉两个最低分,求平均分
    投票选班长
    彩票
    闰年、平年
    闹钟
    手机号抽奖
    for练习--侦察兵
    兔子、棋盘放粮食、猴子吃桃
    for练习--凑法
  • 原文地址:https://www.cnblogs.com/hugetong/p/6928793.html
Copyright © 2011-2022 走看看