issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-04-30 22:39:44 +02:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
basic Introduce basic images with s6 and python2 2018-04-30 22:39:44 +02:00
ckan Migrate CKAN to S6 supervisor 2018-04-30 22:02:54 +02:00
ckan-datapusher Revert long naming for CKAN DataPusher 2018-04-29 20:49:33 +02:00
crisiscleanup Revert long naming for CrisisCleanup 2018-04-29 20:49:32 +02:00
cts Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
frontlinesms Revert long naming for FrontlineSMS 2018-04-29 20:49:33 +02:00
gnuhealth Stop GNU Health container using SIGINT 2018-04-29 22:17:37 +02:00
java Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
kanboard Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
mariadb Simplify MariaDB configuration 2018-04-30 20:54:23 +02:00
mifosx Move MifosX comunity-app to Tomcat root context 2018-04-29 20:55:58 +02:00
motech Move Motech to Tomcat root context 2018-04-29 20:55:59 +02:00
opendatakit Move ODK Aggregate to Tomcat root context 2018-04-29 20:55:58 +02:00
opendatakit-build Revert long naming for OpenDataKit Build 2018-04-29 20:49:33 +02:00
openmapkit Migrate OpenMapKit to S6 supervisor 2018-04-29 22:02:03 +02:00
pandora Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
postfix Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
postgres Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
python2 Introduce basic images with s6 and python2 2018-04-30 22:39:44 +02:00
rabbitmq Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
redis Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
ruby Introduce separate Docker image for Ruby 2.3.6 runtime 2018-03-16 17:27:13 +01:00
sahana Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
sahana-demo Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
sambro Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
seeddms Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
sigmah Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
solr Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
tomcat Bump Tomcat version to 8.0.51 2018-04-22 11:28:51 +02:00
ushahidi Rewrite spotter-appmgr (rest of the squashmerge) 2018-04-29 20:51:20 +02:00
00-install.sh Revert long naming for OpenMapKit 2018-04-29 20:49:34 +02:00
activemq.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
alpine.sh Introduce spotter-appmgr for application, domain and port management 2018-03-25 22:47:19 +02:00
basic.sh Introduce basic images with s6 and python2 2018-04-30 22:39:44 +02:00
ckan-datapusher.sh Revert long naming for CKAN DataPusher 2018-04-29 20:49:33 +02:00
ckan.sh Revert long naming for CKAN DataPusher 2018-04-29 20:49:33 +02:00
crisiscleanup.sh Revert long naming for CrisisCleanup 2018-04-29 20:49:32 +02:00
cts.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
frontlinesms.sh Revert long naming for FrontlineSMS 2018-04-29 20:49:33 +02:00
gnuhealth.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
java.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
kanboard.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
mariadb.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
mifosx.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
motech.sh Move Motech to Tomcat root context 2018-04-29 20:55:59 +02:00
opendatakit-build.sh Revert long naming for OpenDataKit Build 2018-04-29 20:49:33 +02:00
opendatakit.sh Revert long naming for OpenDataKit 2018-04-29 20:49:33 +02:00
openmapkit.sh Revert long naming for OpenMapKit 2018-04-29 20:49:34 +02:00
pandora.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
postfix.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
postgres.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
python2.sh Introduce basic images with s6 and python2 2018-04-30 22:39:44 +02:00
rabbitmq.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
README.md Update README 2018-04-29 20:49:34 +02:00
redis.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
ruby.sh Introduce separate Docker image for Ruby 2.3.6 runtime 2018-03-16 17:27:13 +01:00
sahana-demo.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
sahana.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
sambro.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
seeddms.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
sigmah.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
solr.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
tomcat.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
ushahidi.sh Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
zz-cleanup.sh Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +01: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

Operating system installation

Download Alpine Virtual 3.7.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:8443/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
Postfix postfix 587 25 (SMTP) -
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