OpenGeo Suite 4 (available for Linux, Mac OSX and Windows, follow the Suite installation instructions) The basic structure of the application will be. A spatial table of counties in PostGIS, that will join with; An attribute table with many census variables of interest, themed by; A thematic style in GeoServer, browsed with. The OpenGeo Suite implements the OGC's WMS, WFS, and WCS standards—making all your data instantly accessible. It also provides tiles as TMS, WMTS, WMS-C and native Google Maps and Bing Maps formats. And data is available as GML, JSON, Shapefile, CSV, Excel and more. Simpleplanes mods ios.
#!/bin/bash |
# setup repository |
sudo wget -qO- http://apt.opengeo.org/gpg.key | apt-key add - |
sudo chmod 655 /etc/apt/sources.list |
sudo echo'deb http://apt.opengeo.org/ubuntu lucid main'>> /etc/apt/sources.list |
sudo chmod 644 /etc/apt/sources.list |
sudo apt-get update |
# install opengeo suite |
sudo apt-get -y install opengeo-suite |
# install and config apache |
sudo apt-get install -y apache2 |
sudo ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/proxy.conf |
sudo ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/proxy.load |
sudo ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.load |
# add tomcat proxy |
sudo chmod 666 /etc/apache2/sites-available/default |
sudo sed -i '$d' /etc/apache2/sites-available/default |
sudo sh -c 'echo ' ' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyRequests Off' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo '# Remember to turn the next line off if you are proxying to a NameVirtualHost' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPreserveHost On' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo ' ' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo '<Proxy *>' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo ' Order deny,allow' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo ' Allow from all' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo '</Proxy>' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo ' ' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /geoserver http://localhost:8080/geoserver' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /geoserver http://localhost:8080/geoserver' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /geoexplorer http://localhost:8080/geoexplorer' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /geoexplorer http://localhost:8080/geoexplorer' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /geoeditor http://localhost:8080/geoeditor' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /geoeditor http://localhost:8080/geoeditor' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /geowebcache http://localhost:8080/geowebcache' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /geowebcache http://localhost:8080/geowebcache' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /dashboard http://localhost:8080/dashboard' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /dashboard http://localhost:8080/dashboard' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPass /recipes http://localhost:8080/recipes' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo 'ProxyPassReverse /recipes http://localhost:8080/recipes' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo ' ' >> /etc/apache2/sites-available/default' |
sudo sh -c 'echo '</VirtualHost>' >> /etc/apache2/sites-available/default' |
sudo chmod 644 /etc/apache2/sites-available/default |
sudo apachectl restart |