Linux CentOS Installation

Source: Internet
Author: User

For the purpose of learning, perform CentOS 7 installation on your own computer and record this step for forgetting.

First, Centos download

CentOS official

Second, virtual machine installation

  

Three, CentOS installation Method-Minimum installation

Version: CentOS 7; : Official

Specific process:

1. Select File > New virtual Machine in virtual machine > Classic installation > All the way down

2. Open Virtual Machine > select cd/DVD double click, pop Up the selection box, select "Use ISO image file", find CentOS 7 storage directory

3. Turn on virtual machine > Start installation, select Chinese, next to start installation system

Iv. Network Settings

After minimal installation, the most tragic thing is that you cannot connect to the network and you cannot install the related packages. At that time really depressed, want to cry!

As a result, the right remedy, with Bing search (not without Baidu, sometimes quality really can not see, also may be their own search words or keywords do not meet the appetite of Baidu Crawler, ha.), text box above the atmosphere "CentOS 7 Minimum installation Network", EN, encounter the same boat of the same life.

Cause of the accident:

CentOS Minimum installation, the default network card is not activated, so you cannot connect to the network. And he said, drive, without a key, open a yarn.

The solution-look at the picture and talk

  

VI ifcfg-eno16777736 to the last line in the mode, change "Onboot=no" to "Onboo=yes" to save exit

In ping www.baidu.com you see the results below, OK, fix it

PING www.a.shifen.com (220.181.111.188) (+) bytes of data.64 bytes from 220.181.111.188:icmp_seq=1 ttl=51 time=76.4 ms Bytes from 220.181.111.188:icmp_seq=2 ttl=51 time=36.8 ms64 bytes from 220.181.111.188:icmp_seq=3 ttl=51 time=34.2 ms ^c---www.a.shifen.com ping statistics---3 packets transmitted, 3 received, 0% packet loss, time 2011msrtt MIN/AVG/MAX/MD EV = 34.263/49.196/76.478/19.321 ms

  

V. Installation of common software (package)

Installs Nslookup, traceroute, wget, man, sudo, NTP, ntpdate components, installs screen, patches, make gcc, gcc-c++, Flex, bison

Enter the following on the command line

Yum install-y bind-utils traceroute wget man sudo ntp ntpdate screens patch make GCC gcc-c++ Flex Bison zip unzip ftp--sk Ip-broken

OK, all kinds of environment can be built!

Thank the great man!

Linux CentOS installation

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.