issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-01-24 16:48:20 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Install Motech-compatible ActiveMQ configuration 2018-01-23 18:18:02 +01:00
basic Dockerize postfix 2018-01-15 20:05:33 +01:00
ckan Remove ckanext_pages extension as it causes Error 500 2018-01-18 15:35:32 +01:00
ckan-datapusher Cleanup root directory without recreating it 2018-01-24 16:28:41 +01:00
crisiscleanup Cleanup root directory without recreating it 2018-01-24 16:28:41 +01:00
cts Generate CTS static resources 2018-01-18 20:50:01 +01:00
gnuhealth Cleanup root directory without recreating it 2018-01-24 16:28:41 +01:00
kanboard Refine common PHP extensions 2018-01-24 15:52:13 +01:00
mariadb Stop MariaDB gracefully 2018-01-19 16:02:41 +01:00
mifosx Add workdirs for Mifos X and Motech 2018-01-23 21:08:21 +01:00
motech Add workdirs for Mifos X and Motech 2018-01-23 21:08:21 +01:00
openmapkit Cleanup root directory without recreating it 2018-01-24 16:28:41 +01:00
pandora Remove a few Pandora hackfixes as they're fixed in upstream now 2018-01-24 16:48:20 +01:00
postfix Use fixed Docker hostnames 2018-01-15 21:51:15 +01:00
postgres Use fixed Docker hostnames 2018-01-15 21:51:15 +01:00
rabbitmq Use fixed Docker hostnames 2018-01-15 21:51:15 +01:00
redis Use fixed Docker hostnames 2018-01-15 21:51:15 +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 Refine common PHP extensions 2018-01-24 15:52:13 +01:00
sigmah Simplify Sigmah and Motech proxy rules 2017-12-08 10:44:43 +01:00
solr Use fixed Docker hostnames 2018-01-15 21:51:15 +01:00
ushahidi Refine common PHP extensions 2018-01-24 15:52:13 +01:00
00-install.sh Minor script updates 2017-12-19 19:27:44 +01:00
activemq.sh Dockerize ActiveMQ 2018-01-23 13:39:50 +01:00
alpine.sh Replace CVUT Alpine repo with CDN as CVUT is down at the moment 2017-12-28 09:45:21 +01:00
basic.sh Add curl to useful packages 2018-01-16 21:16:36 +01:00
ckan-datapusher.sh Squash multiple mkdir commands 2018-01-15 20:06:06 +01:00
ckan.sh Check prerequisites at the start of install script 2018-01-23 21:27:18 +01:00
crisiscleanup.sh No need to set docker hostname for simple file operations 2018-01-24 15:55:47 +01:00
cts.sh No need to set docker hostname for simple file operations 2018-01-24 15:55:47 +01:00
gnuhealth.sh Check prerequisites at the start of install script 2018-01-23 21:27:18 +01:00
kanboard.sh Add KanBoard OS user, update volume, go easier on cleanup 2018-01-24 15:42:57 +01:00
mariadb.sh Wait until MariaDB is actually started 2018-01-19 17:14:25 +01:00
mifosx.sh No need to set docker hostname for simple file operations 2018-01-24 15:55:47 +01:00
motech.sh Check prerequisites at the start of install script 2018-01-23 21:27:18 +01:00
openmapkit.sh Squash multiple mkdir commands 2018-01-15 20:06:06 +01:00
pandora.sh Check prerequisites at the start of install script 2018-01-23 21:27:18 +01:00
postfix.sh No need to set docker hostname for simple file operations 2018-01-24 15:55:47 +01:00
postgres.sh Use fixed Docker hostnames 2018-01-15 21:51:15 +01:00
rabbitmq.sh Add RabbitMQ Dockerfile + script 2018-01-11 16:36:57 +01:00
README.md Update ports in README.md 2018-01-02 11:18:07 +01:00
redis.sh Minor script updates 2017-12-19 19:27:44 +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 No need to set docker hostname for simple file operations 2018-01-24 15:55:47 +01:00
sigmah.sh Check prerequisites at the start of install script 2018-01-23 21:27:18 +01:00
solr.sh Set Solr heap size 2017-12-20 09:40:01 +01:00
ushahidi.sh Alpinize + Dockerize Ushahidi 2018-01-24 15:18:55 +01:00
zz-cleanup.sh Don't remove git metadata from host in zz-cleanup.sh (there shouldn't be any anyway) 2018-01-23 21:28:22 +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
Pan.do/ra 8002 8402
CKAN 8003 8403
CKAN Datapusher 8004 N/A
Crisis Cleanup 8005 8405
CTS 8006 8406
OpenMapKit 8007 8407
GNU Health 8008 8408
KanBoard 8009 8409