This document describes the installation of CentOS 7 Server with a basic minimal installation. The purpose of this guide is to provide a minimal setup that can be used as basis for our other tutoruials here at howtoforge like the perfect server guides or the SAMBA , LAMP and LEMP server tutorials for CentOS 7.
To install CentOS 7 with a basic installation of minimal installation we requires following things:
This tutorial is based on CentOS 7 server, I use 192.168.0.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.
Boot from your CentOS 7 DVD. Select Install CentOS 7
Next press ENTER
Next, you can customize the CentOS 7 installation setup-launguage. I am using it as in English with English United States, just press Continue:
Next we will get the following screen
We will start to customize the settings starting with LOCALIZATION in DATE & TIME Click on DATE & TIME. Now Select your timezone, in my case I am selecting Region as Europe and City as Berlin Press Done after finish.
Next it will show the following screen, to add more keyboard layout press + icon
It will show the following window, just add more languages as you need. In my case I am adding German, further press Add.
Next we can customize the LAYOUT SWITCHING OPTIONS by pressing Options:
Next you can use any key combination for switching between the keyboards, in my case I am using Alt+Ctrl. Further after selection press Done
Next press Done
Next we will add LANGUAGE SUPPORT by selecting it.
By default CentOS comes with English, we can add more language support. Similarly as in my case I am adding Deutsch German with Deutsch (Luxemberg) Press Done after selection
Next we goto SOFTWARE to INSTALLATION SOURCE and select the installation media.
Next you will see that source of installation will be Auto-detected installation media, if you have any other source of installation like any network install then you can put the path On the network with and without proxy from Proxy Setup. Additionally we can add Additional repositories as per our choice and needs. After press Done.
Next we will proceed for SOFTWARE SELECTION, by default it comes with Minimal Install.
Next we can add more if required, but in my case I need only Minimal Install(Basic Functionality) so I will save the settings by pressing Done.
Next we will move towards SYSTEM and then to INSTALLATION DESTINATION.
Next if you need a manual partitioning scheme then you can select I will configure partitioning, in my case I will prefer Automatically configure partitioning after that press Done.
Next we will customize our NETWORK & HOSTNAME by selecting that.
Further we will add the hostname as server1.example.com and then we will customize our ethernet part by pressing Configure.
Next screen will be like that, now we want to add IPv4 Settings by selecting the same. If you have IPv6 then you add it in IPv6 Settings.
Next you can manage the network as per your LAN/WAN connection in my case I am using static IP so I will select Manual
Next add the entries as per your static IP environment, in my case I am using Address as 192.168.0.100, Netmask as 255.255.255.0, Gateway as 192.168.0.1 and DNS servers as 22.214.171.124 126.96.36.199 These values may vary according to your network environment. After that press Save.
Next we need to make the connection ON as shown in screenshot below. It will show the details as per settled by you previously. Further press Done.
Now we are ready for the installation process, you can crosscheck all the settings again and then press Begin Installation.
It will start the process of installation. Now we need to provide USER SETTINGS with ROOT PASSWORD and USER CREATION. I will first go for root password.
Next Enter any password of your choice and press Done
Next we will go for USER CREATION.
Next I will create user, as in my case I used Full name as Administrator, Username as administrator, check the option Require the password to use this account and then press Done. Off-course you can use any value as per your choice.
Further have patience and wait for the completion of the setup.
After completion of the installation, it will ask for reboot, just press Reboot.
Next It will boot and your login screen will be onscreen.
Now we are ready to do login with the users just created above or we can use root credentials.
If you want to change or see the network configuration file, just edit the file
Change the values if required.
Note: The above DEVICE name may vary so please check the equivalent file in the directory /etc/sysconfig/network-scripts.
CentOS 7.0 minimal don't come pre-installed with the ifconfig command we will install it as follows:
yum install net-tools
Optionally we can install editors vim and nano in CentOS as:
yum install nano vim
Now we will login with root credentials and adjust the file /etc/hosts as follows:
Make the values like this:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 192.168.0.100 server1.example.com server1 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Congratulations! Now we have basic minimal CentOS 7 server setup which provides a solid basis for our other tutorials.
|1||¿Cuáles son las ventajas de VPS Hosting?|
|2||¿Cuál es la diferencia entre KVM y OpenVZ?|
|3||¿Está disponible una IP dedicada?|
|4||¿Qué tipo de soporte ofrecen?|
|5||¿Cuál es su política de copias de seguridad?|
|6||¿Es posible un upgrade/downgrade?|
|7||¿Qué es un VPS KVM?|
|8||¿Puedo instalar cPanel en mi paquete VPS?|
|9||How to install a CentOS 7 minimal server|