1、关闭防火墙 systemctl stop firewalld.service 停止firewall systemctl disable firewalld.service 禁止firewall开机启动 2、切换用户 3、编辑静默安装文件 4、修改配置文件 以下参数不要更改 [GENERAL] R ...
分类:
数据库 时间:
2019-08-15 22:57:14
阅读次数:
142
[toc] 环境: 前提: 1.基于主机名通信: /etc/hosts; 2.时间同步; 3.暂时关闭firewalld和iptables.service 4.k8s尽量装最新版,版本更新太快,旧版本说不定有bug OS:Centos 7.3.1611,Extras仓库中; 安装配置步骤: 1、et ...
分类:
其他好文 时间:
2019-08-15 13:09:51
阅读次数:
100
安装Gitlab 关闭firewalld防火墙和selinux防火墙,如图1-2;[root@localhost ~]# systemctl stop firewalld[root@localhost ~]# systemctl disable firewalld[root@localhost ~] ...
分类:
其他好文 时间:
2019-08-15 11:18:20
阅读次数:
146
准备2台机器,3个ip 建立互通并安装软件 #关闭两台防火墙systemctl disable firewalldsystemctl stop firewalld#在/etc/selinux/config中把enforcing设为disableenforcing=disable #在node01,和 ...
分类:
Web程序 时间:
2019-08-09 23:29:58
阅读次数:
153
修改IP 查看进程 lsof -i:端口 杀掉 kill -9 pid 永久关闭防火墙 systemctl stop firewalld.service 查看空间大小 df -h 编辑文件 首先我们使用命令 vi filename 打开一个文件,这个时候进入到的是命令模式 接下来我们按i,然后键盘随 ...
分类:
系统相关 时间:
2019-08-09 21:15:33
阅读次数:
129
systemctl status firewalld 查看防火墙状态 systemctl stop firewalld 暂时关闭防火墙 systemctl enable firewalld 开启防火墙 systemctl disable firewalld 永久关闭防火墙 systemctl res... ...
分类:
系统相关 时间:
2019-08-09 19:31:59
阅读次数:
128
#!/bin/bashsetenforce 0sed -i 's/=enforcing/=disabled/g' /etc/selinux/configsystemctl start firewalldsystemctl enable firewalld rm -rf /etc/yum.repos. ...
分类:
其他好文 时间:
2019-08-08 19:08:20
阅读次数:
98
待完善CentOS7测试哈哈#!/bin/bash#**************************************************************#Author:哈啰#QQ:599503252#Date:2019-08-08#FileName:install_httpd.sh#URL:https://blog.51cto.com/14012942#Descriptio
分类:
Web程序 时间:
2019-08-08 18:47:32
阅读次数:
144
服务端192.168.1.15客户端192.168.1.1571服务端安装过程1.下载nfs-utils和rpcbindyuminstall-ynfs-utilsrpcbind2.启动rpcbind(必须先启动)systemctlstartrpcbind3.启动nfs-utilssystemctlstartnfs4.查看进程psaux|grepnfspsaux|greprpcbind5.设置开机自
分类:
系统相关 时间:
2019-08-07 17:28:10
阅读次数:
134
service是firewalld中另外一个非常重要的概念。还是拿门卫的例子来解释。 在iptables的时代我们给门卫下达规则时需要告诉他“所有到22号楼的人全部予以放行”、“所有到80号楼的人全部予以放行”等等, 不过到了firewalld的时代就不需要这样了, 而是可以直接下达像“到销售部的全 ...
分类:
其他好文 时间:
2019-08-05 14:26:16
阅读次数:
124