jueves, 8 de enero de 2009

Instalacion Oracle 11g Solaris 64 Bits

At least 1 GB of RAM

# /usr/sbin/prtconf grep "Memory size"

The following table describes the relationship between installed RAM and the configured swap
space requirement:

RAM Swap Space
Between 1024 MB and 2048 MB 1.5 times the size of RAM
Between 2049 MB and 8192 MB Equal to the size of RAM
More than 8192 MB 0.75 times the size of RAM

To determine the size of the configured swap space, enter the following command:# /usr/sbin/swap -s

To determine whether the system architecture can run the software, enter the following command:# /bin/isainfo -kv

Between 225 and 275 MB of disk space in the /tmp directory

To determine the amount of disk space available in the /tmp directory, enter the following command:

# df -h /tmp

To determine the distribution and version of Solaris installed, enter the following command:

uname -r

The following packages (or later versions) must be installed:SUNWarc
SUNWbtool
SUNWhea
SUNWlibC
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt
SUNWsprox

pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \ SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt

Validar si existe el grupo

grep dba /etc/group

root@afrodita # id -a oracleuid=100(oracle) gid=100(oinstall) groups=101(dba),102(oper)

root@afrodita # /usr/sbin/useradd -g oinstall -G dba oracle11gUX: /usr/sbin/useradd: ERROR: oracle11g is already in use. Choose another.
root@afrodita # id -a oracle11guid=101(oracle11g) gid=100(oinstall) groups=101(dba)root@afrodita # id -a oracleuid=100(oracle) gid=100(oinstall) groups=101(dba),102(oper)


# /usr/sbin/usermod -d /export/home/oracle11g -m oracle11g

Cambiar el Password Oracle11g

passwd -r files oracle11g


6.1 Configuring Kernel Parameters On Solaris 9

Parameter Recommended Value
noexec_user_stack
1
semsys:seminfo_semmni
100
semsys:seminfo_semmns
1024
semsys:seminfo_semmsl
256
semsys:seminfo_semvmx
32767
shmsys:shminfo_shmmax
4294967296
shmsys:shminfo_shmmni
100


# cp /etc/system /etc/system.orig

set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967296
set shmsys:shminfo_shmmni=100

Enter the following command to restart the system:

# /usr/sbin/reboot


# df -k

A single file system with at least 1.2 GB of free disk space

To create the required directories and specify the correct owner, group, and permissions for them:

Creacion de Directorios

mkdir -p /u02/app/oracle

chown -R oracle11g:oinstall /u02/app/oracle

chmod -R 775 /u02/app/oracle