issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-01-08 16:00:45 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
basic Consolidate nginx configs 2018-01-08 15:27:29 +01:00
ckan Consolidate nginx configs 2018-01-08 15:27:29 +01:00
ckan-datapusher Consolidate nginx configs 2018-01-08 15:27:29 +01:00
crisiscleanup Consolidate nginx configs 2018-01-08 15:27:29 +01:00
cts Consolidate nginx configs 2018-01-08 15:27:29 +01:00
gnuhealth Update GNU Health bundled Trytond version 2018-01-08 16:00:45 +01:00
kanboard Consolidate nginx configs 2018-01-08 15:27:29 +01: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 Consolidate nginx configs 2018-01-08 15:27:29 +01:00
pandora Install Pandora in a less ugly way 2017-11-29 22:21:06 +01:00
postgres Replace CVUT Alpine repo with CDN as CVUT is down at the moment 2017-12-28 09:45:21 +01:00
redis Add Postgres, Redis, Solr Dockerfile comments 2017-12-21 10:39:07 +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 Consolidate nginx configs 2018-01-08 15:27:29 +01:00
sigmah Simplify Sigmah and Motech proxy rules 2017-12-08 10:44:43 +01:00
solr Add Postgres, Redis, Solr Dockerfile comments 2017-12-21 10:39:07 +01:00
ushahidi Separate Ushahidi MySQL commands 2017-12-05 17:24:39 +01:00
00-install.sh Minor script updates 2017-12-19 19:27:44 +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 cron to basic services 2017-12-21 10:38:28 +01:00
ckan-datapusher.sh Consolidate nginx configs 2018-01-08 15:27:29 +01:00
ckan.sh Consolidate nginx configs 2018-01-08 15:27:29 +01:00
crisiscleanup.sh Consolidate nginx configs 2018-01-08 15:27:29 +01:00
cts.sh Consolidate nginx configs 2018-01-08 15:27:29 +01:00
gnuhealth.sh Fix shebang for GNU Health 2018-01-08 15:48:23 +01:00
kanboard.sh Consolidate nginx configs 2018-01-08 15:27:29 +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 Consolidate nginx configs 2018-01-08 15:27:29 +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 Minor script updates 2017-12-19 19:27:44 +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 Consolidate nginx configs 2018-01-08 15:27:29 +01:00
sigmah.sh Reduce extraneous Sigmah logging 2017-12-08 10:37:06 +01:00
solr.sh Set Solr heap size 2017-12-20 09:40:01 +01:00
ushahidi.sh Remove Ushahidi database creation script from /tmp 2017-12-04 17:55:38 +01:00
zz-cleanup.sh Minor script updates 2017-12-19 19:27:44 +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