Installation Environment:
VMware Workstation14
CentOS 7.5.1804
Minimized installation
Installation process:
After the system installation is successful, the network configuration, I use the dynamic IP configuration. First you need to know the directory where the network configuration resides:
/etc/sysconfig/network-scripts/
Find your NIC configuration in this directory, usually ifcfg-ensxxx
by command:
sudo vi/etc/sysconfig/network-scripts/ifcfg-ensxxx
Find the last line in VI onboot=no, move the cursor here, press the I key, then change no to Yes, press ESC, enter: Wq Save and exit.
Then restart the network card:
Systemctl Restart Network
Check the network status after the operation is finished:
Systemctl Status Network.service
The following will be shown in active: this line:
Active (exited) since is the time behind
Here the table is the dynamic IP configuration is ready, then you can install additional software.
Static IP configuration to be more line >>>
Linux Minimal installation configuration network