Installing Oracle Enterprise Linux 6.4

Categories: Linux · Installation and upgrades · Virtualization and containers · VirtualBox

Translated from Portuguese. Read the original

Hi everyone, in this article we’ll see in practice how to install Oracle Enterprise Linux 6.4 and get it ready for the later installation of Grid Infrastructure. Our goal is to install a Grid Infrastructure for a Standalone Server.

To install OEL 6.4 we first need a server, and if you don’t have one you can use Virtual Box for that.

You can download the Virtual Box build for your operating system here: VirtualBox

You can download Oracle Linux here: Oracle E-Delivery

Installing Virtual Box is very simple: basically run the installer and then next, next… finish.

Virtual Box configuration

After installing it you need to create a virtual machine (VM) so we can install Linux on it afterwards. You can follow these steps:

1 – Open Virtual Box;

Screen Shot 2015-12-02 at 8.37.27 PM

2 – Click New to create a new VM;

Screen Shot 2015-12-02 at 8.40.50 PM

3 – Give your VM a name and select your OS;

Screen Shot 2015-12-02 at 8.42.46 PM

4 – Adjust the amount of memory you can give to your new virtualized server. We recommend 4GB of RAM for your VM;

Screen Shot 2015-12-02 at 8.44.11 PM

5 – Select the option to create a new virtual disk;

Screen Shot 2015-12-02 at 8.45.04 PM

6 – Choose the format of your virtual disk. The Virtual Box default format is .vdi;

Screen Shot 2015-12-02 at 8.46.08 PM

7 – The dynamically allocated disk option is ideal in this case, because the disk will grow on demand up to the size you define;

Screen Shot 2015-12-02 at 8.47.09 PM

8 – Define where your virtual disk will be stored by clicking the little folder icon. Also define a size for the disk. We recommend at least 20GB;

Screen Shot 2015-12-02 at 8.48.37 PM

Screen Shot 2015-12-02 at 8.50.50 PM

9 – Your VM has been created, now you need to open the settings menu;

Screen Shot 2015-12-02 at 8.52.53 PM

10 – In the System menu, uncheck the floppy option. In the Processor tab you can assign more than one processor to your VM;

Screen Shot 2015-12-02 at 8.56.45 PM

Screen Shot 2015-12-02 at 8.57.09 PM

11 – In the Storage menu, click the CD and choose the Linux media you downloaded;

Screen Shot 2015-12-02 at 10.29.52 PM

12 – In the Audio menu you can uncheck audio;

Screen Shot 2015-12-02 at 10.12.41 PM

13 – In the Network menu, select the first adapter and use Host-Only Adapter, enable the second adapter and use it as Bridged Adapter. If you have more than one network card, select the one that is connected to the internet;

Screen Shot 2015-12-02 at 10.14.25 PM

Screen Shot 2015-12-02 at 10.17.46 PM

14 – Save the settings by clicking OK;

15 – Now just click Start to boot your VM and we can begin the Linux installation.

All good so far? If you have questions or problems, leave a comment so we can help.

Let’s install Linux now…

Installing Oracle Enterprise Linux 6.4

1 – After the VM starts, select the first option, “Install or upgrade an existing system”;

Screen Shot 2015-12-02 at 10.38.02 PM

2 – The Linux installation media will boot and right after that you’ll be asked whether you want to test the media. If you don’t, just select “Skip”;

Screen Shot 2015-12-02 at 10.38.27 PM

Screen Shot 2015-12-02 at 10.39.14 PM

3 – On this welcome screen, just click “Next”;

Screen Shot 2015-12-02 at 10.44.53 PM

4 – For the language, it’s better to select English, because if errors happen it’s easier to find solutions;

Screen Shot 2015-12-02 at 10.47.20 PM

5 – On this screen you must select the language that matches your keyboard. In my case I chose English;

Screen Shot 2015-12-02 at 10.48.48 PM

6 – Since we don’t have a server to provide storage, we’ll choose “Basic Storage Devices”;

Screen Shot 2015-12-02 at 10.51.32 PM

7 – Right after that a screen will ask about our disk device, and since we created a virtual disk exclusively for our VM, just click “Yes, discard any data”;

Screen Shot 2015-12-02 at 10.54.55 PM

8 – Here, define the name of your server and click “Configure Network”;

Screen Shot 2015-12-02 at 10.58.32 PM

9 – Click “Edit” so we can configure the network cards. You must check “Connect automatically”, and under IPv4 Settings leave DHCP selected, or choose Manual and set your IP manually. Then just click “Apply”. Do the same for your other network card.

Screen Shot 2015-12-02 at 11.00.19 PM

Screen Shot 2015-12-02 at 11.01.41 PM

