Install Oracle Linux 7.4 in VirtualBox

Install Oracle Linux 7.4 in VirtualBox

Background

Individuals working in the soft engineering like database, software, development, quality assurance more often needs to deploy & configure different things which need to have an Operating System obviously and sometimes more. With the advent, maturity and easy to get virtual technologies like VirtualBox, Vmware and Parallels Desktop and others it is easier to install and configure a guest OS on your laptop or desktop on top of the same host OS you are using rather than a dual booting. The beauty of VirtualBox is its free and can be used in so many platforms like Windows, OSx, Linux and Unix. In this case VirtualBox is installed on Windows 10 Enterprise. The guest operating system Oracle Linux is based on the Red Hat Linux and is used mainly for oracle technologies.

Workaround

  1. First you need to download an install the VirtualBox from their site.
  2. You should have the Oracle Linux 7 distro downloaded in to your laptop or desktop.
  3. Start the VirtualBox.                                                                              
  4. Click New to create a new virtual machine.
    • Supply the Name: Your machine name, Machine Folder: Where to install(folder/directory), Type: The type of operating system(Linux), Version: Which cpu version 32 or 64 bit.
    • Select “Next”.                                                                                  
  5. Select the size of memory(RAM) you need for your virtual machine. In this case 2GB.
    • Select “Next”.                                                                                  
  6. Add a Hard Disk to the virtual machine.
    • Choose the default “Create a virtual hard disk now”.
    • Select “Create”.                                                                                  
  7. Choose hard disk file type as the default “VDI(Virtual Disk Image)”
    • Select “Next”.                                                                                   
  8. Choose storage type as default “Dynamically allocated”
    • Select “Next”.                                                                                         
  9. Choose file location and size.
    • Leave the default or set according to your need.
    • Select “Create”.                                                                                 
  10. Your newly created VM will be on the list.                                            
  11. Right click on the VM and select “Settings”.                                                  
  12. Go to “System”
    • Choose Pointing Device to “USB Tablet”.                                           
  13. Go to “Storage”
    • Then “Controller IDE”.
    • Select “Empty”.
    • Under the “Attributes” > “Optical Drive”.
    • Select “Choose Virtual Optical Disk File” and choose the downloaded .ISO image of the Oracle Linux 7.
  14. Go to “Network”
    • Adapter 1: Enable Network Adapter
    • Attached to NAT
    • This will enable internet in your guest operating system.
    • Select “OK”.                                                                                  
  15. Right click on the VM
    • Then Start > Normal Start
    • This will start your VM and the installation process of the Oracle Linux.          
  16. Choose “Install Oracle Linux 7.4”
  17. Choose Language to continue with installation process.
    • Select “Continue”.                                                                        
  18. Choose Date & Time
    • Under the LOCALIZATION click DATE & TIME.
    • Select your region from the map.
    • Select “Done”.                                                                                
  19. Choose the software or applications to be installed.
    • Under SOFTWARE click SOFTWARE SELECTION.
    • Select “Server With GUI” under Base Environment.
    • Select “Done”.                                                                              
  20. Configure INSTALLATION DESTINATION under SYSTEM.
    • Select the device under the Device Selection.
    • Select “Automatically configure partitioning” under the Other Storage Options.
  21. Configure NETWORK & HOSTNAME under SYSTEM.
    • Toggle the Ethernet(enp0s3) to ON.
    • Select configure.
    • go to General tab.
    • Select “Automatically connect to this network when it is available”.
    • Select “Save”.
    • Select “Done”.                                                                                
  22. Select “Begin Installation”.
  23. Set the root password.
    • Provide the password.
    • Select “Done”.                                                                               
  24. Installation will continue installing packages.                                             
  25. When completed select “Reboot”.                                                        
  26. Upon reboot accept the license.
    • Select the LICENSING INFORMATION under LICENSING.
    • Select “I accept the license agreement”.                                      
  27. Create an user
    • Select USER CREATION
    • Supply the “Full Name”, “User Name”, and set a “Password”.
    • Select “Done”.                                                                                 
  28. Select FINISH CONFIGURATION.
  29. Login windows will appear, login to the user created.                               
  30. Continue with the GNOME initial setup and you are ready to go.             
  31. The installation of Oracle Linux 7 is done.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.