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 
  • 相关阅读:
    set<char*>s
    sscanf()函数。
    C语言函数sscanf()的用法 (转载
    zjut 1179 平均数
    C++数据间隔
    C++ 保留小数
    c++ 保留小数
    c语言 保留两位小数
    c++ 如何实现保留小数并 且 不进行四舍五入
    uva-657-搜索
  • 原文地址:https://www.cnblogs.com/hugetong/p/6928793.html
Copyright © 2011-2022 走看看