Oracle Linux Base Install


This tutorial is part of The LAB 2 project.

 

I assume the followings:

  • Domain Controller IP is: 10.0.2.10
  • Gateway IP is: 10.0.2.254
  • Server name is: W2008DC
  • Domain is: W2008.int
  • Oracle hostname: oracle.int
  • Oracle IP address: 10.0.2.30
  • Oracle version: Oracle Linux 6

Installing Oracle Linux 6 base

Select install or upgrade an existing system.

ITFanatic.com

I usually like to test the media, as in some point of time in the past my media was unreadable in the middle of the install, and it took some time until I got another media. So better test in advance

ITFanatic.com

Press next to continue.

ITFanatic.com

Select the installation process language.

ITFanatic.com

Select the keyboard layout.

ITFanatic.com

This is a typical storage so choose "Basic Storage Devices".

ITFanatic.com

I'll use all the available space on the disk.

ITFanatic.com

Set the name of the computer: "oracle.int".

ITFanatic.com

Configure the network card to use the IP: 10.0.2.30, and the DNS will be the Domain Controller: 10.0.2.10.

ITFanatic.com

My location is Budapest, this is only important for time-zone setting.

ITFanatic.com

Set the root password. I usually use Asdf1234 for most passwords so I don't forget.

ITFanatic.com

I let the installer use all available space and create the partitions automatically.

ITFanatic.com

Check if the partitioning seems good to you.

ITFanatic.com

Format the partition by pressing format in the warning window.

ITFanatic.com

Confirm again, that you want to write changes to the disk.

ITFanatic.com

Install boot loader into the default location. Press next.

ITFanatic.com

This is going to be a database server, so choose the database option. Also select "Customize now" to add custom packages in order to have a minimal graphical environment.

ITFanatic.com

Select the menus under "Desktop" group: Desktop, Fonts, General Purpose Desktop, Graphical Administration Tools, X Windows system.

ITFanatic.com

ITFanatic.com

After the installation process press the "Reboot".

ITFanatic.com

Add the DNS record to the Domain Controller (for the LAB2 setup only)

Start the DNS snap-in in the Domain controller server. set the name: "oracle" and the IP address "10.0.2.30". Select also "Create associated pointer PTR record".

ITFanatic.com

Check if the Reverse lookup zone is set correctly, if not, set it manually.

ITFanatic.com

continue the installation of Oracle Linux 6.

ITFanatic.com

Accept the license agreement.

ITFanatic.com

Skip the software updates for now. I'll do it later manually.

ITFanatic.com

Create a normal linux user named "ouser" with a password.

ITFanatic.com

Set date and time.

ITFanatic.com

Click next to accept the KDUMP settings. Cannot change here now.

ITFanatic.com

Check the ethernet 0 MAC address in the connections setup. Set the connect automatically flag, because it won't start by default if this is not set.

ITFanatic.com

Set the IPv4 routing by setting the default gateway for the subnet 10.0.2.0/24 to 10.0.2.254.

ITFanatic.com

Set DNS servers in the IPv4 settings as well if not set. DNS servers to 10.0.2.10, 10.0.2.254 and search domains to 10.0.2.10 and int.

ITFanatic.com

Set the /etc/sysconfig/network file contents as well. It should contain the following values: NETWORKING=yes; HOSTNAME=oracle;GATEWAY=10.0.2.254

ITFanatic.com

Set the /etc/hosts file contents. add the oracle linux and the domain controller lines:

10.0.2.30 oracle oracle.w2008.int

10.0.2.10 w2008 w2008dc.w2008.int

ITFanatic.com

Check if the DNS settings are correct in the /etc/resolv.conf.

ITFanatic.com

Check if the settings are correct in the interface files: /etc/sysconfig/network-scripts/ifcfg-eth0. It hsould reflect the settings set in the previous screenshots.

ITFanatic.com

Update the linux packages by issuing the "yum update" command.

ITFanatic.com

Accept the offered package install by pressing Y.

ITFanatic.com

The update process is completed.

ITFanatic.com