zoukankan      html  css  js  c++  java
  • 3

    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
    2. Once k8s-master started, then click on Connect, then we will get a new prompt window to start installation.

    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.
    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
    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
    10. INSTALLATION DESTINATION, we go with Automatic participation
    11. KDUMP, leave it as default
    12. NETWORK & HOST NAME, enable Ethernet (eth0)
    13. SECURITY POLICY, leave it as default. Then click on Begin Installation, went into system installation.


    14. Click on ROOT PASSWORD, change root password to what you like. Then wait installation to finished.
    15. Once installation finished, click on Reboot to restart CentOS
    16. After restart, we get CentOS install successfully ! you can login with root user, enter it's password you changed on step 14
    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.
  • 相关阅读:
    学习笔记1—多线程相关笔记
    【Java并发编程一】线程安全问题
    Intellij IDEA配置优化--转载
    idea使用阿里工具优化代码+阿里开发手册
    Navicat Premium 12.1.12.0安装与激活
    H5分享功能
    excel导出使用get请求参数过长问题
    百度地图Web引用
    idea通过mapper快速定位到xml文件
    Win10企业版永久激活方法(cmd命令)
  • 原文地址:https://www.cnblogs.com/waynewei/p/14851887.html
Copyright © 2011-2022 走看看