Distribution of the Oracle Cloud Cookbook or derivative of the work in any form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.
Author: Roddy Rodstein
This chapter of the Oracle Cloud Cookbook reviews how to download, install, setup, patch and prepair Oracle Linux 6 for your Oracle technology installations.
Table of Contents
|
Revision
|
Change Description
|
Updated By
|
Date
|
|
1
|
First Release
|
Roddy Rodstein
|
07/15/11
|
| 1.1 |
Linux Patch Management with Free Updates and Errata from Oracle |
Roddy Rodstein |
04/29/12 |
| 1.2 |
oracle-rdbms-server-11gR2-preinstall RPM |
Roddy Rodstein |
05/22/12 |
Oracle Linux Installation and Oracle Linux Support Introduction
Oracle Linux can be installed either from a CD-ROM drive or ISO file using the
graphical (GUI) installation mode or the text installation mode, as well as over the network using a pre-boot execution environment (PXE). The graphical (GUI) and text installation modes for all of the Oracle Linux 6 releases are similar. Text installation mode has limited capabilities when compared to the GUI installation mode. For example, there is no support for configuring partition layout, storage methods or package selection. To install Oracle Linux using the CD-ROM, ISO file or PXE boot method, visit the Oracle Software Delivery Cloud - Oracle Linux and Oracle VM portal to download the Oracle Linux media. The Oracle Linux media is delivered as a zip file that contains an ISO file. For CD-ROM installations, the ISO file can be burned as a bootable disk and used to install Oracle Linux from a CD-ROM drive.
An Oracle Linux PXE boot installation requires several additional steps; for example, a boot server and a kickstart file to automate the Oracle VM server installation must be created. The boot server allows a bare-metal system to automatically receive an IP address via DHCP, load a kernel via TFTP, and then boot without an operating system. Once the bare-metal server boots, Oracle Linux can be installed using the installation media or a kickstart file to automate the Oracle Linux installation.
Note: Oracle Linux is a Red Hat Enterprise Linux tracking distribution. Oracle offers support for Oracle Linux and Red Hat Enterprise Linux. Red Hat offers support exclusively for Red Hat Linux.
Oracle recommends installing Oracle Linux using the default software package selection without any customization. Using the default software packages without customizations includes most of the prerequisite packages for Oracle technology products and helps limit the number of manual prerequisite checks.
The oracle-rdbms-server-11gR2-preinstall RPM, formally know as oracle-validated, simplifies meeting the software and system configuration prerequisites for installing the Oracle Database, Oracle Enterprise Manager, Oracle E-Business Suite, and many other Oracle technology products on Oracle Linux 6. Installing the oracle-rdbms-server-11gR2-preinstall RPM automatically installs all of the software RPM prerequisites for Oracle Database, Oracle Enterprise Manager, Oracle E-Business Suite, etc..., as well as meeting the system configuration prerequisites, such as creating an oracle user and the oinstall and dba groups, configuring the sysctl.conf settings, system startup parameters, user limits, and driver parameters.
Tip: The oracle-rdbms-server-11gR2-preinstall RPM is available at the Oracle Unbreakable Linux Network, on the Oracle Linux media, and from the Oracle public yum repository.
The Oracle Unbreakable Linux Network and the Oracle public yum server are Oracle' cloud repositories for Oracle Linux and Oracle VM RPMs, software patches, updates and fixes. Access to Unbreakable Linux Network requires an Oracle Single Sign-on account, a valid customer service identifier (CSI) and registration. Access to the Oracle public yum server is open to the public without registration.
The Oracle Unbreakable Linux Network is a cloud resource for Oracle Linux Support customers used to access Oracle Linux and Oracle VM RPM repositories, including software patches, updates and fixes. The Oracle Unbreakable Linux Network portal is located at
http://linux.oracle.com. The Oracle Unbreakable Linux Network portal provides a simple dashboard and management interface for registered Linux systems and RPM channels. The Oracle Unbreakable Linux Network repositories are used to patch and install RPMs for Oracle Linux and Oracle VM systems. Oracle Linux support customers have the option to access patchs and RPMs for Oracle Linux and Oracle VM systems from the Oracle Unbreakable Linux Network using the yum program, or from a local yum repository.
The Unbreakable Linux Network is password protected. Before you can access the Oracle Unbreakable Linux Network you must have a valid Oracle Linux support contract, CSI number and an Oracle Single Sign-on account. Your existing My Oracle Support (MOS) Oracle Single Sign-on account will not work with the Oracle Unbreakable Linux Network until the account has been registered with the Oracle Unbreakable Linux Network. Click the
Register link at the Oracle Unbreakable Linux Network portal to a) create a new Oracle Single Sign-on account or to b) associate your existing Oracle Single Sign-on account with the Oracle Unbreakable Linux Network. Once you have a valid support contract, and CSI number, you can register Oracle Linux systems at the Unbreakable Linux Network by typing “uln_register” as root.
In March 2012, Oracle announced that Oracle Linux 4, 5 and 6 latest RPM patches, updates and erratas are available at no cost from the Oracle public yum server located at http://public-yum.oracle.com. The free Oracle Linux 4, 5 and 6 RPM patches, updates and erratas do not include Oracle support or any of the benefits of the Oracle Linux Support program.
Oracle's public yum server allows us to keep Oracle Linux, Red Hat Enterprise Linux, and Oracle VM system up to date to the latest update version, using the "_latest" RPM repository. The Oracle public yum repository RPMs, patches, updates and erratas do not include Oracle support or any of the benefits of the Oracle Linux Support program.
The Oracle Linux Support program offers the following benefits over and above the free Oracle Linux RPM patches, updates and erratas from the Oracle public yum server:
- Full indemnification against intellectual property claims. Remember the SCO lawsuits?
- Use of the Oracle Enterprise Manager 12c Linux Host Patching feature for patch management. Oracle Enterprise Manager 12c Linux Host Patching feature has feature parity with Red Hat Satellite Server.
- Use of the Oracle Enterprise Manager 12c Virtualization Plug-in for Oracle VM for provisioning, patching, management and monitoring.
- Access to additional Oracle software channels on the Unbreakable Linux Network (ULN).
- Patch channels for each Linux update level.
- The ability to create Support Requests with Oracle' World Class support organization.
The Oracle public yum server latest RPM channel include the base OS version installation RPM packages along with the latest software patches, updates and fixes. Patch jobs using the latest RPM channel update hosts to their respected latest version update with the latest software patches, updates and fixes. A patch job executed on a Oracle Linux 6 host would update the host from 6 to 6U3 with the latest latest software patches, updates and fixes. To keep a host at its respected update level, a valid CSI and the Unbreakable Linux Network is required. With the Unbreakable Linux Network, it is possible to register a host the el*/ol*_base channel along with the el*/ol*_patch RPM channel. When hosts are patched using the el*/ol*_base and el*/ol*_patch RPM channels, the hosts are patched with the latest software patches, updates and fixes from their respected update channel, i.e. 6, 6U1, 6U2 and 6U3.
Oracle Linux Packaging and Support Pricing
Oracle Linux is not a licensed Oracle technology product. The Oracle Linux installation media is freely available from the Oracle
eDelivery Linux portal. Support for Oracle Linux and access to the Unbreakable Linux Network is available as an add-on component of Oracle’s enterprise support package as well as with Sun x86 hardware as an add-on
Premier Support for Systems package. Oracle Linux running on third-party hardware (not on Sun Hardware) is always sold as an
add-on support component of Oracle’s enterprise support package.
Premier Support for Systems costs 12% of the net Sun system purchase price and includes comprehensive support for the system hardware and firmware, as well as operating system support for Oracle Linux, Solaris x86, Solaris 11 Express, and Oracle VM for x86. Along with hardware and firmware support, Premier Support for Systems includes operating system support for one or more virtual instances Oracle Linux, Solaris 10 x86, and Solaris 11 Express x86 running on Oracle VM for x86.
Support for Oracle Linux installed on third-party hardware is sold in
three packages: Oracle Linux Network, Oracle Linux Basic, and Oracle Linux Premier.
List 2 highlights the difference between the three different Oracle Linux support packages.
- Oracle Linux Network Support includes access to the Unbreakable Linux Network for patches, fixes and security alerts. Oracle Linux Network support does not include 24x7 global OS support. For example, Oracle Linux Network Support does not include the ability to create Service Requests (SRs) to work with Oracle support.
- Oracle Linux Basic Support includes 24x7 global OS support, access to the Unbreakable Linux Network for patches, fixes and security alerts, the Linux Management Pack (An Oracle Enterprise Manager Linux server lifecycle management Plug-in), and Oracle's OCFS2 cluster software for servers with up to two sockets.
- Oracle Linux Premier Support includes 24x7 global OS support, access to the Unbreakable Linux Network for patches, fixes and security alerts, the Linux Management Pack (An Oracle Enterprise Manager Linux server lifecycle management Plug-in), Oracle's OCFS2 cluster software, Premier backports, and Oracle Lifetime Support for servers with four or more sockets.
How to Download the Oracle Linux Installation Media
The Oracle Linux Installation media is freely available at the
Software Delivery Cloud - Oracle Linux and Oracle VM portal. Access to the
Software Delivery Cloud - Oracle Linux and Oracle VM portal requires an Oracle.com user account and password to authenticate into the Oracle Linux and Oracle VM
Cloud Portal. If you do not already have an Oracle.com user account, visit the Oracle Linux and Oracle VM
Cloud Portal, click the
Sign In / Register link or
button to create an Oracle.com account.
From the Sign In page, enter your Oracle.com user name and password, then click the Sign In button.
Figure 2 shows the Oracle.com Sign In page.
Once authenticated, accept the registration/export regulations to access to the Oracle VM and Oracle Linux Media.
Figure 3 shows the registration/export regulations form.
After completing the registration/export regulation form, you will be redirected to the Media Pack Search page. From the Media Pack Search page, select Oracle Linux from the Select a Product Pack dropdown menu. Next, select x86 64-bit or x86 32-bit from the Platform dropdown menu, then click the Go button to be taken to the Oracle Linux Media Pack download page.
Tip: If you do not see
Oracle Linux or Oracle VM from the
Select a Product Pack dropdown menu, you are not in the
Oracle Linux and Oracle VM section of the
Software Delivery Cloud. Click the
Software Delivery Cloud link in the page header, then click the
Oracle Linux/VM drop down menu to be redirected to the
Oracle Linux and Oracle VM section of the
Software Delivery Cloud .
Figure 4 shows the Media Pack Search page.
From the Oracle Linux Media Pack page, click the desired Oracle Linux Media Pack hyperlink, or select the radio button and click the Continue button to go to the download page.
Tip: Do not download the source DVD for an operating system installation. Oracle Linux is distributed as Open Source software, therefore the source DVD is also available along with the DVD ISO images. The source DVDs are required by the GNU GPL license.
Figure 5 shows the Oracle Linux x86 64 bit Media Pack page highlighting the Oracle Linux Release 6 Update 3 for x86_64 (64 Bit) ISO file download.
From the Oracle Linux Media Pack download page, click the Download button for the ISO file or DVD.
Figure 6 shows the Oracle Linux Release 6 Update 3 Media Pack for x86_64 (64 bit) download page.
The Oracle Linux media is delivered as ISO files for OL6 and as DVD images for OL5 and 4.
Oracle Linux 6 Installation using the Graphical (GUI) Mode
This section reviews how to install Oracle Linux and Red Hat Enterprise Linux from the DVD/CD-ROM, using the graphical (GUI) mode.
1- Boot the server using the DVD ISO image. At the boot prompt, press the Enter key to start the Oracle Linux installation in graphical mode.
Tip: The installer needs at least 406 MB of RAM to work. Text mode will automatically be used if the system has less than 632 MB of RAM.
Figure 1
2- On the CD Found window, you can perform a media test to validate the integrity of the installation media. The media test is optional and time consuming. In this example, we will not perform a media test.
Press the tab key to select the Skip key. Once the Skip key is selected, press the Enter key to proceed.
Figure 2
3- On the Welcome screen, click the Next button or Alt+N to proceed.
Figure 3
4- On the Language Selection screen, select the preferred language that will be used during the installation process. In this example, select the default language, English (English).
Accept the default English (English) language selection, then click the Next button or press Alt+N to proceed.
Figure 4
5- On the Keyboard Selection screen, select the desired keyboard setting for the system. In this example, select the default keyboard selection, US English.
Accept the default US English keyboard selection, then click the Next button or press Alt+N to proceed.
Figure 5
6- On the Storage Device screen, you can select the Basic Storage Devices or the Specialized Storage Devices options.