Sandstorm is an open-source platform for self-hosting web applications. It provides files storage capabilities, live chat, document editor, task and project management, among other things. It has a store with multiple mini apps that are easy to install and setup. This gives you a great chance of control over your data and privacy. This article explains how to install Sandstorm on Ubuntu 20.04 server.
Update the system.
$ sudo apt update
$ sudo apt install openjdk-11-jre -y
Verify that Java is installed.
$ java -version
Install required dependencies.
$ sudo apt install build-essential libcap-dev xz-utils zip unzip strace curl discount git python3 zlib1g-dev golang-go cmake strace flex bison locales -y
$ curl https://install.meteor.com/ | sh
Download and import the Sandstorm releases keyring.
$ curl https://raw.githubusercontent.com/sandstorm-io/sandstorm/master/keys/release-keyring.gpg | gpg --import
Download the PGP key fingerprint of a Sandstorm.
$ wget https://raw.githubusercontent.com/sandstorm-io/sandstorm/master/keys/release-certificate.kentonv.sig
Verify the certificate with GPG.
$ gpg --decrypt release-certificate.kentonv.sig
Download the installer script and its signature.
$ wget https://install.sandstorm.io/install.sh $ wget https://install.sandstorm.io/install.sh.sig
Verify the signature installer script.
$ gpg --verify install.sh.sig install.sh
Run the installer. Follow the prompt and configure Sandstorm. After installation is finished, copy the URL given similar to this:
$ bash install.sh
During installation, answer questions as follows:
How are you going to use this Sandstorm install? Press ENTER.
OK to continue? Press ENTER.
What *.sandcats.io subdomain would you like? Enter none, then ENTER.
URL users will enter in browser: Enter
Wildcard host: Press ENTER.
80 through the firewall.
$ sudo ufw allow 80
Edit Sandstorm configuration file
$ sudo nano /opt/sandstorm/sandstorm.conf
Find the line
PORT=6080 and change it like bellow.
Enable the Sandstorm service to run at system startup.
$ sudo systemctl enable sandstorm
Restart the service for changes to take effect.
$ sudo systemctl restart sandstorm
Verify the status of the service.
$ sudo systemctl status sandstorm
To access the Sandstorm Web Interface, go to your browser and visit
http://serverIP/. For example:
You have installed Sandstorm on your server. You can now finish setting up Sandstorm. Find more information on how to use Sandstorm, go to the official documentation page.