Kubernetes1.30搭建教程
一、准备工作1、修改主机名(三个节点)123hostnamectl set-hostname k8s-master-1hostnamectl set-hostname k8s-node-1hostnamectl set-hostname k8s-node-2 2、添加host解析(三个节点)12345cat >> /etc/hosts << "EOF"10.0.0.100 k8s-master-110.0.0.101 k8s-node-110.0.0.102 k8s-node-2EOF 3、关闭一些不要的服务(三台节点)1、关闭selinux12sed -i 's#enforcing#disabled#g' /etc/selinux/configsetenforce 0 2、禁用防火墙,网络管理,邮箱1systemctl disable --now firewalld NetworkManager postfix 3、关闭swap分区1swapoff -a 注释swap分区12345cp /etc/fstab / ...
离线安装Centos7.9 Yum依赖
离线安装Centos7.9 Yum依赖下载方式1:如果有网的虚拟机还没有安装,可以直接1234yum install --downloadonly --downloaddir=/root/soft/gcc gccyum install --downloadonly --downloaddir=/root/soft/gcc++ gcc-c++ 方式2:如果有网的虚拟机已经安装过,可以12345yum -y install yum-utilsyumdownloader --resolve --destdir=/root/soft/gcc gccyumdownloader --resolve --destdir=/root/soft/gcc++ gcc-c++ 安装我这就强制安装了,因为逐个安装,很容易因为递进依赖,而报一堆错,需要下载一堆特别多的包。12rpm -ivh *.rpm --nodeps --force
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment



