ora11 on sol10 in vmware
TRANSCRIPT
-
8/12/2019 Ora11 on Sol10 in VMWare
1/22
Step by Step installing Oracle 11g R2 on OEL 5.5 TNS- 04612: Null RHS for while creating a database using dbca
Step by Step installing Oracle 11g R2 on Oracle Solaris 10
Posted by Kamran Agayev A. on March 27th, 2011
In this step by step tutorial Im going to show you the steps of installing Oracle 11gR2 on Oracle
Solaris 10. For this, download Oracle 11gR2 and Oracle Solaris 10, create virtual machine andinstall Oracle Solaris 10 using my following step by step tutorial:
http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/
After installing the Solaris, login with root user. As a first step lets install VMware tools. Forthis, disconnect the installation dvd and select Install VMware tools from the VM menu
After some seconds a new window will appear.
http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/http://kamranagayev.com/2011/03/31/tns-04612-null-rhs-dbca/http://kamranagayev.com/2011/03/31/tns-04612-null-rhs-dbca/http://kamranagayev.com/2011/03/31/tns-04612-null-rhs-dbca/http://kamranagayev.com/2011/03/31/tns-04612-null-rhs-dbca/http://kamranagayev.com/2011/03/27/step-by-step-installing-oracle-11gr2-on-oracle-solaris-10/http://kamranagayev.com/2011/03/27/step-by-step-installing-oracle-11gr2-on-oracle-solaris-10/http://www.kamranagayev.com/http://www.kamranagayev.com/http://www.kamranagayev.com/http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_172.jpghttp://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/http://www.kamranagayev.com/http://kamranagayev.com/2011/03/27/step-by-step-installing-oracle-11gr2-on-oracle-solaris-10/http://kamranagayev.com/2011/03/31/tns-04612-null-rhs-dbca/http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/ -
8/12/2019 Ora11 on Sol10 in VMWare
2/22
Get its address, copy the file from to the /tmp directory using a terminal window, unzip andinstall it
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_212.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
3/22
Get into the unzipped folder and run the installation file.
cd vmware-tools-distrib./vmware-install.pl
After the installation completes, logout from the root user and login again
Now, lets check the installed OS packages that are required for the Oracle installation. For this,run the following command:
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot SUNWtooSUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
You should miss two packages 1) SUNWi1cs 2) SUNWi15cs
To install them, mount the Solaris installation dvd and run the following command:
pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs SUNWi15cs
If the mount point of the cdrom is different in your environment, specify the correct path to thedvd
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_311.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
4/22
After installation completed perform the following steps:
1) Create necessary groups and a user
groupadd oinstallgroupadd dbauseradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oraclepasswd oracle
2) Create necessary folder for the installation
mkdir -p /export/home/oracle/product/11.2.0/db_1mkdir /export/home/oracle/tmp
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_411.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
5/22
chown -R oracle:oinstall /export/home/oracle
3) Change kernel parameters
projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" oracleprojmod -sK "project.max-sem-nsems=(priv,256,deny)" oracleprojmod -sK "project.max-sem-ids=(priv,100,deny)" oracleprojmod -sK "project.max-shm-ids=(priv,100,deny)" oracleecho "set maxuprc=16384" >> /etc/system
echo "set max_nprocs=30000" >> /etc/systemecho "set shmsys:shminfo_shmmax=4294967295" >> /etc/system
Now reboot the machine and login with an oracle user. Lets create a new swap file with 1Gbsize, as its required for the Oracle installation
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_511.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
6/22
mkfile 1024m /export/home/oracle/orcl_swapswap -a /export/home/oracle/orcl_swap
Now change the .profile file of the oracle user and set necessary environment variables:
gedit /export/home/oracle/.profile
export ORACLE_BASE=/export/home/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1export PATH=$ORACLE_HOME/bin:$PATHexport TMP=/export/home/oracle/tmpexport TMPDIR=/export/home/oracle/tmpexport DISPLAY=:0.0
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_611.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
7/22
Now create an installation direcotry under /export/home/oracle
Then mout the cdrom device and copy the installation files to that directory
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_711.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
8/22
Extract both files uzing unzip utility, and start the installation
unzip your_file1.zip
unzip your_file2.zip
cd database
./runInstaller
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_811.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
9/22
Uncheck the checkbox and click next. If you cant see the Next button, use Alt+N combination
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_911.jpghttp://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_911.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
10/22
Select the first option and click next
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1011.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
11/22
Click Next
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1111.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
12/22
Defint the folder for Oracle installation, database name and passwords and click next
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1211.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
13/22
Click Next
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1311.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
14/22
-
8/12/2019 Ora11 on Sol10 in VMWare
15/22
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1511.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
16/22
-
8/12/2019 Ora11 on Sol10 in VMWare
17/22
After a while, installation finishes.
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_1711.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
18/22
Click OK and youll be prompted to run orainstRoot.sh and root.sh
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_181.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
19/22
Switch to the previous Terminal, create new window, login with a root user and run both shellscripts
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_191.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
20/22
At last, youll get success message
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_201.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
21/22
Now lets connect to the database from Sql*Plus
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_2111.jpg -
8/12/2019 Ora11 on Sol10 in VMWare
22/22
http://kamranagayev.com/wp-content/uploads/2011/03/oracle11gr2solaris_221.jpg