Easily installing Oracle12c on CentOS 6
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:
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
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
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
- Introducing the oracle-rdbms-server-12cR1-preinstall and oracle-rdbms-server-11gR2-preinstall RPM for Oracle Linux
- Public Yum Server
- setting the automatic-startup of the instance(remember to change the ORACLE_HOME, if you copy the Oracle suggested script )