From the very beginning, I was obsessed with the CentOS server build process.
Because of their own direction is not on the Operation dimension, but learning and development also need to use Linux so has not been serious to learn.
Through their own multifaceted exploration and learning to find their own set of methods.
The first thing I used was centos7 and Vmwar.
1. Create a new virtual machine needless to say.
2. In the installation of the CentOS option, the previous installation has not been connected to the network also do not know how. Have been struggling to choose what software to install
2.1 After groping network and choose what software does not matter, the basic minimum installation can actually realize the network
2.2 Because I am a server that can make FTP transfer, I select the FTP service in the option
2.3 Other does not matter, I also chose the development tool, but this is what the function is actually not clear, since they are engaged in the development of the election on the Bai.
3. In the installation of the CentOS interface options in fact, there is a network, my first success is in there to achieve, in which can interface configuration network IP
When I open the network with NAT, it will show whether it is connected, and the assigned IP can be displayed to
3.1 Sometimes a network error is displayed because the VM-related service Under window is not enabled:
This connection has a configuration that tells you how to enable the service, and the detailed NAT networking mode http://blog.csdn.net/whatday/article/details/7939406
3.2 Service is sure to enable, the article detailed NAT configuration in fact, the VM is configured by default, as long as the WinDOS under the VM8 connection IPv4 instead of automatically connect
4. Many times the above is feasible, but will also encounter the virtual machine installed after ifconfig found that there is no IP allocation ping command also does not pass
It's time to check if the system's IP is automatically acquired
Enter Network configuration vim/etc/sysconfig/network-scripts/ifcfg-eth0 (Ifcfg-eth0 may not be used, you can use ifconfig to see what it is)
And look at the picture.
Restart Network
/etc/init.d/network Restart's done.
Ping wwww.baidu.com Success
Building Linux Server virtual machines with NAT-mode networking