10 – After configuring both network cards, click “Close” and then “Next”.

Screen Shot 2015-12-02 at 11.02.10 PM

Screen Shot 2015-12-02 at 11.02.45 PM

11 – Select the time zone you want in the drop down box or click the map at the desired location, then click “Next”.

Screen Shot 2015-12-02 at 11.08.59 PM

12 – Set a password for the root user (the Linux superuser). Write this password down so you don’t forget it. Then click “Next”.

Screen Shot 2015-12-02 at 11.11.39 PM

13 – If you picked a password that isn’t very strong, Linux will warn you. If you still want to go ahead with that password, click “Use anyway”.

Screen Shot 2015-12-02 at 11.13.42 PM

14 – We’re going to customize the disk partitioning, so select “Create Custom Layout” and click “Next”.

Screen Shot 2015-12-02 at 11.15.25 PM

15 – Select the free area (Free) and click “Create” (this process repeats for each partition we create).

Screen Shot 2015-12-02 at 11.19.15 PM

16 – Select “Standard Partition” and click “Create” again (this process repeats for each partition we create).

Screen Shot 2015-12-02 at 11.20.35 PM

17 – Create the /boot partition with 200MB, click “OK”.

Screen Shot 2015-12-02 at 11.22.05 PM

18 – Create the / partition with 20480MB, click “OK”.

Screen Shot 2015-12-02 at 11.23.00 PM

19 – Create the Swap partition with 4096MB (same size as the VM’s RAM), click “OK”.

Screen Shot 2015-12-02 at 11.24.06 PM

20 – Create the /u01 (u zero one) partition with the rest of the remaining space; to do that, select “Fill to maximum allowable size”, click “OK”.

Screen Shot 2015-12-02 at 11.24.51 PM

21 – Your partitions should look like the image below, then click “Next”.

Screen Shot 2015-12-02 at 11.25.13 PM

22 – Right after that, click “Format” and then “Write changes to disk”.

Screen Shot 2015-12-02 at 11.33.35 PM

Screen Shot 2015-12-02 at 11.33.58 PM

23 – Keep the default boot device and click “Next”.

Screen Shot 2015-12-02 at 11.36.04 PM

24 – Now we need to choose the software and libraries that will be installed along with Linux. Select “Customize now” and click “Next”.

Screen Shot 2015-12-02 at 11.37.36 PM

25 – In each category, leave what is checked by default and also select the items below:

  • Base System > Base
  • Base System > Compatibility libraries
  • Base System > Hardware monitoring utilities
  • Base System > Large Systems Performance
  • Base System > Legacy UNIX compatibility
  • Base System > Network file system client
  • Base System > Performance Tools
  • Base System > Perl Support
  • Servers > Server Platform
  • Servers > System administration tools
  • Desktops > Desktop
  • Desktops > Desktop Platform
  • Desktops > Fonts
  • Desktops > General Purpose Desktop
  • Desktops > Graphical Administration Tools
  • Desktops > Input Methods
  • Desktops > Legacy X Window System compatibility
  • Desktops > X Window System
  • Applications > Internet Browser
  • Development > Additional Development
  • Development > Development Tools

Screen Shot 2015-12-02 at 11.47.52 PM

After selecting everything, click “Next”.

26 – Now Linux will finally be installed.

Screen Shot 2015-12-02 at 11.49.45 PM

Screen Shot 2015-12-03 at 12.02.14 AM

27 – When the installation finishes, click “Reboot”.

Screen Shot 2015-12-03 at 12.03.04 AM

28 – When Linux starts, follow the order of the images below.

Screen Shot 2015-12-03 at 12.05.00 AM

Screen Shot 2015-12-03 at 12.05.24 AM

Screen Shot 2015-12-03 at 12.05.48 AM

Screen Shot 2015-12-03 at 12.06.14 AM

Screen Shot 2015-12-03 at 12.06.46 AM

29 – There’s no need to create users now, we’ll do that later.

Screen Shot 2015-12-03 at 12.11.33 AM

Screen Shot 2015-12-03 at 12.11.55 AM

30 – Set the correct date and time and move on.

Screen Shot 2015-12-03 at 12.12.22 AM

31 – We don’t need to enable KDump either.

Screen Shot 2015-12-03 at 12.12.43 AM

32 – Installation and configuration are done. You can log in as root with the password you set during the installation.

Screen Shot 2015-12-03 at 12.17.22 AM

That’s all for today. See you in the next post, where we’ll configure the Linux we just installed for Grid Infrastructure.

Earlier comments

  1. José

    Olá.. Muito Legal a Explicação..

    Podes rever o link do download? O download não está mais disponível.

    Obrigado!

Comments