上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: cat>/etc/yum.repos.d/CentOS-Base.repo<<EOF # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update stat 阅读全文
posted @ 2023-09-04 14:06 vmsysjack 阅读(46) 评论(0) 推荐(0) 编辑
摘要: ubuntu安装NFS # config NFS Server apt install -y nfs-common apt install -y nfs-kernel-server apt install -y rpcbind cat>/etc/exports<<EOF /data *(rw,no_ 阅读全文
posted @ 2023-08-31 20:21 vmsysjack 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # # system init config # cat>/root/iplist.csv<<EOF 2102312PRH10L1000305,enp133s0,168.31.0.14/24,10,bond4,enp131s0,enp132s0,802.3ad,168.17. 阅读全文
posted @ 2023-08-31 19:43 vmsysjack 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # 单网卡配置IP地址 network: version: 2 renderer: networkd ethernets: enp131s0: addresses: [ 168.17.0.5/24 ] gateway4: 168.17.0.1 nameservers: addresses: - "1 阅读全文
posted @ 2023-08-31 14:28 vmsysjack 阅读(140) 评论(0) 推荐(0) 编辑
摘要: apiVersion: v1 kind: ConfigMap metadata: name: rings-config-mindx-dls-test # The value of JobName must be the same as the name attribute of the follow 阅读全文
posted @ 2023-08-26 15:14 vmsysjack 阅读(40) 评论(0) 推荐(0) 编辑
摘要: hostname > /etc/hostname cat>/etc/hosts<<EOF 127.0.0.1 localhost 168.7.10.234 master01 168.7.10.235 master02 168.7.10.236 cli 168.7.10.237 agent EOF # 阅读全文
posted @ 2023-08-25 19:10 vmsysjack 阅读(51) 评论(0) 推荐(0) 编辑
摘要: mkdir -p ~/repo.$$ && mv /etc/apt/source.list ~/repo.$$ cat>/etc/apt/source.list<<EOF deb http://mirrors.huaweicloud.com/ubuntu-ports/ bionic main mul 阅读全文
posted @ 2023-08-22 19:35 vmsysjack 阅读(28) 评论(0) 推荐(0) 编辑
摘要: apiVersion: v1 kind: Pod metadata: name: pod-2 # labels: # run: mytest-pod-2 spec: containers: - imagePullPolicy: IfNotPresent image: httpd name: http 阅读全文
posted @ 2023-08-20 11:16 vmsysjack 阅读(27) 评论(0) 推荐(0) 编辑
摘要: ##################################################### # # 创建CA X509 version 1.0根证书 # ##################################################### #创建证书存放目录 C 阅读全文
posted @ 2023-08-19 22:38 vmsysjack 阅读(5) 评论(0) 推荐(0) 编辑
摘要: port详解 port:port是k8s集群内部访问service的端口,即通过clusterIP: port可以访问到某个service nodePort:nodePort是外部访问k8s集群中service的端口,通过nodeIP: nodePort可以从外部访问到某个service。 targ 阅读全文
posted @ 2023-08-18 15:31 vmsysjack 阅读(23) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页