issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2017-12-21 10:39:35 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
basic Install python runtime 2017-12-19 20:43:20 +01:00
ckan Add CKAN + DataPusher Dockerfile comments 2017-12-21 10:39:22 +01:00
ckan-datapusher Add CKAN + DataPusher Dockerfile comments 2017-12-21 10:39:22 +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 Add OpenMapKit Dockerfile comments 2017-12-21 10:39:35 +01:00
pandora Install Pandora in a less ugly way 2017-11-29 22:21:06 +01:00
postgres Add Postgres, Redis, Solr Dockerfile comments 2017-12-21 10:39:07 +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 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 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 Minor script updates 2017-12-19 19:27:44 +01:00
basic.sh Add cron to basic services 2017-12-21 10:38:28 +01:00
ckan-datapusher.sh Alpinize + Dockerize CKAN DataPusher 2017-12-20 15:41:29 +01:00
ckan.sh Install CKAN cronjob 2017-12-20 22:47:23 +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 Set proper scheme in X-Forwarded-Proto for OpenMapKit 2017-12-19 22:16:13 +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 Alpinize + Dockerize CKAN DataPusher 2017-12-20 15:41:29 +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 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 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
CKAN 8003 8403
CKAN Datapusher 8004 N/A
OpenMapKit 8007 8407