This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script to turn a generic Debian Squeeze box into an Eden server | |
# with Apache & MySQL | |
# Update system | |
apt-get update | |
#apt-get upgrade -y | |
# Install Admin Tools | |
apt-get install -y unzip | |
# Install Git | |
apt-get install -y git-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script to configure an Eden server | |
# - assumes that install-eden-apache-mysql.sh has been run | |
echo -e "What domain name should we use? : \c " | |
read DOMAIN | |
echo -e "What host name should we use? : \c " | |
read hostname | |
sitename=$hostname".$DOMAIN" | |
echo -e "What is the current root MySQL password: \c " | |
read rootpw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Install GeoWave on Hortonworks Sandbox VM using RPMs and Puppet | |
# Puppet client is already installed, add Puppet standard libs, configure GeoWave repo and install | |
# | |
# Assumptions: | |
# - You have a working Internet connection | |
# - Your Accumulo root user account password has been set to hadoop | |
# - When prompted to set the geowave you will set the password to geowave | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get remove scala-library scala | |
sudo wget www.scala-lang.org/files/archive/scala-2.11.7.deb | |
sudo dpkg -i scala-2.11.1.deb | |
wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.8/sbt.deb | |
sudo dpkg -i sbt-0.13.8.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#For this Virtual Machine, I used the basic Ubuntu 14.04 server iso with VirtualBox. | |
#I created the VM in VBox the standard way and then used that iso to install Ubuntu 14.04. The only option I used for the server was SSH server | |
#Set up the basic software needed for the machine | |
sudo apt-get update | |
#add static IP to eth1 | |
sudo nano /etc/network/interfaes | |
#add the following lines | |
auto eth1 | |
iface eth1 inet static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing GeoMesa on GeoServer | |
- Downloaded geoserver 2.5.2 war wget http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.2/geoserver-2.5.2-war.zip | |
- and the corresponding WPS plugin wget http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.2/extensions/geoserver-2.5.2-wps-plugin.zip | |
- Deployed war file to Tomcat_HOME/webapps folder and then copied WPS plugin jars over to WEB-INF/lib and checked to ensure permissions were good | |
- Download Accumulo 1.5.3 :: wget http://apache.go-parts.com/accumulo/1.5.3/accumulo-1.5.3-bin.tar.gz | |
- Download Scala 2.10 :: wget http://downloads.typesafe.com/scala/2.10.5/scala-2.10.5.tgz | |
- Download Kafka 2.10-0.8.2.1 (Kafka 0.8 install that corresponds to scala 2.10) http://ftp.wayne.edu/apache/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz | |
- Download Hadoop wget http://apache.mirrors.tds.net/hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz | |
Unzip each of the downloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Set up the build env | |
#Add the osgeo repo to maven according to https://github.com/ngageoint/mrgeo/wiki/MrGeo-Build-Dependencies | |
#get the geotiff-jai.jar | |
wget http://downloads.sourceforge.net/project/geotiff-jai/geotiff-jai/beta%200.3/geotiff-jai.jar | |
#install the jar to the local maven repository | |
mvn install:install-file -Dfile=geotiff-jai.jar -DgroupId=geotiff -DartifactId=geotiff-jai -Dversion=0.0 -Dpackaging=jar -DlocalRepositoryPath=/root/.m2/repository/ | |
#Download and install GDAL | |
wget http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To copy the geowave accumulo jar to the proper location in hdfs | |
hadoop fs -copyFromLocal geowave-deploy-0.8.9-SNAPSHOT-accumulo-singlejar.jar hdfs://<FQDN>/accumulo/classpath/geowave/0.8.9-hdp2/ | |
# To configure Accumulo to grab the geowave jar from it's location in hdfs (from the Accumulo command line) | |
config -s general.vfs.context.classpath.geowave=hdfs://<FQDN>:8020/accumulo/classpath/geowave/0.8.9-hdp2/[^.].*.jar | |
##geowave -localingest -b ./ingest/ne/ -i accumulo -n geowave.50m_admin_0_countries -f geotools-vector -u geowave -p hadoop -z <FQDN>:2181 | |
##java -cp geowave-tools.jar -localingest -b /usr/local/geowave/ingest/ne/ -i accumulo -n geowave.50m_admin_0_countries -f geotools-vector -u geowave -p hadoop -z <FQDN>:2181 |