CentOS 7 Installation - How to Install CentOS 7

LF-Chaudhuri

Managing Director
Staff member
#1
1. Get the CentOS installation ISO from https://www.centos.org/
For this tutorial, we will use a minimal ISO: CentOS-7-x86_64-Minimal-1804.iso

You can also use a CentOS DVD IDO or a netinstall ISO. If you have a slow uplink and you want to install the OS remotely, then you should use a CentOS netinstall ISO.


2. Mount the CentOS ISO to be booted.

install-centos-start.PNG



3. Start the CentOS installation.

install-centos-welcome.PNG

Click "Continue" and start the CentOS installation.

4. Configure partitions and the network interface.

install-centos-summary.PNG


4a. SOFTWARE SELECTION - We want to install the minimal version of CentOS for the purpose of the tutorial. Else we can choose a different selection.

4b. NETWORK and HOSTNAME - We should set the hostname and network configuration here.

install-centos-hostname.PNG

Once we have set the hostname, let us configure a static IP for the server. If you have a DHCP server then you can skip the step.

Click "Configure" and then navigate to the IPv4 Settings tab to set a static IPv4 address.
install-centos-ipv4.PNG

The IP address should be provided by your service provider.

For the DNS entries, we can put 8.8.8.8 and 4.2.2.2.

Click "Save" and then "Done". Then, we need to turn on the port.
install-centos-port-on.PNG


4c. INSTALLATION DESTINATION - We can choose a local disk or a remote one depending on the available storage. For the purpose of the tutorial let us choose a local disk.

Click "I will Configure Partitioning" and then "Done" for manual partitioning.
install-centos-disk2.PNG

In this example, we already have a CentOS 7.5 installed on the system mounted at /vda1. We will delete the old OS to make room for the new CentOS installation.

install-centos-disk3.PNG

install-centos-disk4.PNG

Click "Done" and then "Accept Changes".
install-centos-disk5.PNG


Click "Begin Installation".
install-centos-begin.PNG



5. Set the root password for the new CentOS installation.

install-centos-password.PNG



5. Reboot after the installation is completed.

install-centos-finish.PNG



The new CentOS installation is now ready to use!

We can now login to the system and update it:
yum -y update


Note: We offer custom OS installation options for every managed VPS and managed dedicated server.

Thank you for reading. To provide feedback or to request a new tutorial please contact us.