[study k8s]Create a mock environment using VMware

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
    Installation kit for centos
  • VMware
  • 6G RAM and 6 Core (2G RAM 2 Core for one node)

configuration environment

  1. new an environment and choose ios install later.
    new an environment and choose ios install later.
  2. Choose Linux Centos 7 to install
    Choose Linux Centos 7 to install
  3. Use two coreUse two core
  4. Distribution of 2048 MB Distribution of 2048 MB
  5. The hard disk is set to 100GBThe hard disk is set to 100GB
  6. Everything else is configured by default So that's configured

Let's start the installation

  1. Configure the installer you just downloadedConfigure the installer you just downloaded
  2. Choose your locale Chinese is basically at the end
    Choose your locale
  3. Configure the warehouse source
    I mentioned that the Chinese network is very special and needs to rely on a unique mirror image
    Configure the warehouse source
  4. You still have to open the web link before you do that
    You still have to open the web link before you do that
  5. use aliyun mirror
    http://mirrors.aliyun.com/centos/7/os/x86_64/
    http://mirrors.aliyun.com/centos/7/os/x86_64/
  6. Install only the smallest part Install only the smallest part
  7. Configure the password for rootConfigure the password for root
  8. Wait for the installation to complete
    Wait for the installation to complete

accomplish

login test the install
Log in to check for success

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