Installation of RHEL on Oracle Virtual Box

[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKVD_0uB7II/AAAAAAAAANY/dypvyqRHOGs/s200/images.jpg)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKVD_0uB7II/AAAAAAAAANY/dypvyqRHOGs/s1600/images.jpg)
Hello Friends! You have read my post [Run any OS on any OS!](http://time2hack.blogspot.com/2010/09/run-any-os-on-any-os.html) 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. []() **Step 1**: First of read the post [Run any OS on any OS](http://time2hack.blogspot.com/2010/09/run-any-os-on-any-os.html) if you don’t know how to create Virtual Machine on Oracle Virtual Box and if you do then skip this step. **Step 2**: 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.
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9UARvMrI/AAAAAAAAALg/ttepv0H7vCc/s400/01+linux+boot+screen.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9UARvMrI/AAAAAAAAALg/ttepv0H7vCc/s1600/01+linux+boot+screen.PNG)
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9VOb-u0I/AAAAAAAAALk/fsp2is5HfhE/s400/02+media+check.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9VOb-u0I/AAAAAAAAALk/fsp2is5HfhE/s1600/02+media+check.PNG)
**Step 3**: 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.
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9rOzXzSI/AAAAAAAAALo/5QMXt9ObG48/s400/03+welcome+screen.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU9rOzXzSI/AAAAAAAAALo/5QMXt9ObG48/s1600/03+welcome+screen.PNG)
[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU9skjDHbI/AAAAAAAAALs/eev1bLN3zkA/s400/04+language.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU9skjDHbI/AAAAAAAAALs/eev1bLN3zkA/s1600/04+language.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU9twVg4cI/AAAAAAAAALw/rdNpfeHyapY/s400/05+keyboard+layout+selection.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU9twVg4cI/AAAAAAAAALw/rdNpfeHyapY/s1600/05+keyboard+layout+selection.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU9wsEX2AI/AAAAAAAAAL4/vcd2m6ask8k/s400/06+installation+number.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU9wsEX2AI/AAAAAAAAAL4/vcd2m6ask8k/s1600/06+installation+number.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU9vK08CDI/AAAAAAAAAL0/V4ItVozHR78/s400/06+installation+number+moded.png)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU9vK08CDI/AAAAAAAAAL0/V4ItVozHR78/s1600/06+installation+number+moded.png)
**Step 4**: 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.
  1. /boot       :     ext3     :     100MB
  2. /home     :     ext3     :     500MB
  3. –               :     swap    :     (double of ram)
  4. /               :     ext3     :     500MB
  5. /var         :     ext3     :     1024MB
  6. /tmp        :     ext3     :     1024MB
  7. /usr          :     ext3     :     (fill to maximum allowed space)
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-Or6DZAI/AAAAAAAAAL8/2YyERVua-9o/s320/intialize+the+HDD.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-Or6DZAI/AAAAAAAAAL8/2YyERVua-9o/s1600/intialize+the+HDD.PNG)
[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU-WkNEwdI/AAAAAAAAAMA/Tt5twbYmV5k/s400/07+partitioning+mod.png)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU-WkNEwdI/AAAAAAAAAMA/Tt5twbYmV5k/s1600/07+partitioning+mod.png)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-aA1wVyI/AAAAAAAAAMM/KB86rloKTy0/s400/08+hdd+layout+initial.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-aA1wVyI/AAAAAAAAAMM/KB86rloKTy0/s1600/08+hdd+layout+initial.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-XZsXvNI/AAAAAAAAAME/y4GT729ONtY/s320/08+add+partition.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-XZsXvNI/AAAAAAAAAME/y4GT729ONtY/s1600/08+add+partition.PNG)
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-YqBkpHI/AAAAAAAAAMI/s7H082gQ_7A/s400/08+hdd+layout+final.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-YqBkpHI/AAAAAAAAAMI/s7H082gQ_7A/s1600/08+hdd+layout+final.PNG)
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.
[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU-vdzwQqI/AAAAAAAAAMQ/PXZI9aRJN3E/s400/09+grub.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU-vdzwQqI/AAAAAAAAAMQ/PXZI9aRJN3E/s1600/09+grub.PNG)
**Step 5**: 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.
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-3cL8BAI/AAAAAAAAAMU/o2QXRJitLwQ/s400/10+network+devices.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU-3cL8BAI/AAAAAAAAAMU/o2QXRJitLwQ/s1600/10+network+devices.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU-44MD0ZI/AAAAAAAAAMY/lNNLFHQZtYQ/s400/11+timezone.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU-44MD0ZI/AAAAAAAAAMY/lNNLFHQZtYQ/s1600/11+timezone.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-6JjGaWI/AAAAAAAAAMc/Be88vt729wQ/s400/12+root+password.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU-6JjGaWI/AAAAAAAAAMc/Be88vt729wQ/s1600/12+root+password.PNG)
**Step 6**: 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.
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_IT-AEYI/AAAAAAAAAMg/Ax-CywR4WtE/s400/13+package+selection+initial.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_IT-AEYI/AAAAAAAAAMg/Ax-CywR4WtE/s1600/13+package+selection+initial.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU_SYcqTEI/AAAAAAAAAMk/M62qysx7BOE/s400/13+package+selection+final.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU_SYcqTEI/AAAAAAAAAMk/M62qysx7BOE/s1600/13+package+selection+final.PNG)
[![](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU_TsfkyaI/AAAAAAAAAMo/Pam6cTU2lO4/s400/14+final+step.PNG)](http://1.bp.blogspot.com/_A8fllzIwp8c/TKU_TsfkyaI/AAAAAAAAAMo/Pam6cTU2lO4/s1600/14+final+step.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_U5903YI/AAAAAAAAAMs/CS9WIPy0CPA/s400/15+installation+initial.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_U5903YI/AAAAAAAAAMs/CS9WIPy0CPA/s1600/15+installation+initial.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_WJXBnZI/AAAAAAAAAMw/tklExaGVwtA/s400/16+installation+finish.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_WJXBnZI/AAAAAAAAAMw/tklExaGVwtA/s1600/16+installation+finish.PNG)
**Step 7**: 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.
  1. Welcome Screen : Press Forward.
  2. License Agreement : Accept and press Forward.
  3. Firewall : Enable it by selecting modules or Disable it and press Forward.
  4. SELinux : Security Enhanced Linux, leave it as it is and press Forward.
  5. Kdump : Kdump is a kexec based crash dumping mechanism for Linux, leave it as it is and press Forward.
  6. Date and Time : Set you date and time to appropriate value and press Forward.
  7. 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.
  8. Create User : Create a normal user and its password and press Forward.
  9. Sound Card : Here you will find the setup for your sound card configure and test and when you are done press Forward.
  10. Additional CDs : You can install additional CDs here and when done press Finish.
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_kAD6sMI/AAAAAAAAAM0/E2bgHk5GPcY/s400/17+linux+booting.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_kAD6sMI/AAAAAAAAAM0/E2bgHk5GPcY/s1600/17+linux+booting.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_lu1sVQI/AAAAAAAAAM4/8YF3SECnjoY/s200/18+01+welcome.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_lu1sVQI/AAAAAAAAAM4/8YF3SECnjoY/s1600/18+01+welcome.PNG) [![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_ncZ5l4I/AAAAAAAAAM8/CrBAyBZgI6Q/s200/18+02+liccense+agreement.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_ncZ5l4I/AAAAAAAAAM8/CrBAyBZgI6Q/s1600/18+02+liccense+agreement.PNG)
  
[![](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU_okiAiWI/AAAAAAAAANA/wio5maK2Cgo/s200/18+03+firewall.PNG)](http://2.bp.blogspot.com/_A8fllzIwp8c/TKU_okiAiWI/AAAAAAAAANA/wio5maK2Cgo/s1600/18+03+firewall.PNG) [![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_qLMhBrI/AAAAAAAAANE/l4Uw4k3lVB4/s200/18+04+date+and+time.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_qLMhBrI/AAAAAAAAANE/l4Uw4k3lVB4/s1600/18+04+date+and+time.PNG)
[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_rvfBA-I/AAAAAAAAANI/De0p8Z35HMI/s200/18+05+rhn+key.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_rvfBA-I/AAAAAAAAANI/De0p8Z35HMI/s1600/18+05+rhn+key.PNG) [![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_tMnviPI/AAAAAAAAANM/NX5aqNaCV7A/s200/18+06+user+creation.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_tMnviPI/AAAAAAAAANM/NX5aqNaCV7A/s1600/18+06+user+creation.PNG)
[![](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_vbwWb9I/AAAAAAAAANQ/Jpo8iC5Ff6k/s400/19+logon.PNG)](http://3.bp.blogspot.com/_A8fllzIwp8c/TKU_vbwWb9I/AAAAAAAAANQ/Jpo8iC5Ff6k/s1600/19+logon.PNG)
[![](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_zdhfRdI/AAAAAAAAANU/BZKNkmmQXdQ/s400/20+rhel+interface.PNG)](http://4.bp.blogspot.com/_A8fllzIwp8c/TKU_zdhfRdI/AAAAAAAAANU/BZKNkmmQXdQ/s1600/20+rhel+interface.PNG)
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