issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2017-12-19 19:12:51 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
basic Suppress OpenRC boot messages 2017-12-19 11:21:59 +01:00
ckan Forward Ckan and OpenMapKit HTTP ports to Docker host's localhost 2017-12-16 20:53:00 +01:00
crisiscleanup Simplify GNU Health and CrisisCleanup proxy rules 2017-12-08 11:27:01 +01:00
cts Disable CTS uwsgi access logging 2017-12-01 12:07:26 +01:00
gnuhealth Exclude games from GNU Health PATH 2017-12-12 04:56:54 +01:00
kanboard Add Kanboard admin password generation 2017-10-14 12:50:36 +02:00
mifosx Introduce Mifos X install script, closes #155 2017-12-08 20:28:47 +01:00
motech Set working dir and server URL for Motech, related to #166 2017-12-08 22:20:23 +01:00
openmapkit Forward Ckan and OpenMapKit HTTP ports to Docker host's localhost 2017-12-16 20:53:00 +01:00
pandora Install Pandora in a less ugly way 2017-11-29 22:21:06 +01:00
postgres Alpinize Postgres Docker service 2017-12-19 13:53:30 +01:00
redis Alpinize Redis 2017-12-19 19:12:51 +01:00
sahana Rename Sahana Fire Stations module, related to #95 2017-12-15 16:39:02 +01:00
sambro Rename Sahana Fire Stations module, related to #95 2017-12-15 16:39:02 +01:00
seeddms Increase time between SeedDMS indexation runs 2017-10-26 13:44:23 +02:00
sigmah Simplify Sigmah and Motech proxy rules 2017-12-08 10:44:43 +01:00
solr Alpinize Solr 2017-12-19 16:31:35 +01:00
ushahidi Separate Ushahidi MySQL commands 2017-12-05 17:24:39 +01:00
00-install.sh Introduce install script for OpenMapKit, closes #149 2017-12-12 05:48:36 +01:00
01-basic.sh Suppress OpenRC boot messages 2017-12-19 11:21:59 +01:00
alpine.sh Install Alpine as host operating system instead of Debian 2017-12-18 15:45:17 +01:00
ckan.sh Dockerize CKAN (without DataPusher so far) 2017-12-16 20:41:58 +01:00
crisiscleanup.sh Use proper NodeJS distro for CrisisCleanup and GNU Health 2017-12-11 14:00:38 +01:00
cts.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
gnuhealth.sh Use proper NodeJS distro for CrisisCleanup and GNU Health 2017-12-11 14:00:38 +01:00
kanboard.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
mifosx.sh Don't allow + in Mifos X admin password 2017-12-08 21:34:22 +01:00
motech.sh Introduce Motech installation script (squashed commit), closes #156 2017-12-07 12:56:32 +01:00
openmapkit.sh Add UID/GID for OpenMapKit, change path from omk to openmapkit 2017-12-15 16:39:40 +01:00
pandora.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
postgres.sh Alpinize Postgres Docker service 2017-12-19 13:53:30 +01:00
README.md Remove apk update as no cache should be used 2017-12-19 12:49:39 +01:00
redis.sh Alpinize Redis 2017-12-19 19:12:51 +01:00
sahana.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
sambro.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
seeddms.sh Make SOURCE_DIR always refer to the current app source directory 2017-12-04 17:48:37 +01:00
sigmah.sh Reduce extraneous Sigmah logging 2017-12-08 10:37:06 +01:00
solr.sh Alpinize Solr 2017-12-19 16:31:35 +01:00
ushahidi.sh Remove Ushahidi database creation script from /tmp 2017-12-04 17:55:38 +01:00
zz-cleanup.sh Cleanup all -dev packages 2017-12-04 17:31:20 +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

Port assignment

Application HTTP Port HTTPS Port
Redis 6379 N/A
Solr 8983 N/A
Sahana 8001 8401
CKAN 8003 8403
CKAN Datapusher 8004 8404
OpenMapKit 8007 8407