I. Oracle 11g R2 self-booting
1. Modify the/etc/sysconfig/oracle file:
Oracle_base=/oracle//Here instead of the Oracle directory you installed
Start_oracle_db= "No" to "no" instead of "yes"
Start_oracle_db_listener= "No" to "no" instead of "yes"
2. Modify the/etc/oratab file:
Ora11gr2:/oracle/11gr2:n N Change to Y
Second, Tomcat self-booting
Modify the/etc/init.d/boot.local and add the following two lines:
#!/bin/sh## Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. < Werner @suse. de > , 1996# Burchard Steinbild, 1996##/etc/init.d/boot.local## script with local commands to is executed from Init on system startup# # Here's should add things, that's should happen directly after booting# before we ' re going to the first run level. #export java_home=/usr/java/jdk1.6.0_43 //Replace with your JDK path/java/apache-tomcat-6.0.36/bin/startup.sh //replace your Tomcat path
Configuration of oracle11g and Tomcat on the SUSE Enterprise Linux 11 boot from