Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa4204f

Browse files
committed
m
1 parent ef7089f commit fa4204f

11 files changed

+5
-2
lines changed

05k8s(192.168.0.20)/01admin/01init.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
# qq group:573283836
44

55
yum install wget -y
6-
yum install -y telnet nmap curl
6+
yum install -y telnet nmap curl tcping
77
yum install unzip -y
88
yum install traceroute -y
99
yum install mtr -y
1010

1111
systemctl stop firewalld.service
1212
systemctl disable firewalld.service
1313

14+
#关掉selinux enforcing:强制模式 permissive:宽容模式 disabled:关闭
1415
sed -i "s/=enforcing/=disabled/g" /etc/selinux/config
1516
cat /etc/selinux/config
1617
setenforce 0
1718

19+
#关掉大页内存
1820
cat >/etc/rc.local << EOF
1921
#!/bin/bash
2022
touch /var/lock/subsys/local
@@ -32,8 +34,8 @@ cat ~/.bashrc
3234
cat >/etc/sysctl.conf <<EOF
3335
net.ipv4.ip_forward=1
3436
EOF
35-
3637
systemctl restart network
38+
#查看
3739
sysctl net.ipv4.ip_forward
3840

3941

worddoc/01 Docker下载.docx

137 KB
Binary file not shown.
1.7 MB
Binary file not shown.
115 KB
Binary file not shown.
404 KB
Binary file not shown.
13.7 KB
Binary file not shown.

worddoc/4Centos7 搭建JDK1.8.docx

212 KB
Binary file not shown.
297 KB
Binary file not shown.
211 KB
Binary file not shown.

worddoc/Docker从1.docx

200 KB
Binary file not shown.

0 commit comments

Comments
 (0)