issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-02-06 19:05:38 +01:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +01:00
basic Configure busybox NTP client instead of sntpc 2018-02-06 16:59:00 +01:00
ckan Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
ckan-datapusher Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
crisiscleanup Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
cts Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
gnuhealth Hackfix GNU Health template1 database lock 2018-02-06 10:26:56 +01:00
kanboard Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
mariadb Make a proper conf mount for MariaDB 2018-01-27 14:13:59 +01:00
mifosx Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
motech Fix Motech database password placeholder 2018-02-06 18:04:16 +01:00
openmapkit Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
pandora Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
postfix Build Postfix aliases database 2018-02-03 10:48:17 +01:00
postgres Make a proper data mount for Postgres 2018-01-27 14:44:44 +01:00
rabbitmq Split init.d docker run commands into lines 2018-01-27 14:08:19 +01:00
redis Make a proper conf mount for Redis 2018-01-27 14:31:11 +01:00
sahana Add Sahana + SAMBRO IP refresh script 2018-02-06 09:56:17 +01:00
sambro Add Sahana + SAMBRO IP refresh script 2018-02-06 09:56:17 +01:00
seeddms Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
sigmah Make postgres/mariadb hard dependencies in init.d scripts 2018-02-03 17:34:24 +01:00
solr Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +01:00
tomcat Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +01:00
ushahidi Add Ushahidi IP refresh script 2018-02-06 09:55:12 +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 Configure busybox NTP client instead of sntpc 2018-02-06 16:59:00 +01:00
ckan-datapusher.sh Reorganize HTTP ports to avoid header confusion 2018-02-01 14:55:24 +01:00
ckan.sh Integrate CKAN with postfix 2018-02-02 21:07:35 +01:00
crisiscleanup.sh Integrate CrisisCleanup with Postfix 2018-02-02 21:07:35 +01:00
cts.sh Add nginx and s6 for CTS 2018-02-01 14:01:05 +01:00
gnuhealth.sh Update HTTP port numbers for mobile clients 2018-02-03 17:36:04 +01:00
kanboard.sh Integrate KanBoard with postfix 2018-02-02 21:07:35 +01:00
mariadb.sh Make a proper conf mount for MariaDB 2018-01-27 14:13:59 +01:00
mifosx.sh Integrate Mifos X with postfix 2018-02-03 12:59:09 +01:00
motech.sh Integrate Motech with postfix 2018-02-03 13:19:24 +01:00
openmapkit.sh Update HTTP port numbers for mobile clients 2018-02-03 17:36:04 +01:00
pandora.sh Integrate Pandora with postfix 2018-02-03 13:36:09 +01:00
postfix.sh Expose correct Postfix port and remove manual pages 2018-01-30 15:16:17 +01:00
postgres.sh Make a proper data mount for Postgres 2018-01-27 14:44:44 +01:00
rabbitmq.sh Add RabbitMQ Dockerfile + script 2018-01-11 16:36:57 +01:00
README.md Reorganize HTTP ports to avoid header confusion 2018-02-01 14:55:24 +01:00
redis.sh Few typo and ordering fixes 2018-01-27 15:23:22 +01:00
sahana.sh Add Sahana + SAMBRO IP refresh script 2018-02-06 09:56:17 +01:00
sambro.sh Fix SAMBRO script shebang 2018-02-06 19:05:38 +01:00
seeddms.sh Integrate SeedDMS with postfix 2018-02-02 21:07:35 +01:00
sigmah.sh Integrate Sigmah with postfix 2018-02-03 15:17:11 +01:00
solr.sh Set Solr heap size 2017-12-20 09:40:01 +01:00
tomcat.sh Create common Tomcat Docker image 2018-01-26 21:58:29 +01:00
ushahidi.sh Add Ushahidi IP refresh script 2018-02-06 09:55:12 +01:00
zz-cleanup.sh Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +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 Internal Port HTTP Port HTTPS Port
ActiveMQ 61616 (ActiveMQ) N/A N/A
CKAN 8003 (HTTP) 8803 8403
CKAN Datapusher 8004 (HTTP) N/A N/A
Crisis Cleanup 8005 (HTTP) 8805 8405
CTS 8006 (HTTP) 8806 8406
GNU Health 8008 (HTTP) 8808 8408
KanBoard 8009 (HTTP) 8809 8409
MariaDB 3306 (MySQL) N/A N/A
Mifos X 8012 (HTTP) 8812 8412
Motech 8013 (HTTP) 8813 8413
OpenMapKit 8007 (HTTP) 8807 8407
Pan.do/ra 8002 (HTTP) 8802 8402
Postfix 25 (SMTP) N/A N/A
Postgres 5432 (Postgres) N/A N/A
RabbitMQ 5672 (AMQP) N/A N/A
Redis 6379 (Redis) N/A N/A
Sahana 8001 (HTTP) 8801 8401
SAMBRO 8001 (HTTP) 8899 8499
SeedDMS 8010 (HTTP) 8810 8410
Sigmah 8011 (HTTP) 8811 8011
Solr 8983 (HTTP) N/A N/A
Ushahidi 8014 (HTTP) 8814 8414