Installing the Centos 7.0 Setup Network tutorial in Hyper-V

Source: Internet
Author: User
Tags php mysql

The installation environment is:

System: Win server R2 DataCenter

Hyper-V Version: 6.3.9600.16384

CentOS Version: 7.0

CentOS 7.0 downloaded from the Internet can be downloaded from the Http://pan.baidu.com/s/1mgLrPRM if not found

Import ISO image for normal installation

Create a new virtual machine first set up a network adapter (I did not select the old network adapter), the specific operation Add Hardware "Select network adapter" Next ....

System installation, I chose the Web server version (inside the integration of various server environment Java PHP mysql, etc.), so no interface can only command ....

After installation, start setting up the network

The main steps are:

1. Login system Enter the user root password set when you installed the machine * * * *, such as

2. After successful switch to network-scripts directory, execute command cd/etc/sysconfig/network-scripts

Execute the LS command again as

3. Execute vi ifcfg-eth0 for editing, edit the result as can (specific IP value can be customized)

After the setup is complete, ESC exits the cursor and enters: wq! command to save and exit the edit

After exiting the edit, execute the Service network Restart command, if the restart failure is usually the above step is not careful, carefully re-check the value of the HWADDR is correct

4. At this point, view IP addr as

5. Finally ping Baidu, see if you can surf the internet

==========

First write here, time to install an interface, test the server environment

Installing the Centos 7.0 Setup Network tutorial in Hyper-V

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.