sales@mokumsolutions.com
Copyright 2014 Mokum Solutions, Inc. All rights reserved.
Distribution of the Oracle Cloud Cookbook or derivative of the work in any form
is prohibited unless prior permission is obtained from the Copyright holder.
About Mokum Solutions, Inc.
Founded in March 2011, Mokum Solutions, Inc. specializes in the implementation,
delivery and support of Oracle technologies in private and public clouds. Mokum
corporate headquarters are located in San Francisco, CA http://mokumsolutions.com
or call 1 415 252 9164
About the Author
The author of the Oracle Cloud Cookbook is none other than the owner of
Mokum Solutions, Inc., Roddy Rodstein. Roddy is one of the most respected
Oracle Cloud Computing experts, having designed and managed many of the
worlds largest and most complex Oracle private clouds. Before establishing
Mokum in March 2011, Roddy spent three years at Oracle on the Oracle VM
and Oracle Linux team designing and supporting Oracle's largest and most
complex customer environments. Before Oracle, Roddy spent six years at Citrix,
designing and supporting Citrix's largest and most complex customer environments,
Including Oracle's. With Mr. Rodsteins rich background and knowledge, there
can be no better resource for revealing the Oracle Cloud recipe.
Audience
The Oracle Cloud Cookbook is a comprehensive, field tested reference design that
guides you through each step to move to your Oracle software portfolio to an elastic
Oracle cloud using the Oracle VM product line, Oracle Linux, Oracle Engineered
Systems managed by Oracle Enterprise Manager 12c, with total control over Oracle
processor licensing.
http://mokumsolutions.com
Updated By
Date
First Release
Roddy
Rodstein
06/22/11
1.1
Roddy
Rodstein
04/29/12
4 of 35
http://mokumsolutions.com
5 of 35
http://mokumsolutions.com
6 of 35
http://mokumsolutions.com
and 6 RPM patches, updates and erratas do not include Oracle support or any
of the benets of the Oracle Linux Support program.
The next example shows how to download the public-yum-el5.repo le from
Oracle, then use the public-yum-el5.repo le to update the host, and install
the Legacy Software Development packages. Type the following commands as
root:
#
#
#
#
cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-el5.repo
yum update
yum groupinstall "Legacy Software Development"
7 of 35
http://mokumsolutions.com
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, xes 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, xes 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.
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
Mokum Solutions, Inc. +1 415 252-9164
8 of 35
http://mokumsolutions.com
9 of 35
http://mokumsolutions.com
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
10 of 35
http://mokumsolutions.com
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
11 of 35
http://mokumsolutions.com
6- A partition tableWarning dialogue box will appear after you make your
Keyboard selection. Click the Yes button or press Alt+Y to proceed with the
installation. If you click No, the installation will terminate.
Figure 6
12 of 35
http://mokumsolutions.com
7- On the Partitioning screen, you can select the default partitioning layout
or create your own partitioning layout. Selecting the default partitioning
layout will create a 100MB /boot partition and a LVM with two volume
groups, a large root / partition and a swap partition.
In this example, accept the defaults, click the Next button or press Alt+N to
proceed.
Figure 7
8- A partition table Warning dialogue box will appear after clicking the
previous Next button. Click the Yes or press Alt+Y to proceed.
Figure 8
13 of 35
http://mokumsolutions.com
9- On the Networking conguration screen, you can accept the default DHCP
setting or congure the networking manually.
To use DHCP, accept the defaults, and click the Next button or press Alt+N
to proceed.
Figure 9
14 of 35
http://mokumsolutions.com
10- To congure the networking manually, click the Edit button or press
Alt+E to access the Edit Interface screen. On the Edit Interface screen,
select Manual Conguration and enter the IP address and Netmask. Next,
unselect Enable IPv6 support. Click the Ok button or press ALT+O to save
the networking setting and to return to the Networking conguration screen.
Figure 10
15 of 35
http://mokumsolutions.com
11- On the Networking conguration screen, select manually and enter the
hostname, gateway and DNS information. Click the Next button or press
Alt+N to proceed.
Figure 11
16 of 35
http://mokumsolutions.com
12- On the Time Zone screen, select the time zone for your area by clicking
your region on the map. Accept the default System clock uses UTC setting,
and click the Next button or press Alt+N to proceed.
Figure 12
13- On the Root Password screen enter a root password for the server, then
click the Next button or press Alt+N to proceed.
Figure 13
17 of 35
http://mokumsolutions.com
14- On the Software Selection screen, you can accept the default selections
or select one or more roles for the server and/or customize the entire
software selection by selecting the Customize now.
Oracle recommends installing Linux using the default software package
selection without any customization. Using the default software packages
without customizations includes most of the prerequisite packages and helps
limit the number of manual checks.
Accept the default software package selection without any customization,
then click the Next button or press Alt+N to proceed.
Figure 14
18 of 35
http://mokumsolutions.com
15- On the About to Install screen, click the Next button or press Alt+N to
start the installation.
Note: If you are installing Oracle Linux using the CD ISO images, you will be
prompted to enter additional CDs.
Figure 15
19 of 35
http://mokumsolutions.com
16- On the Installation Progress screen, you will see a dialogue box about
the hard drive being formatted. Once the hard drive is formatted, the
installation begins and you see the progress indicators. The installation will
take a few minutes.
Figure 16
20 of 35
http://mokumsolutions.com
17- The Congratulations screen informs you that the installation is complete,
and to remove your DVD media from the system and to reboot the system.
Remove the CD/DVD media from the system, and click the Next button or
press Alt+t to reboot the system.
Figure 17
21 of 35
http://mokumsolutions.com
18- After the system reboots, you will be presented with the Welcome screen.
Click the Forward button or press Alt+F to proceed.
Figure 18
22 of 35
http://mokumsolutions.com
19- On the License Agreement screen, accept the license agreement and
click the Forward button or press Alt+F to proceed.
Figure 19
23 of 35
http://mokumsolutions.com
21- Disabling the rewall opens a dialogue window that informs you about
changing the security setting of the system. Click the Yes button or press
ALT+Y to proceed.
Figure 21
24 of 35
http://mokumsolutions.com
23- Disabling SELinux opens a dialogue window that informs you about
changing the SELinux setting and the need to reboot the system. Click the
Yes button or press ALT+Y to proceed.
Figure 23
25 of 35
http://mokumsolutions.com
24- On the Kdump screen, accept the default setting and click the Forward
button or press Alt+F to proceed.
Figure 24
26 of 35
http://mokumsolutions.com
25- On the Date and Time screen you can congure the Date and Time and
Network Time Protocol (NTP) settings. Congure the Date and Time and
Network Time Protocol settings, then click the Forward button or press
Alt+F to proceed.
Figure 25
26- On the Create User screen, you can create new system users. Click the
Forward button or press Alt+F to proceed.
Figure 26
27 of 35
http://mokumsolutions.com
27- On the Sound Card screen, click the Forward button or press Alt+F to
proceed.
Figure 27
28 of 35
http://mokumsolutions.com
28- On the Additional CDs screen, click the Finish button or press Alt+F to
complete the installation and to reboot the system.
Figure 28
29- As soon as the system has rebooted, you are presented with the Oracle
Linux 5 login screen. Once you have successfully authenticated, you have a
fully functional GNOME desktop environment.
Figure 29
29 of 35
http://mokumsolutions.com
30 of 35
http://mokumsolutions.com
Network (ULN).
The ability to create Support Requests with Oracle' World Class support
organization.
The Oracle public yum server latest RPM channels include the base OS
version installation RPM packages along with the latest software patches,
updates and xes. Patch jobs using the latest RPM channel update hosts to
their respected latest version update with the latest software patches,
updates and xes. A patch job executed on a Oracle Linux 5U2 host would
update the host from 5U2 to 5U8 with the latest latest software patches,
updates and xes. 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 xes from their respected update channel, i.e.
5, 5U1, 5U2, 5U3, 5U4, 5U6 and 5U7 not with the latest, i.e. 5U8 channel.
To congure an Oracle Linux, Red Hat Enterprise Linux 5 host to use Oracle's
public yum repository, as root, change to the /etc/yum.repos.d/ directory and
type wget http://public-yum.oracle.com/public-yum-el5.repo to download the
public-yum-el5.repo le. Next, type yum update to patch the host.
The next example shows how to download the public-yum-el5.repo le from
Oracle and to update an Oracle Linux or Red hat Enterprise Linux host. Type
the following commands as root:
# cd /etc/yum.repos.d/
# wget http://public-yum.oracle.com/public-yum-el5.repo
# yum update -y
The next examples shows the public-yum-el5.repo le.
Tip: You can enable any of the repositories in the public-yum-el5.repo le by
changing enabled=0 to enabled=1.
# vi /etc/yum.repos.d/public-yum-el5.repo
[el5_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
31 of 35
http://mokumsolutions.com
[el5_ga_base]
name=Oracle Linux $releasever GA installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/0
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u1_base]
name=Enterprise Linux $releasever Update 1 installation media copy
($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/1
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u2_base]
name=Enterprise Linux $releasever Update 2 installation media copy
($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/2
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u3_base]
name=Enterprise Linux $releasever Update 3 installation media copy
($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/3
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u4_base]
name=Enterprise Linux $releasever Update 4 installation media copy
($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/4
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
32 of 35
http://mokumsolutions.com
[el5_u5_base]
name=Enterprise Linux $releasever Update 5 installation media copy
($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/5
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u5_base]
name=Oracle Linux $releasever Update 5 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u6_base]
name=Oracle Linux $releasever Update 6 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/6
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u7_base]
name=Oracle Linux $releasever Update 7 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/7
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u8_base]
name=Oracle Linux $releasever Update 8 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/8
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_addons]
name=Enterprise Linux $releasever Add ons ($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons
/$basearch/
Mokum Solutions, Inc. +1 415 252-9164
33 of 35
http://mokumsolutions.com
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_oracle_addons]
name=Oracle Software addons for Enterprise Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux
/EL5/oracle_addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever
($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/UEK/latest
/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever
($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/UEK
/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_unsupported]
name=Productivity Applications for Enterprise Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/unsupported
/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
34 of 35
http://mokumsolutions.com
Oracle Linux or Red Hat Enterprise Linux from a system will depend on your
organizations security requirements. For example, if the data on the hard
drive needs to be securely deleted, formatting or re-partitioning the hard
drive will not completely remove the data from the disks. To completely wipe
Oracle Linux or Red Hat Enterprise Linux as well as the data from the hard
disks, boot the system using data destruction application like Darik's Boot and
Nuke (DBAN) and wipe all of the disks. If the data on the hard drive does not
need to be securely deleted, you could a) delete all the les on the disks b)
format or re-partition the hard drives c) uninstall the bootloader and d) install
another operating system on top of the existing one.
List 3 shows several of the options to remove Oracle Linux from a system.
Boot the system using data destruction application like Darik's Boot and
Nuke (DBAN) and wipe all of the disks.
Delete all the les on the disks, i.e. type rm -rf / as root.
Format or delete the partitions.
Uninstall the bootloader.
Install another operating system on top of Oracle Linux or Red Hat
Enterprise Linux.
35 of 35