Red Hat 7.x Installation : Step by Step Guide
Installation and Configuration of RHEL 7.x
Learn about Installation and initial configuration of Red Hat Enterprise Linux, RHEL 7.3
For this Linux step by step installation guide we will use RHEL 7.3 64Bit iso image, the installation procedure is same for all RHEL 7.x releases in case you want to use a different RHEL version to install.
Here are the 10 Steps to Install RHEL 7.x distribution.
Step 1 Download the distribution
Download the RHEL 7.x ISO image from access.redhat.com
Write this ISO image to a create a bootable DVD or USB.
Step 2 Boot with Media
Use DVD/USB to boot and install RHEL 7.x
Make sure boot from CD/DVD or USB option is enabled in the CMOS setup of your computer. Different computers have different key sequences to press to enter setup at boot; you have to know the key sequence for your computer if you want to make any CMOS changes.
Installer screen is displayed after booting
Press <Up Arrow> to go to “Install Red Hat Enterprise Linux 7.x” and press <Enter>.
Step 3. Setting Language
The graphical installer starts after a few seconds presenting a Language selection screen.
Select your language and click on “Continue”. Based on your selection your RHEL language and keyboard language will be selected.
Pressing continue gets you to next Screen presenting configuration options for localization, Software and System.
From this window, you can do most of the configuration.
Step 4. Setting Date & Time
In the main configuration screen, Click on “DATE & TIME” to select your time zone following window.
You can select a Region and City from the drop down menu, select the date and time as applicable to your location time zone. You can enable “Network Time” from the top right corner to allow time sync from NTP servers over the internet but this option needs network to be up and you can leave it off here.
Once you’re done click on “Done”.
Once you click “Done”, it will take you to the main configuration window again.
Step 5. Setting Network and Host Name
5.1 Configuring Host Name:
Click on “NETWORK & HOST NAME” in the configuration window to start configuring network and the host name .
Following window is displayed indicating network status and host name config option at the bottom .
Change the “Host name” field on the bottom right to name of your choice or something like “server.yourdomain.com”.
Once you’re done, click on “Apply”
5.2 Configuring network
click on “Configure” to configure your network adapter. If your router uses DHCP to give an IP address there’s no additional configuration required. You can assign ip address and subnet mast if you want, at this step.
Once you’re done setting up your network adapter, just enable the adapter from the top right corner.
you can see that, it’s connected to the internet.
Now click on “Done” on the top left corner .
Clicking “Done” leads you to main screen.
Step 6. Installing OS
You can do a minimal install of RHEL 7.x where minimal package are installed and it does not have any GUI after the installation. You have to manage the server from the terminal.
If you need GUI, you can click on “SOFTWARE SELECTION” to change by clicking on “Server with GUI” and click on “Done”.
Setting Installation Destination
To select the installation destination, click on “INSTALLATION DESTINATION” from the main window.
Next screen allows you to select the installation destination.
Select the disk and click on “Done”.
If you need, you can do other disk configuration such as, installing RHEL on Network Disk etc.
For this tutorial we will select local hard drive in this tutorial.
Step 7. Beginning Installation
Once everything is configured, your configuration window looks like this. Now click on “Begin Installation” to start installation with selected configurations.
7.1 Setting root (super user) password.
The installation starts with option to create user and set root (super user) password. Click on “ROOT PASSWORD” to set the password.
Enter your root password and keep it somewhere safe, so you won’t lose it.
7.2 Creating a new User :
Now click on “USER CREATION” and create a user. This can be alternate user name with super user access.
Make sure to mark “Make this user administrator”, otherwise you won’t be able to use ‘sudo command to use root privileges ’. Click on “Done” and wait till the installation finishes.
7.3 Finishing up with System Reboot.
Once it’s finished, click on “Reboot”
Post Reboot Steps:
Step 8. Verify subscription.
After restart, A window to add our RHEL credentials to verify subscription.
First, click on “LICENSE INFORMATION”
Mark “I accept the license agreement” and click on “Done”.
Now from the main window, click on “Subscription Manager”
8.1 Using activation key
You can use an activation key or your Red Hat username & password to verify your purchase of Red Hat license.
To use activation key, mark “I will use an Activation Key” and click on “Next”.
If you want to use the username and password, just click on “Next”, no need to mark “I will use an Activation Key”.
8.2 Using username and password
We will use username and password here.
8.3 Completing RHEL Registration
After you provide the details and click on “Register” you will see the following window, It may be a different product depending on your purchase. Click on “Attach” to complete RHEL registration step.
On successful registration, you will see this window.
Click on “Done”.
Step 9. Finishing Installation
To finish the installation click on “FINISH CONFIGURATION”
Step 10. Logging in to the system
Login screen is presented and you can login using the username, created earlier.
After successful login, your Linux installation is ready to use
You can start exploring the system by using installed applications by using Applications drop down menu.