/[fai]/people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-TOMCAT/40-install-tomcat
ViewVC logotype

Contents of /people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-TOMCAT/40-install-tomcat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4419 - (show annotations) (download)
Sun Jul 8 14:33:45 2007 UTC (5 years, 11 months ago) by lazyboy-guest
File size: 476 byte(s)
make sure tomcat init script is there and tomcat is started by default
1 #! /bin/bash
2
3 # only if tomcat is not already there
4
5 [ ! -d /opt/apache-tomcat-6.0.13 ] && {
6 [ -f /tmp/apache-tomcat-6.0.13.tar.gz ] && rm /tmp/apache-tomcat-6.0.13.tar.gz
7
8 $ROOTCMD wget -P/tmp http://debmirror/mirrors/binary-packages/apache-tomcat-6.0.13.tar.gz
9 $ROOTCMD tar xfz /tmp/apache-tomcat-6.0.13.tar.gz -C /opt/
10 }
11
12 [ -e /opt/tomcat ] && rm /opt/tomcat
13
14 $ROOTCMD ln -s /opt/apache-tomcat-6.0.13 /opt/tomcat
15
16 fcopy /etc/init.d/tomcat
17 $ROOTCMD chkconfig tomcat on

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5