Installation of CentOS, commissioning of the network

Source: Internet
Author: User

As a business need, I try to install CentOS for the company server today, the selected version is 6.7

First step, download: http://isoredirect.centos.org/centos/6/isos/x86_64/

I chose the biggest one, according to the online version of the DVD1 can be, DVD2 contains some of the other software

Step two, make the startup disk

Download old peaches, make startup disk with one click

The third step, restart the computer, choose to start with the U-disk, into the installation screen

A few important options

1, Hardriver----because the system in the U disk

2, choose SDB, this if not a try

3, choose Basicserver, this is not with the desktop, pure shell interface

Fourth step, after the installation is complete, found unable to surf the internet

See also: http://www.linuxidc.com/Linux/2012-11/74386.htm

Input ifconfig, found only one loop network card, this time need to open the network card

Enter Ifup eth-0, enter ifconfig again, find the value of eht-0, but no IP address,

Input Vi/etc/sysconfig/network-scripts/ifcfg-eth0

Change Bootproto=dhcp,ps. People on the internet say that DHCP must be capitalized, my machine is not capitalized, lowercase but ok.

Change the Onboot=yes so that the NIC is turned on when the machine restarts

Exit Edit

Enter the service network restart restart the NIC, enter Ifconfig again, and find the IP address

Using ping www.baidu.com, there is a response, OK.

Ps.linux Some of the commands http://www.cnblogs.com/mq0036/p/3795950.html

For the first time, I used pure command to make Linux, record it, lest I forget.

Installation of CentOS, commissioning of the network

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.