VMware Fusion install CentOS7 and configure the network

Recently, in accumulating knowledge of DevOps, k8s is the top priority, and environment construction is the first step. Today, let me step by step to teach you how to install CentOS7 on VMware Fusion and configure the network.

Install CentOS7

Drag the CentOS image to the window

Press the keyboard arrow keys up and press enter directly

Set the time zone to Shanghai first

Set the time zone to Shanghai, then click Finish

After a long wait, after the installation is complete, restart it, and the next step is to configure a static IP

Configure static IP

Enter the vmnet8 directory of VMware Fusion through the Mac terminal

vim /Library/Preferences/VMware Fusion/vmnet8/nat.conf

vim /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf

Note that range is the range of static IP addresses that the virtual machine allows to select, and the custom static IP address must be within this range

Get DNS (in mac system preferences -> network ->)

You can see that this is the management login IP of the router. Different routes may be different login IPs.

Find the file starting with ifcfg-en. In the above picture, mine is ifcfg-ens33. The default configuration is as follows

After modification as follows

Restart the centos network: service network restart

Recommended Posts

VMware Fusion install CentOS7 and configure the network
Install VMware Fusion and CentOS-7 on Mac
Centos6.5 install and configure mongodb
Install and configure keepalived under CentOS 5.9
CentOS 8 - install and configure NFS service
CentOS Minimal install and configure TIPS
Install and configure FreeIPA in Centos7
Vmware install CentOS6
Install centos7 and connect
How to install and configure Elasticsearch on CentOS 7
How to install and configure VNC on CentOS 8
Install CentOS under VMware
How to install and configure Redis on CentOS 8
How to install and configure phpMyAdmin on CentOS 6
How to install and configure Owncloud on CentOS 8
IP and network settings of CentOS Linux 7 VMware
How to install and configure Redmine on CentOS 8
How to install and configure NFS server on CentOS 8
centos7 install python3 and ipython
Know Linux and install CentOS
CentOs7.3 compile and install Nginx 1.9.9
CentOS 7 install Mono and MonoDevelop
CentOS6.5 install Java 8 and Tomcat8
Centos compile and install Git
ubuntu install and configure GitLab
CentOS7 install python3 and pip3
CentOS7 install OracleJDK and JRE
CentOS6.5 install Java 8 and Tomcat8
vmware install CentOS 7 detailed tutorial
CentOS6 install and crack Jira 7
CentOS6.5 install Java 8 and Tomcat8
Centos7 compile and install ntp-4.2.8p11
CentOS 6.9 compile and install python
CentOS6 install and crack confluence
CentOS 6 compile and install python 3
CentOS6 install and crack Jira 7
The difference between CentOS 7 and CentOS 6
How to install and configure Postfix mail server on CentOS8
Install and configure the latest version of RabbitMQ-3.8.5 (with video)
Detailed steps to install and configure k8s cluster in centos 7
Centos 7 install jdk and package service service
CentOS7 yum install and start mysql
CentOS Yum compile and install MySQL 5.6
Compile and install LAMP under Centos 5.2
CentOS 8 install Git and basic configuration
The difference between CentOS and Ubuntu
Install and configure MySQL on Ubuntu
CentOS 6.x compile and install Nginx
Install and configure Docker in Ubuntu
CentOS7 compile and install L(A|N)MP environment
CentOS7 modify the network card name
CentOS7.3 install iptables and detailed use
CentOS quickly install Python3 and pip3
CentOS7 yum install and start mysql
Centos7 and centos8 install mysql5.6 5.7 8.0 so simple
Centos7 uninstall openJdk, and install JDK1.8
Install Python3 and ansible under CentOS8
Install the latest OpenCV4.3 under Centos8
Install and use docker under CentOS 6.8
Centos7 change the network card name
CentOS7 install and use SQL Server