issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-10-31 16:42:45 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Add exit code to install scripts 2018-10-28 19:50:35 +01:00
app-acme-sh Reorganize build process 2018-10-25 22:05:48 +02:00
app-lxc Reorganize build process 2018-10-25 22:05:48 +02:00
basic Simplify compile_url 2018-10-31 16:42:45 +01:00
basic-alpine Reorganize build process 2018-10-25 22:05:48 +02:00
basic-java Reorganize build process 2018-10-25 22:05:48 +02:00
basic-libxml Reorganize build process 2018-10-25 22:05:48 +02:00
basic-nodejs Reorganize build process 2018-10-25 22:05:48 +02:00
basic-php Reorganize build process 2018-10-25 22:05:48 +02:00
basic-python2 Reorganize build process 2018-10-25 22:05:48 +02:00
basic-python3 Reorganize build process 2018-10-25 22:05:48 +02:00
basic-ruby Reorganize build process 2018-10-25 22:05:48 +02:00
basic-tomcat Reorganize build process 2018-10-25 22:05:48 +02:00
ckan Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
ckan-datapusher Add exit code to install scripts 2018-10-28 19:50:35 +01:00
crisiscleanup Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
cts Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
frontlinesms Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
gnuhealth Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
kanboard Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
mariadb Drop DB object only if they exist 2018-10-31 09:55:46 +01:00
mifosx Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
motech Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
opendatakit Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
opendatakit-build Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
openmapkit Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
pandora Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
postgres Add exit code to install scripts 2018-10-28 19:50:35 +01:00
rabbitmq Add exit code to install scripts 2018-10-28 19:50:35 +01:00
redis Add exit code to install scripts 2018-10-28 19:50:35 +01:00
sahana Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
sahana-demo Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
sahana-shared Split off sahana-shared from Sahana 2018-10-28 08:56:24 +01:00
sambro Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
seeddms Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
sigmah Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
solr Add exit code to install scripts 2018-10-28 19:50:35 +01:00
ushahidi Clean log and autostart on uninstall 2018-10-31 13:56:59 +01:00
zz-build set -ev 2018-10-28 16:04:11 +01:00
zz-extra Make vm-ping more resilient, closes #289 2018-10-28 08:00:14 +01:00
00-install.sh Allow to set HDD password via command line 2018-10-31 14:16:03 +01:00
alpine.sh Initial commit for LXCification 2018-09-04 21:42:26 +02:00
basic.sh set -ev 2018-10-28 16:04:11 +01:00
README.md Move "postfix" host to "host" 2018-09-14 11:24:04 +02:00

This is the main repository containing all installation scripts, configuration and customization of operating system all application present in Spotter Cluster virtual machine.

Virtual machine specifications

  • Memory: 4 GB
  • CPU: 1 processor, 2 cores
  • Hard Disk: SCSI, 60 GB

In case you're setting up a VMWare virtual machine, select OS type Other Linux 3.x kernel 64-bit and after you create the VM, manually edit the *.vmx file using a text editor and set there mem.hotadd = "FALSE". Failing to do so will result in system unable to boot. Other hypervizors don't need this adjustment.

Operating system installation

Download Alpine Virtual 3.8.0 x86_64 from https://alpinelinux.org/downloads/ and boot from it. At the login prompt, use the root user without password to log in.

# Set up interfaces (leave the default choices)
setup-interfaces
ifup eth0

# Download and launch the setup script  
wget dl.dasm.cz/alpine.sh
sh alpine.sh

The script will perform the bare Alpine linux installation into VM using LUKS-on-LVM. The default disk encryption password is password. No root password is set.

Application installation

First time setup

# Install git
apk --no-cache add git

# Clone the repository
git clone https://gitlab.dasm.cz/Spotter-Cluster/Spotter-Cluster.git

# Enter the repository directory
cd Spotter-Cluster

# Optional: Edit the install sequence script
vi 00-install.sh

# Launch the script
./00-install.sh

Resuming from a snapshot

Assumes that the repository has already been cloned.

# Enter the repository directory
cd Spotter-Cluster

# Update repository
git pull

# Optional: Edit the install sequence script
vi 00-install.sh

# Launch the script
./00-install.sh

Host assignment

Application Container UID/GID Internal Port Host
ActiveMQ activemq 61616 61616 (ActiveMQ) -
CKAN ckan 8003 8080 (HTTP) ckan
CKAN Datapusher ckan-datapusher 8004 8080 (HTTP) -
Crisis Cleanup crisiscleanup 8005 8080 (HTTP) cc
CTS cts 8006 8080 (HTTP) cts
FrontlineSMS frontlinesms 8018 8080 (HTTP) sms
GNU Health gnuhealth 8008 8080 (HTTP) gh
KanBoard kanboard 8009 8080 (HTTP) kb
MariaDB mariadb 3306 3306 (MySQL) -
Mifos X mifosx 8012 8080 (HTTP) mifosx
Motech motech 8013 8080 (HTTP) motech
ODK Aggregate opendatakit 8015 8080 (HTTP) odk
ODK Build opendatakit-build 8017 8080 (HTTP) odkbuild
OpenMapKit openmapkit 8007 8080 (HTTP) omk
Pan.do/ra pandora 8002 8080 (HTTP) pandora
Postgres postgres 5432 5432 (Postgres) -
RabbitMQ rabbitmq 5672 5672 (AMQP) -
Redis redis 6379 6379 (Redis) -
Sahana sahana 8001 8080 (HTTP) sahana
SAMBRO sambro 8001 8080 (HTTP) sambro
SeedDMS seeddms 8010 8080 (HTTP) dms
Sigmah sigmah 8011 8080 (HTTP) sigmah
Solr solr 8983 8983 (HTTP) -
Ushahidi ushahidi 8014 8080 (HTTP) ush