issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-08-30 21:31:57 +02:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Bump ActiveMQ version to 5.15.5 2018-08-30 18:20:02 +02:00
basic Fix nignx paths to error 502 custom page 2018-08-30 21:31:57 +02:00
basic-runtimes Bump Tomcat version to 8.0.53 2018-07-09 16:41:55 +02:00
ckan Remove workaround for CKAN compatibility with Postgres 10 2018-08-30 18:23:00 +02:00
ckan-datapusher Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
crisiscleanup Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
cts Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
frontlinesms Replace DejaVu font with OpenSans (smaller size, thinner typeface) 2018-05-10 14:47:25 +02:00
gnuhealth Bump GNU Health to 3.2.10 and Tryton to 4.2.15 2018-08-30 18:35:05 +02:00
kanboard Increase PHP workers limit 2018-08-30 13:31:53 +02:00
mariadb Unify non-login shells 2018-08-14 18:17:48 +02:00
mifosx Update Czech translation of Mifos X community-app 2018-08-02 22:05:46 +02:00
motech Bump PostgreSQL JDBC driver to 42.2.5 2018-08-30 18:38:11 +02:00
opendatakit Move ODK Aggregate to Tomcat root context 2018-04-29 20:55:58 +02:00
opendatakit-build Install npm as a separate package 2018-07-09 19:44:58 +02:00
openmapkit Install npm as a separate package 2018-07-09 19:44:58 +02:00
pandora Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
postfix Reflect Postfix 3.3 and json-c (PostGIS) propagation to main repo 2018-07-09 18:12:53 +02:00
postgres Increase timeout of service start wait 2018-07-16 11:52:43 +02:00
rabbitmq Unify non-login shells 2018-08-14 18:17:48 +02:00
redis Bump Alpine version to 3.8 2018-07-09 15:14:44 +02:00
sahana Update Sahana Czech translation 2018-08-27 15:41:59 +02:00
sahana-demo Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
sambro Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
seeddms Increase PHP workers limit 2018-08-30 13:31:53 +02:00
sigmah Bump PostgreSQL JDBC driver to 42.2.5 2018-08-30 18:38:11 +02:00
solr Rewrite spotter-appmgr (partial squashmerge) 2018-04-29 20:48:57 +02:00
ushahidi Update Ushahidi Czech translation 2018-08-30 13:37:38 +02:00
00-install.sh Install Sahana Demo container as part of standard installation 2018-08-17 15:33:59 +02:00
activemq.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
alpine.sh Have Docker start cgroups as dependency 2018-07-15 21:53:09 +02:00
basic-runtimes.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
basic.sh Make acme.sh executable 2018-08-30 20:09:18 +02:00
ckan-datapusher.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
ckan.sh Fix CKAN data files ownership, resolves #274 2018-08-14 18:25:20 +02:00
crisiscleanup.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
cts.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
frontlinesms.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
gnuhealth.sh Fix forgotten Tryton version bump 2018-08-30 19:22:17 +02:00
kanboard.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
mariadb.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
mifosx.sh Add missing previous_run_status column for MifosX, related to #268 2018-08-02 21:10:21 +02:00
motech.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
opendatakit-build.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
opendatakit.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
openmapkit.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
pandora.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
postfix.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
postgres.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
rabbitmq.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
README.md Update readme to reflect new gitlab URL 2018-08-02 10:43:37 +02:00
redis.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
sahana-demo.sh Mount sahana-demo default template for database population 2018-08-20 13:23:36 +02:00
sahana.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
sambro.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
seeddms.sh Add SeedDMS attribute customization, closes #270 2018-08-05 08:29:56 +02:00
sigmah.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
solr.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +02:00
ushahidi.sh Merge spotter-appmgr WSGI application 2018-08-02 10:41:40 +02:00
zz-cleanup.sh Stop services required for build as part of build script 2018-07-15 21:55:35 +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
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