Spotter-VM/README.md

92 lines
2.3 KiB
Markdown
Raw Normal View History

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
```
2017-12-14 07:43:55 +01:00
## Port assignment
2018-01-27 22:37:19 +01:00
### Services
| Application | Port |
|-------------|------:|
| ActiveMQ | 61616 |
| MariaDB | 3306 |
| RabbitMQ | 5672 |
| Redis | 6379 |
| Postgres | 5432 |
| Solr | 8983 |
### Applications
2017-12-14 07:43:55 +01:00
| Application | HTTP Port | HTTPS Port |
|-------------|----------:|-----------:|
| Sahana | 8001 | 8401 |
2018-01-27 22:37:19 +01:00
| SAMBRO | 8099 | 8499 |
2018-01-02 11:18:07 +01:00
| Pan.do/ra | 8002 | 8402 |
2017-12-14 07:43:55 +01:00
| CKAN | 8003 | 8403 |
2017-12-20 15:41:29 +01:00
| CKAN Datapusher | 8004 | N/A |
2017-12-26 09:32:50 +01:00
| Crisis Cleanup | 8005 | 8405 |
| CTS | 8006 | 8406 |
2017-12-14 07:43:55 +01:00
| OpenMapKit | 8007 | 8407 |
2017-12-29 16:31:48 +01:00
| GNU Health | 8008 | 8408 |
2018-01-02 11:18:07 +01:00
| KanBoard | 8009 | 8409 |
2018-01-27 22:37:19 +01:00
| SeedDMS | 8010 | 8410 |
| Sigmah | 8011 | 8011 |
| Mifos X | 8012 | 8412 |
| Motech | 8013 | 8413 |
| Ushahidi | 8014 | 8414 |