Solaris_sparc_64bit上安装Oracle数据库release2

 Install DB r2 solx_sparc_64bit:

1. # /usr/sbin/prtconf | grep "Memory size"
2. # /usr/sbin/swap -s
3.
   # df -k /tmp
   # df -h /tmp (on Solaris 10)

4.
   # df -k
   # df -h (on Solaris 10)

5. # /bin/isainfo -kv
64-bit sparcv9 kernel modules

6. # uname -r
   5.10

7. # pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot /
 SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt

---ERROR: information for "SUNWsprox" was not found (!!!5.10 No need this package)

8.
# /usr/sbin/patchadd -p | grep patch_number(without version number)
/usr/sbin/patchadd -p | grep 118833-36

===========================
Solaris 10 special instructions:
Select 'Do not create a starter database' when installing Oracle 10gR2 due to Bug 4884705 and run the DBCA after the installation.

The Fair Share Scheduler(FSS) requires Solaris 10 11/06 or higher.
If using a prior update of Solaris 10 install the following patches :
Install patch 118833-36 before installing Oracle 10gR2 for Solaris 10 on SPARC.
Install patch 118855-36 before installing Oracle 10gR2 for Solaris 10 on x86-64

IMPORTANT: Patch 4589082 needs to be installed prior to attempting an installation of 10.2 on Solaris 10 SPARC to avoid "Error in invoking target 'relink' of makefile 'precomp/lib/ins_precomp.mk' related to -ldce not found. See also Note 333348.1.
#    bash$ unzip p4589082_10201_SOLARIS64.zip
#    bash$ cd 4589082
#    bash$ export SHIPHOME=<SHIPHOMES_LOC>
#    bash$ ./p4589082.sh
============================

9.
# cat /etc/nsswitch.conf | grep hosts
# hostname
# domainname
# cat /etc/hosts | grep 'eval hostname'

10.
# more /var/opt/oracle/oraInst.loc

11.
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/groupadd oper  (optional)
# id -a oracle

# /usr/sbin/useradd -g oinstall -G dba[,oper] oracle
-- /usr/sbin/useradd -g oinstall -G dba oracle

# passwd -r files oracle
password: ******

--if user oracle exists: (modify user oracle command)
# /usr/sbin/usermod -g oinstall -G dba[,oper] oracle

# id nobody
# /usr/sbin/useradd nobody

 mkdir -p /export/home/oracle
 chown -R oracle:oinstall /export/home/oracle
 chmod -R 775 /export/home/oracle
vi /etc/passwd
set user ORACLE HOME: /export/home/oracle


11. On Solaris 10:
noexec_user_stack        NA                1
semsys:seminfo_semmni         project.max-sem-ids         100
semsys:seminfo_semmsl         process.max-sem-nsems         256
shmsys:shminfo_shmmax         project.max-shm-memory         4294967295                        
shmsys:shminfo_shmmni         project.max-shm-ids         100

# cp /etc/system /etc/system.orig
# Modify file /etc/system
set noexec_user_stack=1

# /usr/sbin/reboot

projadd -U oracle -p 1234 -c "ORACLE Default" user.oracle
more /etc/project

# The first time will add the following parameters:
projmod -a -K "project.max-sem-ids=(priv,100,deny)" user.oracle
projmod -a -K "process.max-sem-nsems=(priv,512,deny)" user.oracle
projmod -a -K "project.max-shm-memory=(priv,10737418240,deny)" user.oracle
projmod -a -K "project.max-shm-ids=(priv,256,deny)" user.oracle

# if you want to modify, just try the following:
projmod -sK "project.max-sem-ids=(priv,128,deny)" user.oracle
projmod -sK "process.max-sem-nsems=(priv,512,deny)" user.oracle
projmod -sK "project.max-shm-memory=(priv,10737418240,deny)" user.oracle
projmod -sK "project.max-shm-ids=(priv,256,deny)" user.oracle

12. install--./runInstaller...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值