文章

安装K8s(三)-K8s安装环境准备

安装K8s(三)-K8s安装环境准备

1.安装 ntp 时间同步服务:

1
2
3
yum install -y ntp
systemctl start ntpd
systemctl enable ntpd

2.设置国内时区:

1
2
3
# ll /etc/localtime
# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo "Asia/Shanghai" > /etc/timezone

3.关闭防火墙:

1
2
systemctl stop firewalld
systemctl disable firewalld
本文由作者按照 CC BY 4.0 进行授权