win7 virtual machine installation centos7

1. Scene Description

Because the test requires linux cluster, the current server is not convenient for deployment, the machine (windows7) to start multiple linux virtual machine, the next record, we hope to help a friend in need.

2. Solution

2.1 Preparation Software

(1) using vmware-workstation virtualization, with version: 12.5.9, did not use the latest version, first 12 has been good enough, and second, the latest version crack hard to find (home yesterday with a 14, it seems not too hard to find),

download link:

https://www.cr173.com/soft/177242.html

After you download comes with crack code can be used directly.

(2) Operating System

cenos7 latest 7.7.1908,4.3 with a G, download address:

http://mirrors.163.com/centos/7/isos/x86_64/

Downloaded: CentOS-7-x86_64-DVD-1908.iso, generally use this package, full version is too large, about 10 G, min missing some packages.

2.2 Installation and instructions

2.2.1 vmware installation

vmware installation nothing to say, after direct decompression, double-click the installation, next in the end.

2.2.2 vm create a virtual machine instructions

(1) Create a virtual machine

(2) Select Custom

(3) displaying information

(4) Select to install the operating system later

(5) Select Operating System

(6) Select the storage place

(7) Only the network host mode

Description:

Due to the company's network security settings, I choose here is the only host mode, these three probably means:

(A) the bridge, the pattern is fixed ip of the public Internet, a home network is typically a lot of dynamic allocation, is not fixed, this can not be generally selected.

(B) the selection of more NAT, probably meaning that the machine (windows Physics) as a routing agent, a network connection via the proxy.

(C) with the NAT almost not the same as it does away with network access.

Directly behind the next in the end, not a screenshot.

2.2.3 Creating a virtual machine configuration (Key)

(1) First check the default settings

1,2,3,4, can not change, the network record, the need to use, 192.168.47.0

(2) to configure local (physical) network

After the installation default generates two network connections, wherein the master mode corresponding to only vmnet1, vmnet8 mode corresponds nat.

3 is provided protocol version 4, ip set: 192.168.47.1 (as subsequent virtual machine gateway)

(3) modify the virtual machine

file:

/etc/sysconfig/network-scripts/ifcfg-ens33

Modified content:

TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
#BOOTPROTO=dhcp
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=816b4c8c-fb7e-44c6-a424-66d00d2497bb
DEVICE=ens33
#ONBOOT=no
ONBOOT=yes
IPADDR=192.168.47.158
NETMASK=255.255.255.0
GATEWAY=192.168.47.1

Wherein in the above IPADDR long segments which can only host mode, GATEWAY need ip address is a physical machine of vmnet1

After editing, restart the network card

service network restart

The default is no ifconfig, you need to use the command ip addr:

Complete, you can clone feature to create multiple virtual machines in a cluster deployment vm be achieved, as shown below:


I'm "Software Pharaoh," I felt that if I may, to focus the next chant, subsequent updates seconds to know! Welcome forum, No. namesake public message exchange!

Guess you like

Origin www.cnblogs.com/ruanjianlaowang/p/11796564.html
Recommended