#start oracle9i listener first
#su - oracle -c /home/oracle/product/9.2/bin/lsnrctl start
#start oracle9i
#su - oracle -c /home/oracle/product/9.2/bin/dbstart
#mount -t nfs 192.168.0.32:/home/bea/user_projects/domains/mydomain/applications/DefaultWebApp /home/bea/user_projects/domains/mydomain/applications/DefaultWebApp/32/
#mount -t nfs 192.168.0.32:/home/bea/user_projects/domains/mydomain/applications/DefaultWebApp /home/bea/user_projects/domains/v9domain/applications/DefaultWebApp/32/
cd /home/bea/user_projects/domains/mydomain/
/usr/bin/nohup ./startWebLogic.sh >nohup.out &
/usr/local/httpd-2.0.52/bin/apachectl restart
LD_ASSUME_KERNEL=2.4.20-8
export LD_ASSUME_KERNEL
LANG="zh_CN.GB18030"
export LANG
ulimit -n 10240
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/product/9.2
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH
export ORACLE_OWNER=oracle
export ORACLE_SID=unddata
export ORACLE_TERM=vt100
export LD_ASSUME_KERNEL=2.4.1
export THREADS_FLAG=native
export LD_LIBRARY_PATH=/home/home/product/9.2/lib:$LD_LIBRARY_PATH
export PATH=/home/oracle/product/9.2/bin:$PATH
export LANG=en_US
2.HP-UNIX :
#start oracle9i listener first
su - oracle -c '/home/oracle/product/9.2/bin/lsnrctl start'
su - oracle -c 'sqlplus /nolog<(注意这的用法)
connect / as sysdba
startup
c
'
阅读(553) | 评论(0) | 转发(0) |