In Oracle VM VirtualBox Manager, select the virtual machine and click the Start button in the toolbar. A new window is displayed, which shows the virtual machine booting up. Depending on the operating system and the configuration of the virtual machine, Virtual Box might display some warnings first. It is safe to ignore these warnings.
- The virtual machine should boot from the installation media, as shown in the below screen
- In next step the below screen will be shown, click on skip to continue the installation procedure, Use TAB to select between options. Select “Skip” and press Enter
- Next the below screen will appear and click on “Next” or Alt+N button to go continue,
- Select the language option in which you want to communicate the installation process,Then go with the “Next” option
- In this screen select the language option for the keyboard which you wants to have, go with next
- Select basic storage devices as we fall under that category
- In the next screen it will ask to discard any data that exists in the hard disk that you created earlier for this VM. Go ahead and say yes to that.
Note : This is not going to discard any of your main hard disk data. Only discard the VM HDD drive that you created along the way which should be empty any way.
- Name your new VM Server. Name to whatever you want this server to be called as.
- Pick a time zone for the vm server and go with “Next” to continue.
- Enter a password for root user. If you are a newbie to Linux, root user is like administrator and confirm the password for root user and click “Next” ,
- In this screen you can choose how to layout your partitioning schema. Go with “Create Custom Layout” to customize manual partitioning here. If you want to replace the existing server then click replace existing system. This will clean wipe the VM HDD and layout partitioning schema to install Server.
- Give the proper Disk partitions as per your requirement by using the allocated space in previous steps, and then click on “Next” and continue the procedure,
- Here the swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory.Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files. Swap should equal 2x physical RAM for up to 2 GB of physical RAM, and then an additional 1x physical RAM for any amount above 2 GB, but never less than 32 MB. You can have different partitions like root , home etc.
A root partition:
This is where “/” (the root directory) is located. In this setup, all files (except those stored in /boot) are on the root partition.
A 3.0 GB partition allows you to install a minimal installation, while a 5.0 GB root partition lets you perform a full installation.
A Swap partition:
Swapping is necessary for two important reasons.
when the system requires more memory than is physically available, the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately.
a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.
Here you can allocate the swap for normal server as (Web / Mail etc):
Swap space = Double the RAM size (if RAM < 2GB)
Swap space = Equal to RAM size (if RAM > 2GB)
A home partition (at least 100 MB):
To store user data separately from system data, create a dedicated partition within a volume group for the /home directory. This will enable you to upgrade or reinstall Red Hat Enterprise Linux without erasing user data files.Once you are done, click next to proceed
- Choose the option “Install boost loader ” and go with “Next“,
- Next the below screen will be shown. the default selection is “Basic Server“. you can choose according to your requirement and go with “Next” option,
- The “Package Group Selection” screen allows you to select the Required package groups,and individual packages within the details section. When you’ve made your selection,
1. desktop environment packages:
A desktop environment bundles together a variety of X clients to provide common graphical user interface elements such as icons, toolbars, wallpapers, and desktop widgets. Additionally, most desktop environments include a set of integrated applications and utilities. In Linux, there are so many choices, and this includes the desktop environments and window managers. The most popular desktop environment in Linux are GNOME,Unity, Cinnamon, MATE, KDE, Xfce, and LXDE. If you want the server to have a regular gnome desktop you need to include the following package groups from the “Desktops” section: Desktops, Desktop Platform, Fonts, General Purpose Desktop, Graphical Administration Tools, X Windows System
2. Application Packages:
Linux includes a huge number of resources commonly used by many programs, such as shared libraries of standard functions, executable files, scripts and standard utilities necessary for the normal working of many programs. The Packages available in this group are supported by your system to develop the programs in the system.
3. Development packages:
You need to install ‘Development Tools’ group on Linux. These tools include core development tools such as automake, gcc, perl, python, and debuggers which are required to compile software and build new rpm’s.
4. Servers Packages:
This provides the packages like MySQL and PostgreSQL ,Apache web server, Open LDAP and Enterprise Identity Management for the system to support different applications.
5. Base System Packages :
These packages provides the basic Linux system configuration packages . Choose them according to your requirement.
6. Cluster Storage packages:
These packages are required for the storage configuration while setting up the RAC machines.The Resilient Storage repository includes packages for storage clustering using the global file system (GFS). Make a Selection from the list of packages.
7. Clustering Packages:
The Linux distribution offers the required packages for configuring the cluster. However, the names may differ in each. You need to install lvm2-cluster (in some distributions, the package may be named clvm), the Corosync cluster engine, the cluster manager (or cman), the Resource Group manager daemon and all their dependencies on all participating servers. Choose the Clustering packages which supports for High availability in Real Application Cluster environment. Once the appropriate clustering packages have been installed on all participating servers, the cluster configuration file must be configured to enable the cluster.
These packages provide the user-level KVM emulator and disk image manager on the host Linux system.
9. Language Packages:
The language packages group lists different language packages available for selection. You can select the required language package in which you want the machine to communicate .
When you’ve made your selection, click the “Next” button.
- Next the installation process will start and the below screen will show you the “Installation progress“, Wait for the installation to complete.
- Next the below screen will show as Congratulations ! you now have successfully installed Linux Virtual Machine Server. Next click on “Reboot”.
- After first boot, above welcome screen appears. On the “Welcome” screen, click the “Forward” button to continue,
- Next screen will ask you to accept the terms and conditions, Select Yes and click Forward
- Pick the desired ULN Registration option, then click the “Forward” button. In this case we will pick the register later option.
- Finish the software updates setup next Enter the details for system user if you wants to create the system users, then click the “Forward” button.
- Adjust the Date and Time settings if necessary, and click the “Forward” Button.
- Accept the default setting on the Kdump screen by clicking the “Finish” button
- Next, you are presented with the login screen. Log in by clicking on the user on the login screen which you have created in previous screen and continue the procedure,
- After your logged in the system is ready for use. This finishes the installation process.