git-svn-id: http://svn.osgeo.org/osgeo/gisvm/trunk@1781 7da46fd8-bd2a-0410-a152-cf9810cf5b10
parent
ebd6d03420
commit
11f82489e5
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install apache2
|
||||
|
||||
# Running:
|
||||
# =======
|
||||
# sudo /etc/init.d/apache2 start
|
||||
|
||||
apt-get install apache2
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install Geoserver 1.7
|
||||
|
||||
# Requires: tomcat6
|
||||
|
||||
# Configuration:
|
||||
# add this before the last "};":
|
||||
# permission java.security.AllPermission;
|
||||
# to /etc/tomcat6/policy.d/04webapps.policy
|
||||
|
||||
mkdir /tmp/gs-download
|
||||
cd /tmp/gs-download
|
||||
wget http://downloads.sourceforge.net/geoserver/geoserver-1.7.6-war.zip
|
||||
unzip geoserver-1.7.6-war.zip
|
||||
|
||||
#deploy geoserver-1.7.6-war through the html-interface
|
|
@ -20,5 +20,11 @@
|
|||
# =======
|
||||
# sudo ./mapserver.sh
|
||||
|
||||
# Requires: Apache2
|
||||
|
||||
apt-get install cgi-mapserver
|
||||
|
||||
#Add thsi 2 lines to /etc/apache2/httpd.conf
|
||||
#EnableSendfile off
|
||||
#ScriptAlias /mapserver /usr/lib/cgi-bin/mapserv
|
||||
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install postgres 8.3, postgis and pgadmin3
|
||||
|
||||
# Running:
|
||||
# =======
|
||||
# sudo /etc/init.d/postgresql-8.3 start
|
||||
|
||||
apt-get install postgresql-8.3-postgis pgadmin3
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install sun jre 6
|
||||
|
||||
apt-get install sun-java6-jre
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install tomcat 6
|
||||
|
||||
# Running:
|
||||
# =======
|
||||
# sudo /etc/init.d tomcat6 start
|
||||
|
||||
apt-get install tomcat6 tomcat6-admin
|
||||
|
||||
#Add the following lines to <tomcat-users> in /etc/tomcat6/tomcat-users.xml
|
||||
#<role rolename="manager"/>
|
||||
#<user username="user" password="user" roles="manager"/>
|
|
@ -0,0 +1,50 @@
|
|||
#!/bin/sh
|
||||
# Copyright (c) 2009 The Open Source Geospatial Foundation.
|
||||
# Licensed under the GNU LGPL.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published
|
||||
# by the Free Software Foundation, either version 2.1 of the License,
|
||||
# or any later version. This library is distributed in the hope that
|
||||
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU Lesser General Public License for more details, either
|
||||
# in the "LICENSE.LGPL.txt" file distributed with this software or at
|
||||
# web page "http://www.fsf.org/licenses/lgpl.html".
|
||||
|
||||
# About:
|
||||
# =====
|
||||
# This script will install udig 1.2-M6
|
||||
|
||||
# Running:
|
||||
# =======
|
||||
# udig
|
||||
|
||||
cd /usr/lib
|
||||
wget
|
||||
gunzip udig-1.2-M6.linux.gtk.x86.tar.gz
|
||||
tar -xf udig-1.2-M6.linux.gtk.x86.tar
|
||||
|
||||
rm udig-1.2-M6.linux.gtk.x86.tar
|
||||
|
||||
#In udig.sh replace ./udig_internals with
|
||||
#DATA_ARG=false
|
||||
#
|
||||
#for ARG in $@
|
||||
#do
|
||||
# if [ $ARG = "-data" ]; then DATA_ARG=true; fi
|
||||
#done
|
||||
#
|
||||
#if $DATA_ARG; then
|
||||
# /usr/lib/udig/udig_internal $@
|
||||
#else
|
||||
# /usr/lib/udig/udig_internal -data $HOME/uDigWorkspace $@
|
||||
#fi
|
||||
mkdir /tmp/udig_downloads/udig-data
|
||||
cd /tmp/udig_downloads/udig-data
|
||||
wget http://udig.refractions.net/docs/data-v1_1.zip
|
||||
unzip data-v1_1.zip
|
||||
rm data-v1_1.zip
|
||||
mv -rf /tmp/udig_downloads/udig-data /usr/local/share
|
||||
rm -rf /tmp/udig_downloads
|
||||
|
18
bin/main.sh
18
bin/main.sh
|
@ -31,9 +31,23 @@
|
|||
# Set up configuration files
|
||||
./setup.sh
|
||||
|
||||
#sun java 6
|
||||
./install_sunjre6.sh
|
||||
|
||||
# Postgres, Postgis and PGadmin3
|
||||
./install_postgres.sh
|
||||
|
||||
# Mapserver
|
||||
./install_mapserver.sh
|
||||
./install_apache2.sh
|
||||
#./install_mapserver.sh
|
||||
|
||||
# Geoserver
|
||||
./install_geoserver.sh
|
||||
#./install_tomcat6.sh
|
||||
#./install_geoserver.sh
|
||||
|
||||
# install udig including sample data
|
||||
#./install_udig.sh
|
||||
|
||||
#install grass
|
||||
#./install_grass.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue