A while ago Oracle released the oracle-validated package. It is available as a package on the OEL installation CDs or DVD. This package is very handy to use. It, for example, creates the oracle account, sets some kernel parameters and the ulimits for the oracle account. It also automatically installs, almost all the required packages, which are needed for the database software installation. This is only the case when you use a yum-repository. If you don’t use such a repository, it will tell you which extra packages must be installed, so you can install them manually.
Unfortunately for the installation of the Oracle RDBMS 11g release 2 (64 bit) software, it misses the following packages:
· libaio-devel
· unixODBC
· unixODBC-devel
During the installation of the 11g release 2 Grid Infrastructure software, the installer will complain that these packages are missing. Also not all the kernel parameters are set the right way, but in 11g release 2, this can be fixed by the Oracle Universal Installer. Below you’ll find a example of a kickstart file, which can be used to do a minimal installation.
# Kickstart file automatically generated by anaconda.
install
text
url --url http://192.168.0.250/OEL5u4_i386
lang en_US.UTF-8
keyboard us
network --device=eth0 --bootproto=query
rootpw --iscrypted $1$wGAh8J7a$s3VZ07TWA8EcAUQG7esZt0
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc Europe/Amsterdam
bootloader --location=mbr --driveorder=sda
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part pv.2 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1008 --grow --maxsize=2016
%packages
@base
@core
fipscheck
squashfs-tools
device-mapper-multipath
sgpio
e4fsprogs
oracle-validated
createrepo
audit
sysstat
# For 11g release 2
libaio-devel
unixODBC
unixODBC-devel
Take a good look at the packages section. It will install a couple of package groups which are the following:
· base
· core
Also a couple of single packages will be installed. One of them is the oracle-validated package. Since this package depends on some other packages, these depended packages will also be installed.
Of course you can add packages that you need.
Now you can install OEL with the help of this kickstart file, as described in the document Using a kickstart to install a new server.
After the installation is done and you’ve rebooted your new server, you will find the following on your newly installed server:
· oracle account with uid 500
· Modified file /etc/sysctl.conf for kernel parameters
· Modified file /etc/security/limits.conf
· Also some packages that are required for the oracle-validated package are installed. The required packages can be seen with the rpm -qR oracle-validated command.
You’re now ready to install the Oracle 11g release 2 Grid Infrastructure and the Oracle 11 g release 2 RDBMS software.