Installing CentOS on a virtual machine does not have to say, install Linux first is to surf the internet, just like windows, have the Internet is king.
First of all, the network mode of the virtual machine is bridge mode; Enter the Linux terminal
Run: dhclient command to get IP automatically
The middle will wait a few seconds, then run ifconfig, check the network card 650) this.width=650; "style=" float:left; "src=" http://s5.51cto.com/wyfs02/M00/7E/FA/ Wkiom1coqeiqx0t9aaa7aywfa20676.png "title=" qq picture 20160413205512.png "alt=" Wkiom1coqeiqx0t9aaa7aywfa20676.png "/> It doesn't matter if you don't get IP, we manually configure
Run: Vi/etc/sysconfig/network-scripts/ifcfg-eth0
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/F7/wKioL1cOQ7WDf8MQAAANkRRiVCc853.png "title=" QQ picture 20160413205941.png "alt=" Wkiol1coq7wdf8mqaaankrrivcc853.png "/>
Edit as follows (this is my example)
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7E/FA/wKiom1cOQ4WAEMgzAAAgUBgnelw986.png "title=" QQ picture 20160413210201.png "alt=" Wkiom1coq4waemgzaaagubgnelw986.png "/>
Restart Network card: Service Network restart
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/F7/wKioL1cORfaAeTx1AAAfNEO6wFM517.png "title=" QQ picture 20160413210911.png "alt=" Wkiol1corfaaetx1aaafneo6wfm517.png "/>
No other network configuration problems, it's almost good to go here, you can try to ping through
Ping www.qq.com Try it.
Computer download good putty, accustomed to use it, open the next step to install a direct installation, open putty, enter the IP address you configured, click Save, and then click Open, log in with root, enter the password is OK!
Very simple, if there is a problem, most of the virtual machine network configuration problem, this can be found from the Internet to solve.
This article is from the "Linux" blog, so be sure to keep this source http://molinsky.blog.51cto.com/9310917/1763575
CentOS Configuration IP and Telnet