[study k8s]Create a mock environment using VMware
2020-06-01
2 min read
I began to practice using k8s
I know I need at least three machines to work together
One master node and two worker nodes
Today I'm going to use a virtual machine to build a Centos7.0 64 server
prepare
- Installation kit for centos
- VMware
- 6G RAM and 6 Core (2G RAM 2 Core for one node)
configuration environment
- new an environment and choose ios install later.
- Choose Linux Centos 7 to install
- Use two core
- Distribution of 2048 MB
- The hard disk is set to 100GB
- Everything else is configured by default So that's configured
Let's start the installation
- Configure the installer you just downloaded
- Choose your locale Chinese is basically at the end
- Configure the warehouse source
I mentioned that the Chinese network is very special and needs to rely on a unique mirror image
- You still have to open the web link before you do that
- use aliyun mirror
http://mirrors.aliyun.com/centos/7/os/x86_64/
- Install only the smallest part
- Configure the password for root
- Wait for the installation to complete
accomplish
login test the install
summary
I thought installing a virtual machine would be easy
But there are always problems
For example, setting the mirror source
If I don't translate English in the interface carefully
I wouldn't have known to turn on the Internet first
Fortunately, these problems have been solved through my own exploration
Get into the rest of the study~
2020/6/1