Windows uses VMware to create a Linux virtual machine and install the CentOS7.2 operating system

Windows uses VMware to create a Linux virtual machine and install the CentOS7.2 operating system

1. Follow the wizard to create a virtual machine

The following are the steps to install a virtual machine. If there is nothing written, go to the next step.

【1】Homepage-Create a new virtual machine

【2】Select Custom (Advanced)

【3】Choose to install the operating system later

【4】Name the virtual machine and specify its location

【5】Configure the processor: 4 cores

【6】Give the virtual machine memory: 2G

【7】Select network type: Bridged network

【8】Specify the virtual disk size: 20G, store the virtual disk as a single file

【9】Finally check the virtual machine configuration

2. Install the operating system (taking CentOS7.2 as an example)

【1】Prepare the ISO image file

Download website: http://isoredirect.centos.org/centos/7/isos/x86_64

【2】Configure the ISO image path

【3】Start installing the operating system 1) Start the virtual machine and automatically enter the installation

2) Select language

3) Select the disk

4) Select the graphical desktop

If you have already installed the operating system but forgot to select the graphical desktop, you can install it using the following steps:

(1) Install rz

yum install rz

(2) Install the graphical interface

yum groupinstall "X Window System"

(3) Install the interface component package

yum -y groupinstall "Server with GUI"

(4) Restart

reboot

5) Set user name and password

After the above settings are completed, wait for the installation. After the installation is complete, restart and you can use it.

6) Reboot

After entering, you need to enter and agree to the terms and conditions, enter in order: 2cc

3. Use a virtual machine

【1】Configure IP

Before configuration:

vi /etc/sysconfig/network-scripts/ifcfg-eno16777736

service network restart

After configuration:

TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=6e6ade54-3ec5-42b6-a102-46d3008125f2
DEVICE=eno16777736
ONBOOT=yes
IPADDR=192.168.*.2**
NETMASK=255.255.***.0
GATEWAY=192.168.*.*

【2】Connect the local CRT to the virtual machine

【3】Networking configuration

1) An error message is displayed when installing the tool

yum install rz

2) Check the Internet connection

ping ww.baidu.com

3) Configure DNS

vi /etc/sysconfig/network-scripts/ifcfg-eno16777736

\

service network restart

4) Check nameserver

cat /etc/resolv.conf

【4】Install the required software

yum install -y lrzsz

Summarize

The above is what I introduced to you about using VMware to create a Linux virtual machine on Windows and install the CentOS7.2 operating system. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Install Linux using VMware virtual machine (CentOS7 image)
  • Detailed steps to install CentOS7 system on VMWare virtual machine
  • CentOS7 network configuration under VMware virtual machine (host wireless Internet access)
  • Tutorial diagram of installing centos7.3 on vmware virtual machine
  • VMWare virtual machine Centos7 installation of Oracle database tutorial diagram
  • CentOS7 installation graphic tutorial in Vmware virtual machine
  • 2022 latest version VMware virtual machine installation CentOS7 installation graphic tutorial

<<:  Vue Element-ui table realizes tree structure table

>>:  In-depth explanation of SQL statement execution (MySQL architecture overview -> query execution process -> SQL parsing order)

Recommend

Design Tips: We think you will like it

<br />Looking at this title, you may find it...

Markup Language - List

Standardized design solutions - markup languages ...

Use CSS's clip-path property to display irregular graphics

clip-path CSS properties use clipping to create t...

JavaScript to achieve the idea of ​​​​snake game

The implementation idea of ​​the javascript game ...

Share 8 CSS tools to improve web design

When one needs to edit or modify the website desi...

Summary of MySQL character sets

Table of contents Character Set Comparison Rules ...

React realizes the whole process of page watermark effect

Table of contents Preface 1. Usage examples 2. Im...

How to implement Docker container self-start

Container auto-start Docker provides a restart po...

How to deploy tomcat in batches with ansible

1.1 Building the Directory Structure This operati...

Common CSS Errors and Solutions

Copy code The code is as follows: Difference betw...

Detailed explanation of the principle and usage of MySQL views

This article uses examples to illustrate the prin...

CSS setting div background image implementation code

Adding background image control to a component re...

MySQL log system detailed information sharing

Anyone who has worked on a large system knows tha...