How to Install a CentOS 7.2 Minimal Server
This tutorial exists for these OS versions
- CentOS 8
- CentOS 7.3
- CentOS 7.2
- CentOS 7.1
- CentOS 7
On this page
This document describes the installation of a CentOS 7.2 server. The purpose of this guide is to provide a minimal setup that can be used as basis for our other tutorials here at howtoforge like the perfect server guides or the SAMBA , LAMP and LEMP server tutorials.
To get started with the CentOS 7.2 installation, we will need the installer ISO file. This can either be the CentOS minimal ISO or the DVD ISO file. If you plan to install just this one server then choose the minimal ISO as it is a smaller, the installer will download the required packages during installation later. I will install several servers with CentOS 7.2, therefore I choose the DVD installer ISO so I dont have to download the same packages again for each server.
- Download the CentOS 7.2 DVD from a mirror next to you http://www.centos.org/download/. I will use this mirror:
I will do the installation on a vmware virtual machine. The installation steps on a physical server are the same. If your server is not able to boot from an ISO file, burn the ISO on a DVD and insert that into the DVD drive of the server.
This tutorial is based on CentOS 7.2 server, I use 192.168.1.100 as my IP address in this tutorial and server1.example.com as the hostname. These settings might differ for you, so you have to replace them where appropriate.
Install the Base System
Boot from your CentOS 7 DVD. Select Install CentOS 7
Next press ENTER
Choose the installation language. I am using English with English United States here, so I just press Continue:
Next, we get the following screen:
I will start to customize the settings starting with LOCALIZATION in DATE & TIME Click on DATE & TIME. Select your timezone, in my case, I am selecting Europe as Region and Berlin as City. Press Done when finished.
It will set the server DATE & TIME to the Europe/Berlin timezone. Next, I will customize the KEYBOARD layout, Click on KEYBOARD to start the setup dialog.
Press the + icon to add another keyboard layout:
It will show the following window with the list of available keyboard layouts. In my case, I select German and click on the Add. button to add the keyboard layout.
Next, we customize the LAYOUT SWITCHING OPTIONS by pressing Options:
You can use any key combination for switching between keyboards, in my case I am using Alt+Ctrl. After selection of your desired key combination, press Done
Next press Done
Now we can add LANGUAGE SUPPORT if you don't want to use English. Click on "LANGUAGE SUPPORT" to open the dialog.
By default, CentOS comes with English language preinstalled, but we can add more languages easily. In my case, I am adding Deutsch German with Deutsch (Deutschland) as the additional language. Press Done after selection
Next, we go to SOFTWARE > INSTALLATION SOURCE and select the installation media.
Next you will see that the installation source is "Auto-detected installation media", if you have any other source of installation like an network install then you can set the path in the "On the network" field with and without proxy from Proxy Setup. Additionally, we can add Additional repositories if needed. Then press Done.