Install Sandstorm on Ubuntu 20.04

Updated on March 1, 2022
Install Sandstorm on Ubuntu 20.04 header image


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.


1. Install Java

Update the system.

$ sudo apt update

Install Java.

$ sudo apt install openjdk-11-jre -y

Verify that Java is installed.

$ java -version

2. Install Sandstorm

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

Install Meteor.

$ curl | sh

Download and import the Sandstorm releases keyring.

$ curl | gpg --import

Download the PGP key fingerprint of a Sandstorm.

$ wget

Verify the certificate with GPG.

$ gpg --decrypt release-certificate.kentonv.sig

Download the installer script and its signature.

$ wget

$ wget

Verify the signature installer script.

$ gpg --verify

Run the installer. Follow the prompt and configure Sandstorm. After installation is finished, copy the URL given similar to this:

$ bash

During installation, answer questions as follows:

  • How are you going to use this Sandstorm install? Press Enter.
  • OK to continue? Press Enter.
  • What * subdomain would you like? Enter none, then Enter.
  • URL users will enter in browser: Enter
  • Wildcard host: Press Enter.

Enable port 80 through the firewall.

$ sudo ufw allow 80

Edit Sandstorm configuration file sandstorm.conf.

$ 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

3. Access 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.