Contact for queries :
 

Manual Installation of RHEL6 from DVD

Let’s start with a typical installation of Red Hat Enterprise Linux on a Virtual Box

Step 1. Create a new virtual machine in VirtualBox, with 384MB of RAM, and name it RHEL01.

Step 2. Make sure that the installation CD is in the drive (or attached as an ISO), and boot from the CD. If you don’t press Enter at the first screen, it will begin to boot automatically after the timeout threshold (about 3 seconds). The installation process should begin at this point.

Step 3. The first option should be obvious because choosing a language affects the rest of the installation process. You also need to choose your keyboard layout at this point.

Step 4. Next comes the storage layout of the system. You don’t need any crazy configuration here, so choose the basic option and move on

Step 5. The next screen allows you to choose a hostname for your system. Notice the option on the bottom left to configure networking as well . You don’t need to make any changes to the network adapters for now; by default they are set to receive an IP address via Dynamic Host Configuration Protocol (DHCP). If you want to change an interface to have a static IP address, you could configure that here.

Storage Selection Screen

installation-step5

Set the hostname.

installation-step5-2

Step 6. Select your time zone. For me, it’s America/New York.
Step 7. Choose a root password (see Figure 1-3). Make sure that this password is something strong that no one else will be able to guess. The root user basically has full access to anything on the system, so it’s not a good idea to use something that can be guessed on the first try.

Choose a root password.

installation-step7

Step 8. Next, go to the partition layout screen. This screen is the place where you will probably spend the most time. Here, you create the partitions for your new installation. For the purpose of getting through the install, select Use All Space. You could create a custom partition scheme (which will probably always happen with future installs), but it is not necessary here. By default, Red Hat uses logical volume management (covered in depth in Chapter 3, “Disks and Partitioning”) when creating a default layout so that all your partitions (with the exception of /boot) are on logical volumes. To create a custom layout, you need to check the box on the bottom allowing you to modify the partitioning layout.

New in Red Hat Enterprise Linux 6 (RHEL6), you can also choose to encrypt your system (using LUKS). If you’d like to do this, just check the box on the bottom. After you choose to continue, the partition table
is written to the system drives.

Partition creation.

installation-step8

Real World Practical Tip:

Many system administrators have their own way of creating partition layouts, and sometimes that is even dictated through company requirements. Due to individual taste, and the fact that I will start a war discussing the topic of “what should be laid out where,” I do not describe how to create a custom partitioning scheme based on any standards. There are, however, two important points to know. One is that the /boot partition can never be part of a Logical Volume Manager (LVM) layout.

Second, you should spend time and plan ahead as to how you want your partitions laid out because a little planning now will save you from a big headache later.

Step 9.  Now you can select which packages you want installed. This process can get very detailed because you can choose a package group and then individual packages within the group. For my install, I’m going to leave the defaults, which install the base system with no desktop manager (see Figure 1-5). You need to know how to configure different packages and installations by hand, so allowing the system to install them now isn’t going to help in the long run.

Package selection.

installation-step9

After you click Next, the installation of the operating system begins. This process can be fairly quick (10 minutes) or slightly longer (30 minutes) depending on which software packages you chose to install and other configuration options. When the installation is complete, you are prompted to reboot the system. After the system has rebooted, make sure that you either remove the CD from the drive or set the system to boot from the primary disk so as not to start the installation process all over again. This completes the installation of Red Hat Enterprise Linux 6.

Important Interview questions Related to Linux Installation:

1. In Red Hat Enterprise Linux 6, SELinux is set to Enforcing by default during the installation. True or False?

Ans: True. In Red Hat Enterprise Linux 6, the default for SELinux is Enforcing during installation (which can be changed after the installation completes). For Red Hat Enterprise Linux 5, you were able to choose what mode you wanted SELinux to start in.

2. Which remote management service is installed by default? Can you name the port that it uses?

Ans : The SSH service is almost always installed by default in Red Hat. It uses TCP port 22, and this port is open on the default firewall rules.

3. You can install software packages only after Red Hat Enterprise Linux is installed. True or False?

Ans : False. The package selection screen allows you to install any software you want during the installation process as long as you have access to the correct packages or repositories.

4. The default partition layout includes only basic partitions. True or False?

Ans: False. The default partition layout for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.

5. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?

Ans The install.log.syslog file contains messages that are generated during the installation. If you run into trouble during the installation, this is a good place to start.

November 14, 2015

0 responses on "Manual Installation of RHEL6 from DVD"

Leave a Message

Your email address will not be published. Required fields are marked *

About iGURKUL

IGURKUL I.T. Training Hub offering various Career Certification courses in Computer Networking, Unix, Linux, Cloud Computing and DevOps Technologies. With its rich experience in IT training service sector, iGURKUL has been able to set Industry best practices in IT Training for the past five years.

In Past five years, more than 5000 professionals have been trained by iGURKUL for System administration, Cloud Computing and DevOps Skill set through our Online Training portal www.unixadminschool.com. And , each day , more than 10000 working professionals from all over the globe visiting our knowledge base www.unixadminschool.com/blog for the best practices and Knowledge learning.

Popular Tags

Who’s Online

There are no users currently online
top
Template Design © igurkul I.T. solutions. All rights reserved.
X