Search This Blog

Friday, June 26, 2015

making pre-installation of Oracle12c on CentOS 6 easy

Easily installing Oracle12c on CentOS 6 

preliminary remarks: 
1) many of the preperation tasks require privileges which require root, sudo or the tailoring of the user's privileges. If you don't have root access, you'll need the help of your sys admin. I did not tailor made this guide, and instead worked from root when needed. life is easier when you have root access... 
2) I assume knowledge of getting the Oracle12c installation files. 

Pre-Installation made easy:
First of all, get from the Oracle Public Yum Server:
 http://public-yum.oracle.com/
the installation-simplification-package :

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-ol6.repo

cat /etc/redhat-release # to see which oracle unbreakable linux <> red-hat <> parallel centos I'm using (my case: 6.6) 
vi public-yum-ol6.repo     # Open the yum configuration file in a text editor
#change the field enabled=0 to enabled=1 to reflect repositories that correspond to the machine's operating system 
#release. 
by default, the relevant repositorieswere enabled for me 
([ol6_latest]  ,  [ol6_UEK_latest] )

yum install oracle-rdbms-server-12cR1-preinstall
# check /var/log/oracle-rdbms-server-12cR1-preinstall
             # the sub-folder results contains the logs 
             # the sub-folder backup/[date-of-run] contains backup of changed files 

now change the password for the future owner of the db, the newly created user oracle.

as always, reboot before starting installation, to make sure all changes are in effect. 

and it is "./runInstaller " time ! 

(and don't forget the post installation steps that too many people neglect!) 

further reading / learning 

No comments:

Post a Comment