With the server or virtual machine to minimize the installation of CentOS, some friends will find the login system after the input ifconfig command found that etho0 network card can not find only lo, can not find the eth0 IP address, small series I will be the solution to share the experience.
1, the root user login system, with the Ifconfig command to eth0 a temporary IP address, such as "Ifconfig eth0 192.168.1.115", pay attention to IP address range Oh.
2, because small white I will not vim, in the absence of desktop environment, what to do? So I thought of a roundabout way, click on the SSH FTP tool icon, and login ssh ftp.
3, click the "Quick Connect" button, according to the icon input just the IP address, root username, and select "Password" to set up the connection.
4, enter the root password.
5. Locate the Ifcfg-eth0 file in the/etc/sysconfig/network-scripts directory of the system and open it with the right mouse button.
6, change "Onboot=no" to "Onboot=yes", Save and exit.
7, enter the "Service Network restart" command at the command line to restart the network service.
8, the last input ifconfig command check, OK, finished.