03 2023 档案
摘要:#!/bin/bash L1="\E[0;41m" R1="\E[0m \n" backPatch sshdConfPath=/etc/ssh sshdConf=sshd_config cp -pf ${sshdConfPath}/${sshdConf} /etc/ssh/sshd_config.b
阅读全文
摘要:前置条件:已有 一台外网服务器(用于镜像转存、yaml文件下载)、ceph 集群和 kubernetes 集群 参考文档:Block Devices and Kubernetes — Ceph Documentation 创建存储池 先在 ceph 集群创建 k8s 的存储池 # 存储池名 存储池p
阅读全文
摘要:#需要有外网服务器!!! #!/bin/bash echo -e "\E[0;41m 私有仓库需要提前登录!! \E[0m \n" checkEv() { if [ $1 == 0 ]; then echo -e "\E[0;42m 成功 !!!! \E[0m \n" else echo -e "\
阅读全文