Sunteți pe pagina 1din 3

Document: Oracle 10g installation on Solaris 10 X86 (10.2 Release).

Created by: Prasad Jadhav


prasad3457@yahoo.co.in
Sinhgad Institute of Management, Pune-41

STEP 1:-(for bash prompt)

pkginfo -i SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt


SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool \
SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8

pkgadd -d . SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt


SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool \
SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8

pkgadd -d /cdrom/sol_10_106_x86/Solaris_10/Product SUNWi1cs SUNWi15cs

cat /etc/hosts
<IP-address> <fully-qualified-machine-name> <machine-name>

#exec bash" or "exec /usr/bin/bash(for bash prompt)


#usermod -s /bin/bash root(login as root)

STEP 2:-(creation of users group)

#/usr/sbin/groupadd -g 301 dba


#/usr/sbin/groupadd -g 401 oinstall
#/usr/sbin/groupadd -g 393 oper
#/usr/sbin/groupadd -g 402 asmadmin
#/usr/sbin/useradd -d /export/home/oracle -m -u 701 -g 401 -G 301,402,393 -c "oracle 10g User" -s
/bin/bash oracle
#chown -R oracle:dba /export/home/oracle(not needed)

STEP 3:-(setting password for oracle user)

#passwd -r files oracle

STEP 4:-(checking user nobody)

#id nobody
#/usr/sbin/useradd nobody(run if does not exist)
STEP 5:-(assigning kernel parameters)

#gedit /etc/system

set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semmni=100
set semsys:seminfo_semvmx=32767
set noexec_user_stack=1

STEP 6:-(changing values in .profile file)(OFA-Oracle Optimal Flexible architechture)

#gedit /export/home/oracle/.profile

# Oracle Settings
umask 022
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0.2.0/db_1; export ORACLE_HOME
ORACLE_SID=MYDB; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/X11R6/bin:/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
DISPLAY=sipu:0.0; export DISPLAY

if [ $USER = "oracle" ]; then


if [ $SHELL = "/bin/bash" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
STEP 7:-(adding project for the user oracle)

#projadd -c "oracle 10g project" oracle


#gedit /etc/user_attr
oracle::::project=oracle(add the line at the enf of the file)

STEP 8:-(checking id and memory allocation)

#id -p -a oracle

#su - oracle

$prctl -n project.max-shm-memory -i project oracle(As oracle)


#prctl -n project.max-shm-memory -v 4gb -r -i project oracle(As root:-setting lost after reboot)
$prctl -n project.max-shm-memory -i project oracle(as oracle to check)
#projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle(As root:-settings permanent)
check in cat /etc/project

STEP 9:-(creating mount points for oracle installation)

mkdir -p /u01/app/oracle/product/10.2.0.2.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01(not needed)

STEP 10:-(setting up display settings)

#xhost +(As root)


#xhost + user(As root)
DISPLAY=<machine-name>:0.0; export DISPLAY

STEP 11:-(unzipping oracle 10g software)

#unzip 10202_da.zip(As oracle)


#su - oracle
$cd database(As oracle)
$./runInstaller(As oracle)

S-ar putea să vă placă și