其他分享
首页 > 其他分享> > (单) Kubernetes 安装

(单) Kubernetes 安装

作者:互联网

目录

基础配置

网络

vi /etc/sysconfig/network-scripts/ifcfg-ens33
>>>>
# 如下图

systemctl restart network

image

防火墙

systemctl stop firewalld
systemctl disable firewalld

镜像源

sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \
         -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' \
         -i.bak \
         /etc/yum.repos.d/CentOS-*.repo
yum makecache

时区

mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
date # 测试

swap

标签:network,Kubernetes,etc,systemctl,mirrorlist,安装,swap,localtime
来源: https://www.cnblogs.com/abc608088/p/16478388.html