Home > HOME > ORACLE: INSTALLATION ORCL11g

ORACLE: INSTALLATION ORCL11g

CONNECT as root.

[root@localhost~]# su – oracle

\-bash-3.2$ su – oracle

Password: oracle

-bash-3.2$ pwd

/home/oracle

-bash-3.2$ cd /

-bash-3.2$pwd

bash-3.2$/

dir —————[or “ls”]

bin data etc lib media mnt opt proc sbin srv tftpboot usr boot dev

home lost+found misc net oracle root selinux sys tmp var

-bash-3.2$cd /oracle

-bash-3.2$mkdir Oracle11

-bash-3.2$cd Oracle11

-bash-3.2$mkdir 11201

-bash-3.2$cd /

>>>Enter CD into CDROM and navigate to media

-bash-3.2$cd media 

-bash-3.2$dir

-bash-3.2$110621_1852 cdrom

-bash-3.2$cd 110621_1852

-bash-3.2$ls

linix_11gR2_database_1of2.zip  linix_11gR2_database_2of2.zip

-bash-3.2$cp   *.zip   /oracle/tempsoftware/oracle11g

-bash-3.2$cd /oracle/tempsoftware/oracle11g

-bash-3.2$ls

linix_11gR2_database_1of2.zip  linix_11gR2_database_2of2.zip

-bash-3.2$unzip linix_11gR2_database_1of2.zip 

-bash-3.2$unzip linix_11gR2_database_2of2.zip 

-bash-3.2$ls

database   linix_11gR2_database_1of2.zip    linix_11gR2_database_2of2.zip

-bash-3.2$cd database

-bash-3.2$ls

doc  install response rpm runInstaller sshsetup stage welcome.html

-bash-3.2$./runInstaller

——–> Starts the GUI. Use this OUI to install the Oracle Binaries.

Uncheck> i wish to receive security updates via My Oracle Support

Will pop up an Alert message, safely ignore message and say yes.

We will be installing database software only as the DBCA provides more flexibility and additional capabilities for db creation.

Next, choose whether this will be a Single instance database installation or a RAC. We are choosing the first option.

Available languages, English please, thank you very much.

Next choose, Enterprise Edition( needs 3.95 GB for installation)

Next is an important step. We are to chose

1. Oracle BASE and

2. need to specify the software location which is the ORACLE HOME.

NB. In our case, I have already installed Oracle 10g on this system. To check the different $ORACLE_SID’S and to verify if they startup automatically when the server starts up, query oratab in the etc folder

-bash-3.2$cat /etc/oratab

#blah blah blah

harry:/oracle/Oracle10/10201:N

orcl1:/oracle/Oracle10/10201:N

——>So, we have two databases on Oracle10g that are set to “N” it No to automatically startup on server startups.

Back to the OUI, (Step 6 of 11)

Choose the Oracle Base: /oracle/Oracle11

and the Oracle Home: /oracle/Oracle11/11201

Next (Step 7 of 11)

Database Administrator (OSDBA) Group: dba

Database Operator (OSOPER) Group: oinstall

Now Oracle will check if the target environment meets the minimum installation and configuration requirements for the product, should take under a minute.

If any of the prerequisites fail, you can run the FIX & CHECK AGAIN which will execute fixup scripts which can run outside the installer to fix the issues. Note that these scripts need to be run as root user. It will give very clear instructions as follows:

Script: /tmp/CVU_11.2.0.1.0_oracle/runfixup.sh

To execute the fixup scripts:

1. Open a terminal windows

2. Login as “root”

3. Run the scripts

4. Return to this window and chick “OK” to continue.

Next Oracle will start to extract files(Oracle binaries) to Oracle Home directory.

Two parts:

1. Oracle database Installation

  • Prepare
  • Copy files
  • Link binaries
  • Setup files

2. Execute Root Scripts for Oracle Database installation.

This will take while…so be patient.

Next execute configuration scripts

cd /oracle/Oracle11/11201

./root.sh

Enter the full path of the local bin direcotry: [/usr/local/bin]: —————–>press enter

The file “dbhome” already exits in /user/local/bin. Overwite it? (y/n) : y

the file oraenv already exisits overwirte it : y

coraevn : y

—-ALL IS WELL!

 

Categories: HOME
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment