Linux installation

1. Install Linux

Learning Linux requires an environment, so we need to install and create a virtual machine, and then install a corresponding system such as Centos on the virtual machine to learn. Next, let’s install the virtual machine together!

1.1 What is a VM

A virtual component is one that allows you to run two or more Windows, LINUX, etc systems simultaneously on one machine. It emulates a standard PC environment. This environment is like a real computer, with chipset, CPU, memory, video card, sound card, network card, floppy drive, hard disk, cd-rom drive, serial port, parallel port, USB controller and so on.

1.2 Common Virtual Software

  1. VMware Workstation –> Here we choose to install this
  2. VirtualBox

Required software, Baidu Cloud disk address:

Link: pan.baidu.com/s/1MhHwheW2… Extract code: Z6IG

2 Install the VMWare VM

2.1 Installation Procedure

  1. Right-click to run the installation as an administrator

  2. After opening, press Next:

  3. After clicking receive license, also the next step:

  4. You can customize the path, but do not have a Chinese path.

  5. Click Next:

  6. Again click Next:

  7. Finally click install:

  8. And we’re done!

2.2 After the installation, enter the registration code

  1. When the installation is complete, the desktop will start the icon, double-click the icon on the desktop, and then enter the corresponding registration code (in the corresponding key.txt) :

  2. Once you enter it, you’re done.

  3. The VM home page is displayed

At this point, our virtual machine is installed through.

3. The VM installation fails

3.1 Problem 1:

This software requires VC++2017 or above version of the environment, if no back installation fails

“Lack of VC library” prompt during installation

Solution Steps:

  1. Check whether VC++2017 is installed

    If already installed, ignore the following steps

  2. If you don’t have VC++2017, you need to install it, and the corresponding VC++ library is also provided here

    Just double-click to install the next step, after the installation is complete, you need to restart the computer.

  3. Uninstall VMWare VMS completely

    If the VMWare software fails to be installed or needs to be reinstalled, you need to uninstall the VMWarte software completely

    • Uninstall software

    • Clear the registry

      Install CCLear: This can be searched online and downloaded. Then run the installation as an administrator, and the next step is to open the software.

    • Click scan as shown below

    • After scanning, click the “Fix Selected Issues” button to process all registry spam,

    • At this point, the VMWare VM software is completely uninstalled

      Then run the VMWare software again as an administrator

3.2 Problem 2:

VMWare VM startup failed:

Error message: VMware Workstation cannot connect to the virtual machine. Make sure you have access to the program, to all directories used by the program, and to all temporary file directories. The VMX process exits early. Procedure

Solution Steps:

  1. Windons +R Open the Windows service list and run the services. MSC command to access the service list

  2. Find all VMWare services and make sure they are up and running

  3. If any service does not start, you need to manually start it. If the manual start fails, you need to restart the COMPUTER to try again

  4. Restart the VM again.

4. Install the Linux centos

Installation Steps:

  1. On the VM main window, click File -> New VM to create a NEW VM

  2. In the dialog box that is displayed, select a typical installation

  3. Select I will install the operating system later.

  4. Select The Boot system is Linux and the system version is CentOS

  5. Select the installation location and give a name to the virtual machine you want to create

  6. Determine the maximum disk usage

  7. The image file is the Centos7 image file on the Baidu Cloud disk.

  8. Set the network adapter to the NAT connection network mode

    The Full name of NAT in English is Network Address Translation, which means Network Address Translation in Chinese. NAT enables an internal Network to connect to the Internet or other IP networks. The Linux OPERATING system (OS) of the VM and the Windows host form a LOCAL area network (LAN) and share the External network of the Windows host.

  9. Machine “assembly” complete, start the machine installation system

  10. Start the machine to install the system

  11. To boot the installation, click Next

  12. Click to continue, enter the following interface -> select development tools

  13. Click the installation location –> click and select complete

  14. Set the extranet card to open

  15. Set the nic automatic connection

  16. The configuration is complete and the system is installed

  17. Set the root administrator password. After setting, the installation is underway.

  18. Best point restart OK! –> Boot The system restarts. Enter the user name and password to enter the Linux system

    If you see the above information, you have successfully entered the Linux system.

Note: If there are any mistakes and suggestions, please leave a message! If this article is also helpful to you, I hope you give a lovely and kind attention, thank you very much! You can also search wechat prince Nezha public account private chat with me, thank you!