od-k8s一期笔记-环境准备

1、环境准备

hostname

配置 IP 网关
zyjc7-11 1C,1G 10.4.7.11 10.4.7.254
zyjc7-12 2C,2G 10.4.7.12
zyjc7-21 2C,2G 10.4.7.21
zyjc7-22 2C,2G 10.4.7.22
zyjc7-200 1C,1G 10.4.7.200

 2、功能架构图

3、基本操作,selinux设置为disabled,firewalld进行关闭,并卸载,swap需要关闭。

4、配置yum源地址,原有的yum进行删除

curl  -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl  -o  /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum makercache

5、安装基础包

yum  -y install  wget  bash-completion  vim iproute  rsync net-tools telnet  tree   nmap  sysstat  lrzsz  bind-utils 

 

posted @ 2022-03-28 10:11  mmniu  阅读(34)  评论(0编辑  收藏  举报