Hello Friends! As you have saw in previous post, you can Run any OS on any OS! Today I am going to explain you how to install RHEL (Red Hat Enterprise Linux) Server in Oracle Virtual Box.
Its fairly simple but you have to be careful while installing Linux because I heard many people saying that they lost their whole date while installing Linux. But its not the fault of Linux but their not reading habit. As people work on Computers, generally they don’t read the whole warning or error messages. So here I am explaining the step by step installation of RHEL server along with screenshots and also a video to help you.
First of read the post Run any OS on any OS if you don’t know how to create Virtual Machine on Oracle Virtual Box and if you do then skip this step.
Now if you have RHEL disk image file locate it on the storage tab of Virtual Machine’s settings and if you have RHEL disk you can host the DVD/CD drive to the Virtual Machine. After doing so, start the Virtual Machine. It will look like this. Here you have many options to work on, but in the brief, you want to install Linux so you have to press Enter it will start loading to start the installation process and after some time it will ask for media check. You can opt to perform this check if you are doubtful about the integrity of installation media and you can also skip this check. After pressing skip Anaconda will load. Anaconda is the Red Hat Linux installer.
As the Anaconda get loaded it shows the Welcome screen of installation. On clicking Next on Welcome screen you will get a screen to select the language during installation process. Select proper language and press Next. After which you will get a screen to select appropriate Keyboard layout. Select proper layout and press Next. Then you will obtain a dialog box to provide Installation Number. If you have the No., enter it and press OK or skip the Installation Number. If you choose to skip it will ask a confirmation. Press OK to confirm the skipping of Installation Number.
Then if you have installed a new HDD (Hard-disk Drive) the it will show a dialog box to initialize the HDD. Click on Yes to initialize and then the Partitioning layout of HDD is shown. Choose custom layout and press Next. Then you will be shown a window to create partitions. Create partitions in following order and following minimal sizes to set up a server install. First field is Mount Point, second field is partition type and third field is partition size.
- /boot: ext3 : 100MB
- /home: ext3 : 500MB
- –: swap : (double of ram)
- / : ext3 : 500MB
- /var: ext3 : 1024MB
- /tmp: ext3 : 1024MB
- /usr: ext3 : (fill to maximum allowed space)
After doing so press Next. and it will show you the screen for boot-loader. For simplicity do not change any option here and press next. If you want more info about customization please request so by commenting here.
After that you will find a Network Devices screen. Don’t change any setting and press next because this setting plays important role while installing from network. After that you will see a screen to select time zone region, select it and press Next. After which you will see a screen to set the root password and it is mandatory. So choose best suitable strong password as it is the key to the security of Linux server. After typing password press Next.
Then after you will see a package selection window, where you can choose to customize later but as we are creating a server setup we will select customize now and press next. Then after we will select the only required packages in server like we will choose all server packages and we will reject packages like media, office, graphics, games etc. After selecting required packages press Next. The after you will see a window to start the installation. Press next and wait until it shows the Congratulation Screen.
On that screen press Reboot and wait for it to start. After reboot it will start and shows Screen for some minor but necessary configurations. Here I am listing some of them which are necessary, others you can leave at the beginner level.
- Welcome Screen: Press Forward.
- License Agreement: Accept and press Forward.
- Firewall: Enable it by selecting modules or Disable it and press Forward.
- SELinux: Security Enhanced Linux, leave it as it is and press Forward.
- Kdump: Kdump is a kexec based crash dumping mechanism for Linux, leave it as it is and press Forward.
- Date and Time: Set you date and time to appropriate value and press Forward.
- Set up Software Updates: Here it will ask to connect to RHN (Red Hat Network). You can register or skip it. Select appropriate option and press Forward.
- Create User: Create a normal user and its password and press Forward.
- Sound Card: Here you will find the setup for your sound card configure and test and when you are done press Forward.
- Additional CDs: You can install additional CDs here and when done press Finish.
Here is the video on the installation of RHEL server on Oracle Virtual Box created by me
If you still find and problem please comment your problem
Subscribe to Time to Hack
Get the latest posts delivered right to your inbox