In this tutorial, we are going to show how to install CentOS on Dedicated Server. But before we start, let’s have a brief explanation of this useful distribution. It doesn’t matter if you choose it yourself or if someone recommended it to you. CentOS is one of the most popular Linux operating systems in the hosting industry. One of the best servers that we can offer you to install CentOS is the USA Dedicated Server. See NeuronVM plans.
Introducing CentOS Operating System
CentOS is an open-source and free distribution of Linux that tries to provide users with the same performance and stability as the paid RedHat Enterprise Linux system. In this case, CentOS maintains full compatibility with the upstream vendor’s policies which are redistributed.
This distribution has some impressive features such as complete industry support, on-time security updates, and also tested for stability and performance. Of course like any other distribution, CentOS has strengths and weaknesses and its usage depends on your needs. In the continuation of this article, you will learn about how to install CentOS on a dedicated server.
Downloading CentOS on Dedicated Server
In this part, for downloading the server you should go to CentOS official page. Then choose the Minimal ISO tab and go on: (The process is the same for all three tabs)
Click on the mirror list and select the suitable location and country then choose the version of distribution you want and get the desired iso file. Afterward, wait a few minutes to complete the downloading process.
Creating Bootable USB or DVD
It’s time to create a bootable USB and burn it on a DVD or load it on a VM. You can use several applications for that, but we recommended Etcher here:
In this section, the first step is to select the CentOS iso image and then insert the USB flash. Now find the USB you want and choose it in the Select Drive step. the final action is to click Flash.
Install CentOS on Dedicated Server
Now let’s review the installation steps together to use this operating system on your dedicated server.
Note: notice that for this process you will need at least 10 GB of free space on your disk space and desired version of CentOS.
After booting the CentOS iso file, you can start the installation process by selecting Install CentOS which will start the installer graphic interface. If you want to use a USB drive, click the install to hard drive icon on your desktop and enter the installation wizard:
At this part, select the installation language you would prefer to use. As you see the default language is English. Then click on Continue to confirm:
On this window, you can do some other configurations. Before installation, all marked items must be configured. Note that the system setting shown here may vary depending on the situation:
Set the system Date and Time
Now to select time and date, click on the related icon (Time & Date) in the section of Localization. Then as you can see, select a time zone in the resulting map and click Done to apply changes:
Click the keyboard option under Localization. As you see the default language is English. Click + to add more layouts. In other words, you can drag a layout to the top of the list to set it as default.
Now what you have to do is to click on Option to create a combination key to switch between layouts and click Done.
Set the System Language
In the Language Support section, we have a default language from the beginning, but you can add other languages here and press Done to confirm:
Configure Software Selection
The next option is Software Selection. In this section, there is a list of preset options called Base Environment. Note that this part depends on your needs:
There are three options:
– Minimal Install: It is very flexible and requires few resources and also is excellent for production environment servers.
– Predefined Server Options: If you completely trust your server and don’t need to customize it, you can choose one of the predefined servers.
– Gnome desktop and KDE Plasma Workspace: These workspaces contain a complete graphical user interface.
At last, click Done to finish.
Choose a Destination
Click the Installation Destination option and check the storage space or Local Standard Disks to install CentOS on the selected disk. The next step is partitioning, which is divided into two types:
Automatic Partitioning: By selecting this option, you can ensure that the selected destination is automatically partitioned with Swap, Root, and Home partitions and automatically creates an LVM volume in the XFS file system.
If you don’t have free space, you can restore the disk and order the system to delete files. At the end, click Done.
Manuel Partitioning: Mark the box of I will configure partitioning and press Done.
If you want to use other file systems and partitioning layouts (like btrfs), then this will launch a configuration pop-up so that you can partition manually.
This one is optional and just for the time you need it.
This section will be enabled by default. So you must uncheck the KDUMP option in the System section to disable the carnal crash mechanism and then click Done.
Set Network and Hostname
Go to this part in the setting section. In the Hostname field, type your domain name. In this example the hostname is my_server.neuronvm.com:
Now, hit the Configure button and configure IPv4 or IPv6 for the dedicated server. Then you should enter your static IP addresses for authentication on the network:
Here are the steps to add the IP address:
First, select the Manuel option from the Method menu. Then, click Add to add your IP address.
Your next step is to insert the information for your network domain. This information is the IP Address, Netmask Address, Gateway Address, and DNS servers Address. At last, click next to Confirm changes.
All Ethernet connections are disabled by default. So click on/off option to activate them.
When you finished this step, in the Security Policies option on the setting section and choose a profile and press Select Profile and press Done.
Starting the Installation Part
After you have set everything well, click the Begin Installation Option and start the initial installation:
Defining a Root Password
Now it’s time to define a password by selecting Root Password. So, set a root password and repeat to confirm it. This password should consist of at least 12 characters including upper and lower case letters, numbers, and special characters. Then click Add:
In this section, select the User Creation option. Now set full username and password to create a new account:
We recommend you mark Make this user administrator and Require a password to use this account. This will give the user root privileges. After you fill in all of the fields and define a password press Done and wait for the installation to complete:
As the final action, Press Reboot to reboot the system and log in to the server.
We tried to show you how you can install CentOS on your dedicated server. We hope by using this manual step-by-step, you can install CentOS successfully and boot it into your system. follow our educational tutorials and please share your feedback in the comments.