Page 1 of 1

Configure oracle11g and tomcat on suse enterprise Linux 11 for boot up

Posted: Thu Mar 21, 2019 10:13 pm
by youyou
一、 oracle 11g r2 starts itself
1. Modify /etc/sysconfig/oracle file:
ORACLE_BASE=/oracle // where you installed oracle directory
START_ORACLE_DB="no" no change to "yes"
START_ORACLE_DB_LISTENER="no" no change to "yes"
2. Modify /etc/oratab:
Ora11gr2 :/oracle/11gr2:N N change to Y

Re: Configure oracle11g and tomcat on suse enterprise Linux 11 for boot up

Posted: Thu Mar 21, 2019 10:15 pm
by youyou
二、Tomcat starts itself
Modify /etc/init.d/boot.local to add the following two lines:
Copy the code
#! / bin/sh
#Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.
#Author: Werner Fink , 1996
# Burchard Steinbild, 1996
#
# / etc/init. D/boot. The local
#Executed with local commands to be init on system startup
#Here you should add things that should happen directly after booting
We're going to the first run level.
#
Export JAVA_HOME=/usr/ Java /jdk1.7.0_43 // change to your JDK path
/ Java /apache-tomcat-7.0.56/bin/startup.sh // switch to your tomcat path