如何快速上手CentOS8( 三 )

  • cockpit-ws.i686 195.1-1.el7.centos base
  • subion-manager-cockpit.noarch 1.24.13-3.el7.centos updates
    • CentOS8
    1. [root@pangu ~]# dnf list |grep cockpit
    2. cockpit.x86_64 185.1-1.el8_0 @BaseOS
    3. cockpit-bridge.x86_64 185.1-1.el8_0 @BaseOS
    4. cockpit-packagekit.noarch 184.1-1.el8 @AppStream
    5. cockpit-system.noarch 185.1-1.el8_0 @BaseOS
    6. cockpit-ws.x86_64 185.1-1.el8_0 @BaseOS
    7. cockpit.i686 185.1-1.el8_0 BaseOS
    8. cockpit-bridge.i686 185.1-1.el8_0 BaseOS
    9. cockpit-composer.noarch 0.1.8-1.el8 AppStream
    10. cockpit-dashboard.noarch 184.1-1.el8 AppStream
    11. cockpit-doc.noarch 185.1-1.el8_0 BaseOS
    12. cockpit-machines.noarch 184.1-1.el8 AppStream
    13. cockpit-pcp.x86_64 184.1-1.el8 AppStream
    14. cockpit-session-recording.noarch 1-29.el8 AppStream
    15. cockpit-storaged.noarch 184.1-1.el8 AppStream
    16. cockpit-ws.i686 185.1-1.el8_0 BaseOS
    17. subion-manager-cockpit.noarch 1.23.8-35.el8 BaseOS
    firewalld 守护使用 nftables 作为默认后端nftables 框架替换了 iptables 默认网络数据包过滤工具 , 可以通过nft 命令可编程式的配置防火墙 。
    查看规则
    1. [root@pangu ~]# nft list table filter
    2. table ip filter {
    3. set blackhole {
    4. type ipv4_addr
    5. }
    6.  
    7. chain INPUT {
    8. type filter hook input priority 0; policy accept;
    9. }
    10.  
    11. chain FORWARD {
    12. type filter hook forward priority 0; policy accept;
    13. }
    14.  
    15. chain OUTPUT {
    16. type filter hook output priority 0; policy accept;
    17. }
    18. }
    nft -i 打开交互配置模式 , 具体用法可以参考nftables官方文档 https://wiki.nftables.org/wiki-nftables/index.php/Simplerulemanagement
    本文作者:左国才 , VIPKID运维工程师 , 笔名icai , 主要研究开源Linux操作系统 , 数据库 , 云计算领域相关技术 , 平时喜欢阅读脚本之家公众号 。

    【如何快速上手CentOS8】


    推荐阅读