The first problem with the newly installed CENTOS7 is: Network configuration.
How do I get a new system connected to the network?
The environment configured here is based on the CentOS installed on VMware, and certainly not on the virtual machine after the installation of the CentOS network configuration.
1, the first installation of the general version (in addition to GNOME, KDE graphical interface) is not with a graphical interface, the character interface under the Ifconfig command is not good (not yet know why).
At this point, you can use IP addr to view IP address assignment.
2, enter the/etc/sysifconfig/network-scripts directory, find the ifcfg-eno16777736 file, in the CentOS6 version of the Ifcfg-eth0 file
Cd/etc/sysifconfig/network-scripts
Cat ifcfg-eno16777736
3, modify the Onboot:no is yes. Meaning whether the network interface is valid
ipaddr=192.168.299.136
Bootproto=static:ip Configuration Method (Value:static represents a fixed ip;dhcp for dynamic acquisition; none manual)
4. Restart the network service at this time
Service Network restart
the above preliminary completion of network configuration work.
for a more detailed configuration reference: http://blog.csdn.net/heyabo/article/details/8035927
CentOS Network Configuration