CentOS 7 Installation Guide and CentOS 7 Installation Guide

Source: Internet
Author: User

CentOS 7 Installation Guide and CentOS 7 Installation Guide

CentOS 7 Installation Guide (USB flash drive)

I,Preparation Phase

1. Download The CentOS7 image file (ISO file) to your computer. download the file from the official website:


For example


Figure 1-1

2. Create a USB flash drive and write it into the image file.

Some images selected from: https://jingyan.baidu.com/article/cdddd41c68d72753ca00e143.html

Preparation: an 8g usb flash drive needs to be formatted (greater than 4G, after all, the ISO file is larger than 4G ).


Install the latest version of UltraISO on your computer. For more information, see


Figure 1-2

Run the UltraISO software after installation.

Figure 1-3


Select File --- Open

Figure 1-4

Find the downloaded Centos7 DVD file in ISO format.


After loading, you can see the Centos7 file in UltraISO.

Figure 1-5

Choose Start> write hard disk image


Figure 1-6

Select your USB flash drive

Select write mode: USB-HDD + V2


Attached: Introduction to various USB flash drive startup Modes
1, USB-HDD: Hard Disk simulation mode, DOS boot after the display C: disk, hp u disk formatting tool to make the U disk that uses this boot mode. This mode is highly compatible, but cannot be started for some computers that only support USB-ZIP mode.

2, USB-ZIP: Large Capacity floppy disk simulation mode, DOS boot after display A disk, Flash boot made of USB-ZIP boot U disk that uses this mode. This mode is the only option on some older computers, but it is not compatible with most new computers, especially large-capacity USB flash drives.

3, USB-HDD +: enhanced USB-HDD mode, DOS boot after the display C: disk, high compatibility. Its disadvantage is that it cannot be started on computers that only support USB-ZIP.

4, USB-ZIP +: enhanced USB-ZIP mode, support USB-HDD/USB-ZIP dual-mode boot (depending on the computer, some BIOS may display C: disk after DOS boot, some BIOS may display A: disk after the DOS is started, so as to achieve high compatibility. Its disadvantage is that some support USB-HDD computer will this mode of U disk is considered to be a USB-ZIP to start, resulting in more than 4 GB of large capacity U disk compatibility decreased.

5, USB-CDROM: Disc simulation mode, DOS boot can not occupy the disc, General compatibility. The advantage is that XP/2003 can be installed like a CD. Generally, the production tool corresponding to the specific USB flash drive model/batch number is required for production. For the U3 disk, a general production tool is available on the Internet.



After selecting the USB flash drive and writing mode

Figure 1-7


Click write to start writing.


Figure 1-8


After the write is complete

Figure 1-9

Turn off the UltraISO software and the preparation phase is complete.

The above part of the reference link: https://jingyan.baidu.com/article/cdddd41c68d72753ca00e143.html



II,Installation phase

Insert the prepared USB flash drive into the computer where you want to install CentOS.

1. Set the computer to start from the USB flash drive

Enter the BIOS system and set the USB flash drive as the first boot item.

This article introduces ASUS and Dell desktops. Other desktop or notebook models can be searched online by themselves based on the motherboard model.

(1) Press and hold the delete key after the Asus desktop is turned on to enter the BIOS system.

(2) Press and hold the F12 key after the Dell desktop is started

When the new dell bois system does not have the USB option, select Secure Boot Control and press enter to change it to Disabled,

Set USB Boot Support to Enabled and Boot Mode to Legacy.

Figure 2-1

Press F10 to save the modification and restart the computer. When the computer is started, the USB flash drive is automatically selected. (Do not unplug the USB flash drive at this time)

2. Install the system after the USB flash drive is started.


Installation page 2-2

Figure 2-2


Select Install CentOS 7 as the cursor (if the computer graphics card is too bad, select the third installation method)


Start the installer in the first way


Note: If you need to modify the default drive letter, press the tab key to edit the path before you press Enter,

Run vmlinuz initrd = initrd. img inst. stage2 = hd: LABEL = CentOS \ x207 \ x20x86_64 quiet
Change vmlinuz initrd = initrd. img linux dd quiet and press Enter.
Then you can view your hard disk information in the displayed list, you can clearly know which one is your USB flash drive (the NTFS drive is usually displayed in several formats, and the other is your USB flash drive, write down the drive letter of your USB flash drive. My name is sda4)
Use ctrl + alt + del to restart the computer and repeat the above steps.
Vmlinuz initrd = initrd. img inst. stage2 = hd: LABEL = CentOS \ x207 \ x20x86_64 quiet
Vmlinuz initrd = initrd. img inst. stage2 = hd:/dev/sda4 (your own USB drive letter) quiet
Press enter to wait for the installation program to start and install CentOS.



3. CentOS Pilot installation

(1) Chinese installation method (English recommended for online servers)

Some images Source: http://blog.csdn.net/happy_joker/article/details/52822025

Select Chinese to install

Figure 2-3

Select the time zone and set the time. After the network is connected to the host, the network time is used in the time settings.


Figure 2-4


Select the installation source USB flash drive for the software. Generally, the Packages folder is selected by default.


Figure 2-5

It is commonly used to minimize installation (Fast Installation, only command line operations)
Installation with desktop (some configurations and usage can be graphical and easy to use)
Server version installation (a specific component can save you many problems). Here, minimize installation,

In addition, you can select some components on the right to install as needed. If you are new to Linux, you are advised to use the GHOME graphic operation interface.


Minimal Installation

Figure 2-6

Select a specific installation location. If a WIndows hard disk has been partitioned on the computer, release the disk and select the installation location.

Figure 2-7


After confirming all the information, you can start the installation.

Figure 2-8

Here, you can create a new user to set the root operation. After the installation progress is complete, you can enter the Linux system.

Figure 2-9

If the system is restarted after successful installation, dial out the USB flash drive during restart.


Configure Nic information after installation (check whether the network is plugged in)


Figure 2-10

Modify the configuration vi ifcfg-plpl (locate the wired Nic to enter the configuration according to the NIC information)

Configuration File 2-11

Figure 2-11

Nic configuration is successful. installation is complete.

Figure 2-12

(2) installation in English

For installation in English due to space issues, refer:



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.