Install on Ubuntu: Manual Steps


Set up repo and credentials

Download our .deb package signing key:

curl -o /usr/share/keyrings/dom-rolling.gpg -s https://install.dom.nettec.no/rolling/dom-rolling.gpg

Set up the DOM apt repositories:

echo "deb [signed-by=/usr/share/keyrings/dom-rolling.gpg] https://rolling.repo.dom.nettec.no/rolling jammy main" > /etc/apt/sources.list.d/dom.list

Access to the repository requires a valid license, and to authenticate you need to derive a username and password from your license key.

  • The username is the first field of the license, for example “EXAMPLE001”.

  • The password is a sha256 hex hash of the entire license string, excluding newlines. You can derive the password with the following command:

echo -n "EXAMPLE001:License_Example:100:2013-01-01:2015-01-01:[a1a1a1a1a1a1a1...]" | sha256sum

Set up the password for downloading packages in /etc/apt/auth.conf.d/dom.conf, replace the EXAMPLE placeholders with your credentials.

echo "machine repo.dom.nettec.no login EXAMPLE001 password EXAMPLE_PASSWORD" > /etc/apt/auth.conf.d/dom.conf

Download and install packages

Update package lists from your apt repositories:

apt update

Install the DOM packages and dependencies:

apt install dom-server

Initial setup

After the package is installed, you need to perform a few additonal steps to complete the setup.

Enable the web server integration:

dom-nginx-enable

Install your license key, replace the example value with your license key:

dom-env dom-load-license "EXAMPLE001:License_Example:100:2013-01-01:2015-01-01:[a1a1a1a1a1a1a1...]"

Set a root password for accesing the DOM dashboard:

dom-reset-root-password