码迷,mamicode.com
首页 >  
搜索关键字:firewalld -cmd    ( 1148个结果
firewalld学习-zone
firewalld默认提供了九个zone配置文件: block.xml、dmz.xml、drop.xml、external.xml、home.xml、internal.xml、public.xml、trusted.xml、work.xml, 他们都保存在“/usr/lib/firewalld/zon ...
分类:其他好文   时间:2019-08-05 14:16:17    阅读次数:85
1、Red Hat 7.0 禁用firewalld和修改网卡
# 禁用firewalld:# systemctl stop firewalld # systemctl disable firewalld # 修改主机名: # hostnamectl set-hostname demo.example.com # 修改网卡: # nmcli device sta... ...
分类:其他好文   时间:2019-08-04 13:20:36    阅读次数:159
实验:基于http的yum源
实验:基于http的yum源 selinux,firewalld已经关闭‘,系统为CentOS7 repodata所在的目录就是yum源 下面介绍了如何把本地光盘通过httpd服务器变成yum源;多个源写到一个文件;把现有的rpm包创建成yum仓库; 一、VMware插入两张光盘,6和7 二、手动触 ...
分类:Web程序   时间:2019-08-03 21:15:18    阅读次数:170
基于http的yum源
实验:基于http的yum源selinux,firewalld已经关闭‘,系统为CentOS7一、VMware插入两张光盘,6和7二、手动触发系统的扫描机制[root@centos7html]#echo‘---‘>/sys/class/scsi_host/host0/scan[root@centos7html]#echo‘---‘>/sys/class/scsi_host/host1/
分类:Web程序   时间:2019-08-03 20:04:31    阅读次数:125
【linux】Centos7 iscsi服务搭建
Server:#yum -y install targetcli#systemctl stop firewalld.service#systemctl start target.service#systemctl enable target.service#fdisk /dev/vdbnp1+3Gw ...
分类:系统相关   时间:2019-07-28 20:07:40    阅读次数:148
防火墙SNAT和DNAT
内核参数 开启内核参数为1[root@zxw6 ~]# cat /proc/sys/net/ipv4/ip_forward0临时有效[root@zxw6 ~]# echo 1 > /proc/sys/net/ipv4/ip_forward[root@zxw6 ~]# cat /proc/sys/ne ...
分类:其他好文   时间:2019-07-28 15:38:42    阅读次数:104
在centOS 7 上部署ansible自动化运维环境
环境: 3台centos 7 mycat : 10.0.0.2 mariadb1: 10.0.0.3 mariadb2: 10.0.0.4 为了实验方便 firewalld、selinux均处于关闭状态 hosts文件均添加如下映射: 10.0.0.2 mycat 10.0.0.3 mariadb1 ...
分类:其他好文   时间:2019-07-27 14:25:48    阅读次数:103
Swarm搭建 Docker集群
一、环境准备 1、准备服务器如下: 172.19.230.69 node1 172.19.230.70 node2 172.19.230.64 node3 2、修改主机名: hostnamectl set-hostname node1 3、关闭防火墙 systemctl stop firewalld ...
分类:其他好文   时间:2019-07-26 10:47:30    阅读次数:114
LVS的NAT模式实践
一.准备三台虚拟机一台作为director(外网网卡:192.168.199.183,内网IP:192.168.1.178)两台作为realserver()两台作为realserver(rs1:内网IP:192.168.1.182rs2:内网IP:192.168.1.167)二.添加外网网卡,设置网络(将网络适配器改成桥接模式,网络适配器2改成NAT模式)重启虚拟机之后查看自己IP设置内网静态IP
分类:其他好文   时间:2019-07-24 17:54:23    阅读次数:91
新装虚拟机-2019-07-24日记
昨天新装了一个虚拟机,装了tomcat,jdk,准备随便扔一个应用上去跑着玩玩的,然后就发现被坑了。。。 1、tomcat启动正常不报错,但是主机就是无法访问,于是就用了 wget\curl在虚拟机中尝试,结果能通,怀疑防火墙于是 临时关闭防火墙 systemctl stop firewalld 永 ...
分类:其他好文   时间:2019-07-24 13:03:42    阅读次数:99
1148条   上一页 1 ... 36 37 38 39 40 ... 115 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!