setup 命令中防火牆配置選項無法開啟

2021-08-14 03:05:37 字數 1677 閱讀 3587

故障提示

#安裝setup

命令工具

yum -y install ntsysv  

#安裝setup

工具配套的系統服務元件

yum -y install system-config-securitylevel-tui

#安裝setup

工具配套的防火牆配置元件

yum -y install system-config-network-tui

#安裝setup

工具配套的網路配置元件

yum -y install authconfig-gtk #

安裝setup

工具配套的驗證配置元件

yum -y install system-config-keyboard #

安裝setup

工具配套的鍵盤配置元件

traceback (most recent call last):

file "/usr/bin/system-config-firewall-tui", line 29, in

import fw_tui

file "/usr/share/system-config-firewall/fw_tui.py", line 34, in

import fw_nm

file "/usr/share/system-config-firewall/fw_nm.py", line 30, in

bus = dbus.systembus()

file "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__

private=private)

file "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__

bus = busconnection.__new__(subclass, bus_type, mainloop=mainloop)

file "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__

bus = cls._new_for_bus(address_or_type, mainloop=mainloop)

dbus.exceptions.dbu***ception: org.freedesktop.dbus.error.filenotfound: failed to connect to socket /var/run/dbus/system_bus_socket: no such file or directory

yum install -y system-config-firewall system-config-firewall-tui dbus eggdbus && service messagebus start 

dbus-daemon --system
yum groupinstall "base" "debugging tools" "compatibility libraries" "development" -y

setup 命令中防火牆配置選項無法開啟

故障提示 安裝setup命令工具 yum y install ntsysv 安裝setup工具配套的系統服務元件 yum y install system config securitylevel tui 安裝setup工具配套的防火牆配置元件 yum y install system config...

firewall cmd 命令配置防火牆

firewall cmd 命令配置防火牆 firewall cmd是firewalld的字元介面管理工具,firewalld是centos7的一大特性,好處 1 支援動態更新 2 不用重啟服務.且加入了防火牆zone概念.firewalld和iptables的區別 1.安裝firewalld roo...

配置防火牆

今天學了下如何配置網路防火牆,用於過濾乙個段的ip位址不能訪問路由器。第二步開啟防火牆 firewall enable 第三步設定預設,允許或者禁止 firewall default permit 第四步設定規則 acl number 2001 rule 1 deny source 192.168....