This tutorial describes how to install and configure Oracle Enterprise Linux 5 General Availability.
This tutorial covers the following topics:
![]() |
Overview | |
![]() |
Prerequisites | |
![]() |
Install Oracle Enterprise Linux 5 General Availability | |
![]() |
Perform Linux operating system pre-installation steps for Oracle Database 11g | |
![]() |
Summary |
Place the cursor over this icon to load and view all
the screenshots for this tutorial. (Caution: This action loads all
screenshots simultaneously, so response time may be slow depending on your Internet
connection.)
Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it.
When completed, operating system Oracle Enterprise Linux 5 General Availability will be installed.
Before you perform this tutorial, you should:
1. |
Download Oracle Enterprise Linux 5 General Availability
from |
Perform the following steps:
1. |
Power on the machine with the DVD or disc1(CD) of OEL5GA.
|
2. |
Press ENTER at the "boot:" prompt. Note: If you don't press ENTER within
60 seconds, the installer will
|
3. |
Screen: "Welcome to Enterprise Linux" "CD Found" Press the Tab key to highlight "Skip."
|
4. |
Screen: "Welcome to Enterprise Linux" GUI Click Next.
|
5. |
Screen: "Language Selection" Select the appropriate language.
|
6. |
Screen: "Keyboard Configuration" Select the appropriate keyboard.
|
7. |
Screen: "Warning." Read the warning. Click Yes.
Note: If Linux already exists on the target hardware a choice will be given between "Install Enterprise Linux" or "Upgrade an existing Installation."
|
8. |
Screen: "Disk Partitioning" Check Review and Modify partitioning layout.
|
9. |
Screen: "Warning" Click Yes to each warning. Note: This warning will appear for each defined disk.
|
10. |
Screen: "Disk Partitioning" Use the right hand side slide and review the disk configuration. Click Next.
|
11. |
Screen: "Boot Loader Configuration" Click Next.
|
12. |
Screen: "Network Configuration" Select eth0 from Network Devices.
|
13. |
Screen: "Edit Interface eth0" Uncheck Use dynamic IP configuration (DHCP)
|
14. |
Screen: "Network Configuration" Under "Hostname" / Set the hostname: Under "Miscellaneous Settings" Click Next.
|
15. |
Screen: "Time Zone Selection" Choose the appropriate time zone.
|
16. |
Screen: "Set Root Password" Enter a secure password.
|
17. |
Check the box next to Software Development. Select Customize now. Click Next.
|
18. |
Select Development. Check the box next to Legacy Software Development.
|
19. |
Select Base System. Check the box next to Legacy Software Development. Click Optional packages.
|
20. |
Check the box next to compat-db. Click Close.
|
21. |
Select Base System. Check the box next to System Tools. Click Optional packages.
|
22. |
Slide down and check the box next to sysstat. Click Close.
|
23. |
Click Next.
|
24. |
Click Next.
|
25. |
Installing Packages.
|
26. |
Click Reboot.
|
27. |
Click Forward.
|
28. |
Read the license agreement. If you agree, select Yes, I agress to the License Agreement. Click Forward.
|
29. |
Click on the Firewall drop down menu and select Disabled. Click Forward.
|
30. |
Read the warning. Click Yes.
|
31. |
Click on the SELinux Setting drop down menu and select Disabled. Click Forward.
|
32. |
Read the warning. Click Yes.
|
33. |
Click Forward.
|
34. |
Set the correct date and time. Click Forward.
|
35. |
Click Forward.
|
36. |
Read the warning. Click Continue.
|
37. |
Click Forward.
|
38. |
Click Finished. Click OK.
|
39. |
OS installation complete. Login. User root. Password oracle.
|
40. |
Open a terminal window. Two options for opening a terminal window: 1. Right click on the desktop and select Open Terminal.
2. From the menu bar select Applications -> Accessories -> Terminal.
|
41. |
Install additional RPMs needed for the Oracle Database installation. Mount the OS installation media. In the open terminal window execute these commands: mkdir /media/cdrom mount -t iso9660 -o ro /dev/cdrom /media/cdrom cd /media/cdrom/Server
|
42. |
Install RPM libaio-devel. Execute: rpm -ivh libaio-devel*rpm
|
43. |
Install RPMs unixODBC and unixODBC-devel.. Execute: rpm -ivh unixODBC-2*rpm unixODBC-devel-2*rpm
|
Perform the following steps:
1. |
As root, open a terminal window and perform these steps: Edit /etc/hosts. The file should contain text similar to the following: 127.0.0.1 localhost.localdomain localhost 192.168.203.11 stctestbox01.us.oracle.com stctestbox01
|
2. |
Now check /etc/hosts the network settings are good. Issue these commands in a terminal window. Note: The character before eval and after hostname above is not a single quote, it is a grave accent. On a standard US keyboard, the key for the grave accent is in the upper left-hand corner, on the same key as the tilde. The results should be similar to the following: stctestbox01.us.oracle.com 192.168.203.11 stctestbox01.us.oracle.com stctestbox01
|
3. |
Configure the kernel. Edit /etc/sysctl.conf. Add the following to the file: # Kernel paramaters required by Oracle 11gR1 fs.file-max = 6553600
|
4. |
For the /etc/sysctl.conf changes to take effect now issue this command. sysctl -p
|
5. |
Edit /etc/security/limits.conf Add these lines: oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
|
6. |
Edit /etc/pam.d/login Add these lines: session required /lib/security/pam_limits.so session required pam_limits.so
|
7. |
Edit /etc/profile Add these lines: if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi
|
8. |
Create the operating system user to own the software installation and the supporting groups. groupadd oinstall groupadd dba groupadd oper useradd oracle usermod -g oinstall -G dba,oper,oracle oracle passwd oracle
|
9. |
Edit /home/oracle/.bash_profile Add these lines: umask 022 ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1 ORACLE_SID=orcl PATH=$ORACLE_HOME/bin:$PATH export PATH export ORACLE_BASE ORACLE_HOME ORACLE_SID
|
10. |
Create the software installation directory. mkdir -p /u01/app chown root:oinstall /u01/app
|
In this tutorial, you learned how to:
![]() |
Install Oracle Enterprise Linux 5 General Availability | |
![]() |
Configure the operating system for an Oracle Database 11g installation |