Home > Article > Operation and Maintenance > Detailed explanation of VM virtual machine environment preparation steps (pictures and text)
This tutorial uses the CentOS7 version of Linux.
After the installation of the Linux system of the virtual machine is completed, configuring the VM virtual machine network requires configuring the VM virtual machine, the win10 operating system network and the Linux network in the VM.
Configure VM virtual machine network
Select Edit in the VM----Virtual Network Edit Device----Select VMnet8----There is change setting in the lower right corner, as shown below:
Enter change setting As shown below, you need to set the IP network segment and gateway
# 3. Linux network configuration in VM
[zx@hadoop100 ~]$ su root
The above modified the value of BOOTPROTO to static;
Modified the value of ONBOOT to yes, which is used to activate the network card, otherwise the IP will not be displayed;
And add The following command:
The above 3 steps can complete the network configuration. Under normal circumstances, we need to configure the host name to facilitate subsequent development. The steps are as follows:4. Configure the host name
We will build a cluster later. In order to facilitate the later modification of IP, we need to do host mapping for the current template server
8. Install epel-release software
Extra Packages for Enterprise Linux provide additional software for "Red Hat" operating systems Package, available for RHEL, CentOS and Scientific Linux. It is equivalent to a software warehouse, and most rpm packages cannot be found in the official repository.(1) Install the net-tool tool package collection, including ifconfig and other commands
Installation command: [root@hadoop100 zx]# yum install -y net-tools (2) Install vim editor installation command: [root@hadoop100 zx]# yum install -y vim 9. Turn off the firewall Single turn off the firewall command: [root@hadoop100 zx]# systemctl stop firewalldStart up and turn off the firewall: [root@hadoop100 zx]# systemctl disable firewalld.service
13. Uninstall the original JDK
[root @hadoop100 opt]# reboot
The above is the detailed content of Detailed explanation of VM virtual machine environment preparation steps (pictures and text). For more information, please follow other related articles on the PHP Chinese website!