如何允许私有网络中的特定IP地址的流量,或者通过firewalld允许特定私有网络的流量,进入Red Hat Enterprise Linux(RHEL)或CentOS服务器上的特定端口或服务?在这篇短文中,您将学习如何为运行firewalld防火墙的RHEL或CentOS服务器中的特定IP地址或网 ...
分类:
其他好文 时间:
2020-09-17 13:52:41
阅读次数:
30
firewalld打开firewalldsystemctldisableiptables//关闭iptablessystemctlstopiptables//禁止iptables开机启动systemctlenablefirewalld//开启firewalldsystemctlstartfirewalld//让firewalld开机启动firewalld的9个zonefirewalld默认有9个z
分类:
其他好文 时间:
2020-09-11 16:09:32
阅读次数:
35
关闭防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 需要关闭 selinux,一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用 sed -i ...
分类:
其他好文 时间:
2020-09-04 17:35:16
阅读次数:
101
关闭防火墙 selinux systemctl stop firewalld.service #关闭防火墙 systemctl disable firewalld.service #关闭开机自启 setenforce 0 #临时解决selinux sed -i 's/^SELINUX=.*$/SEL ...
分类:
其他好文 时间:
2020-08-25 18:44:50
阅读次数:
60
1、zabbix数据库密码需要在配置文件中写好 vi /etc/zabbix/zabbix_server.conf DBName=zabbix DBUser=root --你的mysql用户名 DBPassword=123456 --根据你的密码填写 2、字体乱码 在有网络的情况下: yum -y ...
分类:
其他好文 时间:
2020-08-25 15:40:25
阅读次数:
68
环境:salt-master:centos7.8salt-minion(2台):centos6.10salt-minion(1台):centos7.8关闭selinux和firewalld,iptables开放4505和4506端口目的:通过salt-master实现对salt-minion的批量自动安装mysql步骤(都在master执行):1,检测连通性salt‘*‘test.
分类:
数据库 时间:
2020-08-24 16:46:46
阅读次数:
73
#!/bin/bash#日期:2020-08-13#功能:安装vnc-serverset-ex#1.安装linux默认的桌面;如果开机已安装"gnomeDesktop"的话,请忽略yumgroupinstall‘GNOMEDesktop‘-y#2.安装vnc-serveryuminstalltigervnctigervnc-server-y#3.写入vnc配置。编号500可随意,分辨率根据实际情况
分类:
其他好文 时间:
2020-08-17 16:49:38
阅读次数:
93
环境:服务端:centos7客户端:centos6,centos8,Ubuntu18关闭selinux,firewalld,ntpd服务软件包:chrony.x86_64.rpm服务名:chronydcentos安装:yuminstall-ychronyUbuntu安装:aptinstall-ychrony服务端:查看安装配置文件:rpm-qlchrony[09:13:39-root@localh
分类:
其他好文 时间:
2020-08-15 23:54:04
阅读次数:
91
pxe+KStart无人值守批量安装服务器操作系统 应用场景:100台服务器安装操作系统 pxe server部署dhcp、tftp、http(HTTP/FTP/NFS任选其一,本次部署采用HTTP)、Kickstart,用来提供安装所需要的系统文件以及所要安装的软件。关闭Firewalld/SEl ...
分类:
其他好文 时间:
2020-08-12 15:41:15
阅读次数:
84
1、centos中firewalld与iptables centos7以前的版本默认使用iptables服务进行管理防火墙规则。centos7以及其以上版本默认使用firewalld服务管理防火墙。所以在centos8中,就使用其默认的firewalld配置防火墙。 firewalld和iptabl ...
分类:
其他好文 时间:
2020-08-11 00:28:58
阅读次数:
103