Oracle Enterprise Linux 6.0 Installation


This article describes a step by step procedure to perform the basic installation of Oracle Enterprise Linux 6.0 with pictorial representations.

Creating a virtual machine using Virtual Box:

1. On the home screen of Oracle VM VirtualBox Manager click on New button to create a Virtual Machine.

2. Please give the descriptive name for virtual machine, select operating system type and version. Click on Next button.

3. Specify the amount of memory for Virtual machine and click on Next button.

4. Select an option Create new hard disk now to create a new machine and click Create button.

5. Choose hard disk file type as VDI (VirtualBox Disk Image) and click on Next button.

6. Choose whether the virtual hard disk file should be dynamically allocated or fixed size and click on Next button.

7. Specify the location for virtual disk image and size also. Click on Create button.

8. The screen will be redirected to Home page and the Created virtual machine will be show as below.

9. Make an additional setting as per your requirement by selecting your virtual machine and click on Settings button.

Installing Oracle Enterprise Linux:

1. Boot the Operating System media by starting virtual machine and selecting the installation media as show below. Click on Start button.

2. At the boot screen select Install or upgrade an existing system by using arrow keys and press Enter key.

3. By using Tab key move the cursor to the Skip button and press Enter key.

4. The Oracle Linux Installation welcome page will be displayed. Now click on Next button.

5. Select a language that you want to use during the installation process and click on Next.

6. Select a key board from the given list and click on Next button.

7. Select a type of storage that you want to use for Linux server and click on Next button.

8. The Network configuration window will be displayed as shown below. Enter the fully qualified Hostname for your Linux server. To configure network, click on Configure Network button at the bottom of the window.

9. In the configuration window select the relevant connection and click on edit button. Please make the required changes and click on Apply button.

10. Click on Close button to exit the Network Connection configuration window.

11. Now you will be presented with a time zone screen as below. Please select a time zone and click on Next button.

12. Enter the password for root user and confirm it. Now click on Next button.

13. The partitioning layout window will be displayed. Now select Create Custom Layout and Click on Next button.

14. Create the required partitions as below as per your requirement. You can have different partitions like root, swap, 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:
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.
Swapping is necessary for two important reasons.
1) 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.
2) 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,
Swap space equal to Double the RAM size (if RAM < 2GB)
Swap space equal to RAM size (if RAM > 2GB)

A Home partition :
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.

15. After creating the required partitions click on Next button.

16. Accept the default boot loader by clicking Next button.

17. Accept the default Oracle Linux server as Basic Server. Now select the Customize Now box at the bottom of screen and click on Next button.

18.The Package group selection window will be shown as below. Here select the required package groups, and individual packages within the details section.
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 des3ktop 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 provide 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.
8.Vitualization Packages:
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.

19. The packages installation will be processed as shown in the below. Wait for the Installation to complete.

20. After the completion of installation, the below window will be displayed. Click on Reboot button.

21. After the first reboot the below welcome screen will be shown. Click on Forward button to continue.

22. License agreement screen will be shown as below. Accept the License agreement and click on Forward button.

23. Select desired ULN registration for software updates and click on Forward button.

24. In the next screen, you will be presented with User Creation window. Create a user and click on Forward button.

25. The Date and Time setting window will be shown as below. Now set the date and time for your Linux server and click on Forward button.

26. Accept the default setting on the Kdump screen by clicking the Finish button.

27. The Login screen will be displayed as below. Please enter user name and password for login.

28. Now you are logged into the system and the Linux server is ready for use now.

This completes the Oracle Linux server installation.


Post a Comment