Guide

Install or update.

Choose your system and what you want to do – the guide adapts.

Step by step

Everything happens in the terminal of your Ubuntu server. Copy, paste, Enter – done.

  1. Open a terminal

    Log in to the Ubuntu server – directly on the machine or via SSH from your PC (on Windows e.g. in PowerShell):

    Replace user name and IP address with those of your server.

  2. Download NETORYX

    Downloads the package straight to the server:

    wget https://netoryx.at/dl/Netoryx-Ubuntu-1.0.1.zip
    Prefer downloading in the browser?

    Get the ZIP under Download above and copy it from Windows to the server (PowerShell):

    scp .\Netoryx-Ubuntu-1.0.1.zip [email protected]:~/
  3. Unpack

    Installs unzip (if missing), unpacks the package and changes into the folder:

    sudo apt install -y unzip
    unzip Netoryx-Ubuntu-1.0.1.zip
    cd Netoryx-Ubuntu-1.0.1
  4. Install

    The script does everything in 10 steps: system packages, service user, Python environment, web interface, database, systemd services, nginx with HTTPS and firewall.

    sudo bash install.sh

    With your own domain (optional):

    sudo bash install.sh --domain netoryx.company.local

    Always start with sudo bash install.sh – after unpacking the execute permission is often missing, so ./install.sh would fail.

    More options (HTTPS, certificate, folders)

    --tls self-signed (default, own CA) · --tls letsencrypt --email … · --tls custom --cert … --key … · --tls none for testing only. Plus --dir, --data, --port, --no-firewall. Example with Let’s Encrypt:

    sudo bash install.sh --domain netoryx.company.com --tls letsencrypt --email [email protected]
  5. Sign in in the browser

    At the end the script shows the address of the web interface and the initial password for the user admin. Write it down right away – it is not stored anywhere and must be changed on first sign-in. A setup wizard then walks you through the first steps.

    Certificate warning in the browser? Import the CA certificate from http://<server>/netoryx-ca.crt once on your PC – and the warning is gone.

All in one command

In a hurry? Steps 2 to 4 at once.

wget https://netoryx.at/dl/Netoryx-Ubuntu-1.0.1.zip && sudo apt install -y unzip && unzip Netoryx-Ubuntu-1.0.1.zip && cd Netoryx-Ubuntu-1.0.1 && sudo bash install.sh

Large networks (from about 2,500 devices)

A Python process only uses one CPU core. With many devices you spread the checks across several check workers – rule of thumb: CPU cores minus 1. How big the server should be is shown in the table under Download.

sudo bash /opt/netoryx/deploy/workers.sh 3

System → Load shows whether the server keeps up. Test in advance – with 10,000 simulated devices in a separate test database:

cd /opt/netoryx/backend
sudo -u netoryx .venv/bin/python -m app.cli loadtest

Command line over SSH (optional)

The NETORYX command line is also available in the terminal: type netoryx on the server and sign in with your NETORYX account – the same commands as in the interface, with ? help and tab completion.

netoryx

Dedicated SSH account like on a switch: ssh netoryx-cli@<server> lands straight in the command line without a shell. Use off instead of on to remove it again.

sudo bash /opt/netoryx/deploy/ssh-cli.sh on

Status & log

sudo systemctl status netoryx
sudo journalctl -u netoryx -f

The full manual (over 3000 lines, German) is in the package under docs/ANLEITUNG.md.

Stuck somewhere?

Installation fails, the certificate acts up, a device does not respond? Ask the community – we help with the setup.

Help with setup