Installation of “CentOS 7.0″ with Screenshots

This tutorial will guide you on how to perform a minimal installation of latest version of CentOS 7.0, using the binary DVD ISO image, an installation that is best suitable for developing a future customizable server platform, with no Graphical User Interface, where you can install only the software that you need.

CentOS 7 Installation
Installation of CentOS 7

If you want to find out more about what’s new in this release of CentOS 7.0 holds and download links, I suggest reading the previous article on release announcements:

  1. CentOS 7.0 Features and Download ISO Images

Requirements

  1. CentOS 7.0 DVD ISO

CentOS 7.0 Installation Process

1. After downloading the last version of CentOS using above links or using official CentOS download page. Burn it to a DVD or create a bootable USB stick using LiveUSB Creator called Unetbootin.

2. After you have created the installer bootable media, place your DVD/USB into your system appropriate drive, start the computer, select your bootable unit and the first CentOS 7 prompt should appear. At the prompt choose Install CentOS 7 and press [Enter] key.

Install CentOS 7
CentOS 7 Boot Menu

3. The system will start loading media installer and a Welcome screen should appear. Select your Installation Process Language, that will assist you through the entire installation procedure and click on Continue.

CentOS 7 Booting
CentOS Installer Loading
Select Installation Process Language
Select Installation Process Language

4. The next step, present screen prompt is Installation Summary. It contains a lot of options to fully customize your system. First thing you may want to setup is your time settings. Click on Date & Time and select your server physical location from the provided map and hit on upper Done button to apply configuration.

Select Date & Time and Location
Select Date & Time and Location

5. The next step is to choose your Language Support and Keyboard settings. Choose your main and extra language for your system and when you’re finished hit on Done button.

Select Language and Keyboard
Select Language and Keyboard
Select English Language
Select English Language

6. The same way choose your Keyboard Layout by hitting the plus button and test your keyboard configuration using the right input filed. After you finish setting up your keyboard, again hit on upper Done button to apply changes and go back to main screen on Installation Summary.

Choose Keyboard Layout
Choose Keyboard Layout
Choose English Keyboard
Choose English Keyboard

7. On the next step you can customize your installation by using other Installation Sources than your local DVD/USB media, such as a network locations using HTTP, HTTPS, FTP or NFS protocols and even add some additional repositories, but use this methods only if you know what you’re doing. So leave the default Auto-detected installation media and hit on Done to continue.

Choose Installation Sources
Choose Installation Sources
Auto Detect Installation Type
Auto Detect Installation Type

8. On the next step you can choose your system installation software. On this step CentOS offers a lot of Server and Desktop platform environments that you choose from, but, if you want a high degree of customization, especially if you are going to use CentOS 7 to run as a server platform, then I suggest you select Minimal Install with Compatibility Libraries as Add-ons, which will install a minimal basic system software and later you can add other packages as your needs require using yum groupinstall command.

Software Selection
Software Selection
Select CentOS 7 Minimal Install
Select CentOS 7 Minimal Install

9. Now it’s time to partition your hard-drive. Click on Installation Destination menu, select your disk and choose I will configure partitioning.

Choose Installation Destination
Choose Installation Destination
Installation Device Selection
Installation Device Selection

10. On the next screen, choose LVM (Logical Volume Manager) as partition layout and, then, click on Click here to create them automatically, option which will create three system partition using XFS filesystem, automatically redistributing your hard-disk space and gathering all LVS into one big Volume Group named centos.

  1. /boot – Non LVM
  2. /(root) – LVM
  3. Swap – LVM
Select LVM Partition Type
Select LVM Partition Type
Create Partitions
Create Partitions

11. If you are not pleased with the default partition layout done automatically by the installer you can completely add, modify or resize your partition scheme and when you finish hit on Done button and Accept Changes on the Summary of Changes prompt.

Summary of Partition Changes
Summary of Partition Changes

NOTE: For those users, who have hard-disks more than 2TB in size, the installer automatically will convert partition table to GPT, but if you wish to use GPT table on smaller disks than 2TB, then you should use the argument inst.gpt to the installer boot command line in order to change the default behaviour.

