|
|
Steps
1. 修改内核
#vi /etc/system
set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=110
set semsys:seminfo_semmns=310
2. 创建用户和组
#groupadd dba
#useradd –g dba –d /export/home/oracle –m oracle
#passwd oracle
3.设定oracle用户的环境参数
#su oracle
$vi .profile
ORACLE_BASE=/export/home/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.0
ORACLE_SID=orcl
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib:/usr/lib
TMPDIR=/var/tmp
DISPLAY=192.168.0.101:0.0
export ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATH LD_LIBRARY_PATH DISPLAY TMPDIR
umask 022
4.解压oracle 10g安装包
#./runInstaller &
Reference
http://www.dbspecialists.com/presentations/oracle10gsolaris.html
http://blog.csdn.net/hotsolaris/archive/2008/06/01/2443685.aspx
http://blog.csdn.net/zcatlinux/archive/2006/04/29/696562.aspx
The install information
Enterprise Manager Database Control URL - (orcl) :
http://robert:1158/em
The following J2EE Applications have been deployed and are accessible at the URLs listed below.
iSQL*Plus URL:
http://robert:5560/isqlplus
iSQL*Plus DBA URL:
http://robert:5560/isqlplus/dba
How to start and stop the Oracle?
Start
1. Start Listener
<div style="margin-left: 40px;">lsnrctl start |
|