Wednesday, June 18, 2008

Oracle db installtion steps-- Part 1 - Try to automate

# /usr/contrib/bin/machinfo | grep -i Memory
Memory = 3060 MB (2.988281 GB)

# /usr/sbin/swapinfo -a
             Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvol2
reserve       -  332440 -332440
memory  3134216  964228 2169988   31%

# /bin/getconf KERNEL_BITS
64

# /usr/sbin/swlist -l patch | more

Create the below mentioned links:

# cd /usr/lib

# ln -s libX11.3 libX11.sl

# ln -s libXIE.2 libXIE.sl

# ln -s libXext.3 libXext.sl

# ln -s libXhp11.3 libXhp11.sl

# ln -s libXi.3 libXi.sl

# ln -s libXm.4 libXm.sl

# ln -s libXp.2 libXp.sl

# ln -s libXt.3 libXt.sl

# ln -s libXtst.2 libXtst.sl

----------------------------------

cp /etc/nsswitch.files /etc/nsswitch.conf

----------------------------

# cat /etc/nsswitch.conf | grep hosts
hosts:        files  dns

---------------------------

# /usr/sbin/groupadd oinstall
# /usr/sbin/useradd -g oinstall oracle

--------------------------

# passwd oracle
Changing password for oracle
New password:
Re-enter new password:
Passwd successfully changed

No comments:

Post a Comment