Установил tomcat6
Установил Java (java-1.6.0-openjdk-1.6.0.0.x86_64)
Скачал WebArchive? распаковывал и скопировал geoserver.war в /var/lib/tomcat6/webapps
И по мануалу, должен быть какойто sh скрипт который нижеls /var/lib/tomcat6/webapps
geoserver.war index.html inxex.html
Код: Выделить всё
#!/bin/sh
# -----------------------------------------------------------------------------
# Start Script for GEOSERVER
#
# $Id$
# -----------------------------------------------------------------------------
# Make sure prerequisite environment variables are set
if [ -z "$JAVA_HOME" ]; then
echo "The JAVA_HOME environment variable is not defined"
echo "This environment variable is needed to run this program"
exit 1
fi
if [ ! -r "$JAVA_HOME"/bin/java ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
fi
# Set standard commands for invoking Java.
_RUNJAVA="$JAVA_HOME"/bin/java
if [ -z $GEOSERVER_HOME ]; then
#If GEOSERVER_HOME not set then guess a few locations before giving
# up and demanding user set it.
if [ -r start.jar ]; then
echo "GEOSERVER_HOME environment variable not found, using current "
echo "directory. If not set then running this script from other "
echo "directories will not work in the future."
export GEOSERVER_HOME=`pwd`
else
if [ -r ../start.jar ]; then
echo "GEOSERVER_HOME environment variable not found, using current "
echo "location. If not set then running this script from other "
echo "directories will not work in the future."
export GEOSERVER_HOME=`pwd`/..
fi
fi
if [ -z "$GEOSERVER_HOME" ]; then
echo "The GEOSERVER_HOME environment variable is not defined"
echo "This environment variable is needed to run this program"
echo "Please set it to the directory where geoserver was installed"
exit 1
fi
fi
if [ ! -r "$GEOSERVER_HOME"/bin/startup.sh ]; then
echo "The GEOSERVER_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
fi
#Find the configuration directory: GEOSERVER_DATA_DIR
if [ -z $GEOSERVER_DATA_DIR ]; then
if [ -r "$GEOSERVER_HOME"/data_dir ]; then
export GEOSERVER_DATA_DIR="$GEOSERVER_HOME"/data_dir
else
echo "No GEOSERVER_DATA_DIR found, using application defaults"
GEOSERVER_DATA_DIR=""
fi
fi
# if not told otherwise pump up the permgen
if [ -z "$JAVA_OPTS" ]; then
export JAVA_OPTS="-XX:MaxPermSize=128m"
fi
cd "$GEOSERVER_HOME"
echo "GEOSERVER DATA DIR is $GEOSERVER_DATA_DIR"
#added headless to true by default, if this messes anyone up let the list
#know and we can change it back, but it seems like it won't hurt -ch
exec "$_RUNJAVA" $JAVA_OPTS -DGEOSERVER_DATA_DIR="$GEOSERVER_DATA_DIR" -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar
Но я во первых его в source не вижу, а во вторых я там не вижу -jar start.jar
Тоесть файла как такого start.jar нет в дистрибутиве.
Как быть, что я упускаю?