Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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 and
install Oracle Solaris 10 using my following step by step tutorial:
http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oraclesolaris/
After installing the Solaris, login with root user. As a first step lets install VMware tools. For
this, disconnect the installation dvd and select Install VMware tools from the VM menu
Get its address, copy the file from to the /tmp directory using a terminal window, unzip and
install it
Get into the unzipped folder and run the installation file.
[code]
cd vmware-tools-distrib
./vmware-install.pl
[/code]
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:
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle
passwd oracle
[/code]
2) Create necessary folder for the installation
[code]mkdir -p /export/home/oracle/product/11.2.0/db_1
mkdir /export/home/oracle/tmp[/code]
[code]chown -R oracle:oinstall /export/home/oracle[/code]
3) Change kernel parameters
[code]
projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" oracle
projmod -sK "project.max-sem-nsems=(priv,256,deny)" oracle
projmod -sK "project.max-sem-ids=(priv,100,deny)" oracle
projmod -sK "project.max-shm-ids=(priv,100,deny)" oracle
echo "set maxuprc=16384" >> /etc/system
echo "set max_nprocs=30000" >> /etc/system
echo "set shmsys:shminfo_shmmax=4294967295" >> /etc/system
[/code]
Now reboot the machine and login with an oracle user. Lets create a new swap file with 1Gb
size, as its required for the Oracle installation
[code]
Now change the .profile file of the oracle user and set necessary environment variables:
gedit /export/home/oracle/.profile
[code]
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export PATH=$ORACLE_HOME/bin:$PATH
export TMP=/export/home/oracle/tmp
export TMPDIR=/export/home/oracle/tmp
export DISPLAY=:0.0
[/code]
Extract both files uzing unzip utility, and start the installation
[code]
unzip your_file1.zip
unzip your_file2.zip
cd database
./runInstaller
[/code]
Uncheck the checkbox and click next. If you cant see the Next button, use Alt+N combination
Click Next
Defint the folder for Oracle installation, database name and passwords and click next
Click Next
After the installation of the software finishes, installer automatically runs the DBCA to create the
database
Switch to the previous Terminal, create new window, login with a root user and run both shell
scripts
This entry was posted on Sunday, March 27th, 2011 at 1:05 am and is filed under
Administration. You can follow any responses to this entry through the RSS 2.0 feed. You can
leave a response, or trackback from your own site.
75 Responses to Step by Step installing Oracle 11g R2 on Oracle Solaris 10
1. Bakhtiyar Says:
April 1st, 2011 at 4:06 am
Hi.I want install Oracle 11g on solaris 10 but I dont unzip database file.
# unzip solaris.sparc64_11gR1_database_1013.zip
error:
Archive: solaris.sparc64_11gR1_database_1013.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of solaris.sparc64_11gR1_database_1013.zip
or
solaris.sparc64_11gR1_database_1013.zip.zip, and cannot find
solaris.sparc64_11gR1_database_1013.zip.ZIP, period.
Please help me