3 - Install CentOS with Virtual Machine

Prerequisites:

  • Hyper-V Virtual machine
  • CentOS7 iso image

Install CentOS on Hyper-V Virtual machine:

  1. Launch virtual machine k8s-master.
    Highlight vitual machine k8s-master which we just created, then click on Start
    3 - Install CentOS with Virtual Machine
  2. Once k8s-master started, then click on Connect, then we will get a new prompt window to start installation.

    3 - Install CentOS with Virtual Machine

  3. Tap arrow key on keyboard to select first option Install CentOS 7, then Enter. After a few health check, we'll enter into Installation wizard.
    3 - Install CentOS with Virtual Machine

     

  4. Pick your favorite language or mother language, i will leave it as default English, then click on Continue.
    Now we enter to am important screen, be careful to configure each options here
    3 - Install CentOS with Virtual Machine
  5. Click on Date & Time, pick Asia, City for Shanghai
  6. Keyboard leave it as default
  7. LANGUAGE SUPPORT leave it as default
  8. INSTALLATION SOURCE leave it as default
  9. SOFTWARE SELECTION, as it's going to be a Linux Server, highly suggest do not choose GUI, try to survive with Command line.
    We choose Minimal Install, and Add-Ons Compatibility Libraries, Development Tools
    3 - Install CentOS with Virtual Machine
  10. INSTALLATION DESTINATION, we go with Automatic participation
    3 - Install CentOS with Virtual Machine
  11. KDUMP, leave it as default
  12. NETWORK & HOST NAME, enable Ethernet (eth0)
    3 - Install CentOS with Virtual Machine
  13. SECURITY POLICY, leave it as default. Then click on Begin Installation, went into system installation.
    3 - Install CentOS with Virtual Machine

  14. Click on ROOT PASSWORD, change root password to what you like. Then wait installation to finished.
    3 - Install CentOS with Virtual Machine
  15. Once installation finished, click on Reboot to restart CentOS
    3 - Install CentOS with Virtual Machine
  16. After restart, we get CentOS install successfully ! you can login with root user, enter it's password you changed on step 14
    3 - Install CentOS with Virtual Machine
  17. All done. Remember to repeat all above steps to install CentOS7 for virtual machine k8s-node1. 
    Next we will configure networks for virtual machine, setup Internal adapter let us connect to Virtual machine CentOS with xshell or MobaXterm, then setup External adapter to enable Virtual machine connect to Internet.
上一篇:虚函数和纯虚函数的区别


下一篇:Win10 安装 Python3 (上)