12. The next step is to set your system hostname and enable networking. Click on Network & Hostname label and type your system FQDN (Fully Qualified Domain Name) on Hostname filed, then enable your Network interface, switching the top Ethernet button to ON.

If you have a functional DHCP server on you network then it will automatically configure all your network setting for enabled NIC, which should appear under your active interface.

Set System Hostname
Set System Hostname
Enable Ethernet Interface
Enable Ethernet Interface

13. If your system will be destined as a server it’s better to set static network configuration on Ethernet NIC by clicking on Configure button and add all your static interface settings like in the screenshot below, and when you’re finished hit on Save button, disable and enable Ethernet card by switching the button to OFF and ON, and, then hit on Done to apply setting and go back to main menu.

Enter Network Settings
Enter Network Settings

14. Now it’s time to start installation process by pressing on Begin Installation button and set up a strong password for root account.

Click on Begin Installation
Click on Begin Installation
CentOS 7 Root Password
Select Root Password
Set Root Password in CentOS 7
Enter Root Password

15. After you finish setting up a strong password for root account move to User Creation and create your first system user. You can designate this user to become a System Admin with root privileges using sudo command by checking the box Make this user administrator, then click on Done to go back on main menu and wait for the installation process to finish.

CentOS 7 Installation Process
CentOS 7 Installation Process
User Creation and Set Password
User Creation and Set Password

16. After the installation process finishes, the installer will show a successfully message on screen, demanding to reboot your system in order to use it.

CentOS 7 Installation Complete
CentOS 7 Installation Complete

Congratulation! You have now installed last version of CentOS on your bare new machine. Remove any installation media and reboot your computer so you can login to your new minimal CentOS 7 environment and perform other system tasks, such as update you system and install other useful software needed to run day to day tasks.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

97 thoughts on “Installation of “CentOS 7.0″ with Screenshots”

  1. What is the recommended partition scheme for a 250GB hard disk to install Plesk? the partitioning section in your tutorial is very short. I don’t know which is the best practice to configure my VPS with 4GB of Ram and 250GB of hard disk space.

    Thank you.

    Reply
    • @Armin,

      This CentOS 7 installation is just an example to setup, you can use any size no matter whatever it be and create x number of partitions.. You can get the recommended size for Plesk from its official site..

      Reply
    • @Armin,

      Yes, but Plesk should be installed on newly fresh minimal CentOS 7 installation, I think you should go ahead and install Plesk on same..

      Reply
  2. Hi,
    Very nice tutorial but, I have a problem.
    At the time of partition it shows only 8312 kb left , whereas I have more than 100 GB free.
    Please help me

    Reply
    • @Paath,

      Thanks for finding this article very useful, could you share the screenshot of your partition table? so that we can help you out..

      Reply
  3. under the Network & Hostname i didn’t find any connected card..
    even then i manually input data into ipv4 settings.
    while installation i didn’t find any error but unfortunately after reboot i get only blank screen.
    kindly help me.
    Thanks
    Nadeem

    Reply
  4. The instillation source displays an error when I try to install from USB, everything else seems to work fine. I used the Fedora USB creator with the DVD1 ISO. Any help greatly appreciated.

    Reply
    • What kind of error it displays you? Is your machine UEFI based? In any case use Rufus to create a bootable USB stick UEFI compatible or if you want to do Legay Mode use Universal USB Installer tool from pendrivelinux.com website.

      Reply
  5. My installation keeps crashing after I complete all the setup and hit begin installation. It says “An unknown error has occured” send bug report or quit. I have tried several different CentOS 7 disks and get the same error. Also checked the disk for errors.
    Any suggestions? Can you learn anything from the error report?

    Using the Centos 7 x86_64-Minimal_1503-01 disk.

    Gigabyte GA-965GM-S2 (Intel G965 Chipset)
    Intel Core 2 Duo E6300 1.86GHz / 2MB Cache
    2GB RAM
    2X 160GB SATA HD RAID 1

    Reply
  6. Hi, very nice tutorial, but I’ve got a problem. My CentOS 7 installation stucks after I hit “Install CenOS 7”. It doesn’t move out of stuck boot window. Please help me regarding this. Thank you !!

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.