Complete Guide on How to Install the Latest CentOS 7 – CentOS (Community Enterprise Operating System) is a very popular Linux OS distro like Ubuntu, and CentOS is made from the forked base of the Linux distribution RedHat. RedHat itself is a Linux distro adapted for very popular servers.
If you are interested in installing CentOS on VirtualBox, you can read my previous article here → Easy steps to install Linux CentOS 7 on VirtualBox.
Before continuing for a complete guide on how to install the latest CentOS 7, let’s dive deeper into the advantages and disadvantages of this CentOS linux distro.
Pros and Cons of CentOS
CentOS is a linux OS that has almost everything you need for both personal and corporate use but is still open-source. Developed and designed to be fundamentally similar to Red Hat, CentOS only runs the most stable version of the software package because it aims to reduce the risk of crashes and errors.
Users who have CentOS installed also get access to enterprise-grade security updates for up to a decade – due to its close relationship with Red Hat. This means that CentOS is equipped with a variety of really strong and impressive security features, including a very strong firewall and SELinux policy mechanism. Factor in the increased stability enjoyed by the distro, and it becomes a more attractive option.
The downside of CentOS is that it tends to have fewer features than other distributions, but it can be overcome by adding a third party repository, however, it is saddled with a rather complicated development cycle. In addition, if other distributions like Ubuntu doing major updates with a very fast time span ranging from eighteen months and three years, for this CentOS usually do a new big release every three to five years, it is quite long compared to others.
How to Install the Latest CentOS 7
After you know about the advantages and disadvantages of the CentOS Linux distro above, now let’s go to the discussion of the guide on how to install CentOS 7 in a few easy steps accompanied by pictures.
Step 1: Download the ISO Image
The first step, you will need to download the CentOS 7 ISO image file from the mirror source here. CentOS 7 now provides files for the 64 bit platform, and there are currently no 32 bit ISO images. This is mainly due to the fact that most servers in the industry are already using 64 bit.
Step 2: Create a Bootable Drive
Once you have downloaded the ISO image from CentOS 7, create a bootable USB drive. Since Centos 6.5, you can create a bootable usb drive by simply transferring the iso file to the usb using the command
dd. Win32DiskImager or Etcher is an alternative solution, as now Unetbootin no longer works for CentOS 7.
# dd if=/iso/CentOS-7-x86_64-DVD-1602-99.iso of=/dev/sdb
*/dev/sdb is your USB flash drive device and make sure you have at least 4.3 GB free space.
Step 3: Start Installing CentOS 7
To start installing CentOS 7, click the icon Install to Hard disk shown on the desktop screen.
Step 4: Select Language And Keyboard
Select your preferred language as well as the type of Keyboard you have. Be careful, don’t forget to choose the correct keyboard or you’ll end up with some random keys. What we usually use is English UK or US.
Step 5: Change Installation Purpose
By default Anaconda installer will choose automatic partition on your hard disk. Click the icon “Installation DestinationTo change it to a special partition.
Click on the hard disk you want to install CentOS 7 and below on Other Storage Options, choose I will configure partitioning then click “Done“.
Step 6: Select Partition Scheme
Next select the partition scheme that will be used for the mount point. In this case I choose Standard Partition.
Step 7: Create Swap Space
You can create swap space for one of the partitions and set the desired capacity, which depends on the RAM you have. Choose File System for swap space as swap, and click tick on Reformat, although reformatting is optional. You can also name your swap space with whatever name tag you like but the name on the label with “swap” is more descriptive.
Step 8: Create a Mount Point
The next step is to create a mount point where the root partition will be installed. Depending on your needs, you may need to place the partition
root at various mount points. In this case I will only provide one mount point
After this, set the Label and Capacity as you like. A rule of thumb is to use descriptive names for labels especially if the computer will be used by a different system administrator.
Select file system as
ext4 and click Reformat.
Step 9: Accept Change
After completing Step 7 and Step 8 successfully click the button Done. A prompt window will appear with a summary of the changes that will occur. If you are satisfied with them click the button “Accept Changes“.
Step 10: set a date and time
Click the clock icon at the bottom of the menu localization and select the time zone from the world map, then click “Done“.
Step 11: Start the Installation
Now after configuring System and Localization settings you can click a button Begin Installation.
The installation will start immediately and when you start you will need to set up a User account as well as a root password.
Step 12: Setting the Root Password
Click on options root password and enter your password and confirm your password once again and click Done.
Step 13: Create User Account
The next step is to create a user account. Enter the correct details and if this is an administrator account, check it
Make this user administrator and
Require a password to use this account for security purposes.
Step 14: Complete the Installation
The installation should have finished installing the software and bootloader. Once done you should get a success message, after which you can click Quit.
After that please Logout from the Live system and log into your new installation. And now you can log into your CentOS 7, and enjoy the new OS which is really good!
New Features in CentOS 7
The following are some of the important features in CentOS 7 that you can experience:
Gnome 3 Desktop
CentOS 7 comes with Gnome 3 which is very convenient when you have a touch screen.
It also comes with Gnome Classic for those of you who want the look and feel of the Gnome 2.
CentOS 7 comes with GRUB 2 which solves dual boot issues with other Linux distributions that have used GRUB 2, such as Ubuntu. This is an improvement over CentOS 6.5 which uses GRUB Legacy and is a solution to the problem of dual booting. Now you can perform the installation without worrying about GRUB problems.
CentOS 7 has support for file systems
xfs which is suitable especially in the type of distributed environment. XFS is known for its ability to handle parallel I / O compared to ext4.
CentOS 7 will also ship with MariaDB, a replacement for the MySQL database.
CentOS 7 is a stable version and has received a very improved update from version 6.5 and now it is easier to adopt as Desktop OS compared to its predecessor. For those of you who may not be able to keep up with the Fedora releases which are done every 6 months, CentOS 7 is a great choice for you.
And that’s a complete explanation of the steps on how to install CentOS 7 that you can follow, I hope this article is useful and good luck. 🙂