Installation procedure: 1 host-based system installed on centos 7 VMware, VMware's virtual CPU open.
2.yum and install the corresponding software dependent.
3. Adjust the network card settings to create a virtual bridge.
1, the experimental environment
to prepare a linux server
ip: 192.168.0.128 (vm1)
2. Installation graphical interface
yum groupinstall “GNOME Desktop” -y
startx //切到图形化界面
To virtualize after the installation is complete
3.kvm virtualization
check whether the kvm modules are loaded
lsmod | grep kvm
If not loaded, the virtual machine after machine, turn on the processor virtualization capabilities
after opening virtualization support, use the following command check the hardware virtualization is enabled (MAC notebook and server platforms do not need to set up the majority)
for Intel's CPU execution
grep vmx /proc/cpuinfo
For the implementation of AMD's CPU
grep svm /proc/cpuinfo
4. Install the plug-ins and tools
yum install virt* libvirt* qemu* -y
5, create a bridge card
vi /etc/sysconfig/network-scripts/ifcfg-ens33
DEVICE=ens33
ONBOOT=yes
BRIDGE="br0"
vi /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO="none"
IPADDR="192.168.0.128"
GATEWAY="192.168.0.2"
STP="on"
DELAY="0.0"
Save and exit
reboot the network card
systemctrl restart Network
6.KVM virtual environment system installation
Note: the hard drive to leave two directories to the data storage pool with mirrored storage pool, set up their own size!
Data storage pools used to store system files installed;
mirrored storage pool for storing iso image.
(1) Installation Management Tools virt-manager
yum install –y virt-manager //安装virt-manager管理工具
virt-manager //启动virt-manager管理工具
(2) creating a data storage pool
, double-click QEMU / KVM, open storage
(3) Creating a mirrored storage pool
(4) the image file onto the mirrored storage pool
cp CentOS-7-x86_64-DVD -1708.iso / var / lib / libvirt / images / iso
refresh manager
Completion
(5) mounting system
right click QEMU / KVM, New
next step is to install the system. Can refer https://blog.csdn.net/wq962464/article/details/82706971
After the installation is complete
to see whether the virtual machine and the host communication
can ping the ok