suse enterprise Linux 11上配置 oracle11g和tomcat开机自启动
Posted 101.key
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了suse enterprise Linux 11上配置 oracle11g和tomcat开机自启动相关的知识,希望对你有一定的参考价值。
一、oracle 11g r2自启动
1、修改/etc/sysconfig/oracle文件:
ORACLE_BASE=/oracle //此处改为你安装的oracle目录
START_ORACLE_DB="no" no改为"yes"
START_ORACLE_DB_LISTENER="no" no改为"yes"
2、修改/etc/oratab文件:
ora11gr2:/oracle/11gr2:N N改为Y
二、tomcat自启动
修改/etc/init.d/boot.local,最后加入以下两行:
#! /bin/sh # # Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved. # # Author: Werner Fink <werner@suse.de>, 1996 # Burchard Steinbild, 1996 # # /etc/init.d/boot.local # # script with local commands to be executed from init on system startup # # Here you should add things, that should happen directly after booting # before we‘re going to the first run level. # export JAVA_HOME=/usr/java/jdk1.6.0_43 //换成你的JDK路径 /java/apache-tomcat-6.0.36/bin/startup.sh //换成你的tomcat路径
以上是关于suse enterprise Linux 11上配置 oracle11g和tomcat开机自启动的主要内容,如果未能解决你的问题,请参考以下文章
Suse Linux Enterprise Server 11sp2 64位下载地址
SUSE Linux Enterprise Server 11 sp4 (x86_64)绑定双网卡
svn服务器搭建-SuSE Linux Enterprise Server 11 SP3
Suse linux Enterprise server 10 sp2 64