Install on a server

Use this page to install creekX Media Server on your own Ubuntu 24.04 server, with one command. It sets up the database, HTTPS, the video tools and a system service that starts with the server. You supply the server, disk and bandwidth. Afterwards, send one real feed to prove it works.

On this page

The install includes PostgreSQL 16, Caddy for automatic HTTPS, Node.js, FFmpeg 8.1 and the streaming service. The service starts with the server and is managed through the creekX command line.

Before you request a trial key

The 14-day Media Server trial starts when the key is issued, before installation or activation. It includes up to 5 channels, five restream destinations per stream and 500 library videos. The separate Cameras portal and fully offline installer are not included. Prepare the server first, then request the trial.

You need an SSH or provider-console login with sudo access, internet access for the installer and permission to change DNS and firewall settings. Use a server you control. Keep the trial key and owner password private.

Choose a server

  • Ubuntu 24.04 LTS, 64-bit, with an Intel or AMD processor.
  • Evaluation starting point: 2 processor cores, 8 GB of memory and 100 GB of disk. The installer warns below 4 GB; 8 GB gives more working room.
  • For a larger workload: 4 cores and 16 GB can be a planning starting point, with more disk for videos. Actual needs depend on transcoding, recording, feeds and viewers; test your workload. Measured viewer counts and delays on known machines are in Load testing results, and how to size a server in Scaling and server sizing.
  • Data each month: a constant 8 Mbit/s output over 30 days sends about 2.6 TB to each destination, before overhead. This is a calculation, not a capacity result. Other bitrates, viewers and restream destinations change the bill. Check your plan’s allowance.

Choose a provider that supports Ubuntu 24.04 x86-64, the required ports and your network needs. A location near your viewers may help, but it does not guarantee a particular delay. Use the sizing guide and recording budget to plan the workload.

Install, step by step

  1. Point a domain at the server (recommended)

    In your domain's DNS settings, add an A record for a name such as live, with the server's IP address as its value. creekX then gets an HTTPS certificate after DNS reaches this server and validation can reach its web ports. Browser-camera publishing requires HTTPS. No domain yet? Skip this and add one later.

  2. Connect to the server

    Use SSH, as a user who can use sudo. Your provider's control panel shows how; many have a "Console" button in the browser.

  3. Run the installer

    curl -fsSL https://creekx.io/get.sh | sudo bash

    It downloads creekX, verifies the download and asks:

    • your domain, for example live.example.com (Enter to skip);
    • the owner's email, which you sign in with;
    • the owner's password, 12 characters or more.

    Prefer to give the answers up front? Put them after bash -s --:

    curl -fsSL https://creekx.io/get.sh | sudo bash -s -- --domain live.example.com --email [email protected]

    If your trial email includes an install command with --licence-key, use that private command instead to install and activate together. To activate an installation afterwards, use sudo creekx activate YOUR-TRIAL-KEY, replacing the placeholder with your key. Do not copy a real key into this guide, screenshots or support messages; command history may retain commands you type.

    Check: the installer reaches its completion message and prints the workspace address. If it stops with an error, note the exact non-secret error before trying again. Installation time depends on the machine, downloads and network.

  4. Open the address it prints

    Sign in with the owner email and password you chose. Your requested trial key’s clock started when it was issued, not when you reach this page. Check More → Licence for this installation’s licence dates. Next, follow the first-stream quick start: connect OBS, check HLS playback, then test WebRTC on a second device.

Ports to open

Check both the server firewall and your provider’s security group. Allow the web ports and the publishing/playback protocols you actually use. Where practical, restrict publishing ports to your trusted sources. Preserve the SSH or console access you need to manage the server.

Port For
80, 443 (TCP) The app and watching
1935 (TCP) OBS and streaming apps (RTMP)
1936 (TCP) OBS, encrypted (RTMPS), with a domain
8554 (TCP) Cameras and encoders sending RTSP
8890 (UDP) SRT encoders
8189 (UDP, TCP) WebRTC media for browser publishing and real-time watching
8322 (TCP) Encrypted RTSP (RTSPS), when a domain and TLS are configured
9100–9199 (UDP) Encoders sending MPEG-TS over UDP

Add a domain later

Point the domain at the server (step 1 above), then on the server run:

sudo creekx domain live.example.com

Check DNS and inbound web access first. Once the certificate is issued, open the HTTPS address without bypassing browser certificate warnings. Certificates renew automatically while the required validation path remains available.

Upgrade to a newer version

Before upgrading, follow the backup guide and choose a maintenance window. Run the same install line again. Settings, videos, licence and trial are kept; rerunning does not restart the trial. The installer attempts to put the previous version back if the new service fails its startup checks. Verify sign-in and one real stream afterwards. This rollback check is not a substitute for your backup or acceptance test.

Verify before inviting viewers

sudo creekx status
sudo creekx logs

Expected result: status shows the service running, and the printed address opens the workspace. Treat an error in the logs as a clue, not a reason to expose more ports at random. Keep log excerpts private until you have removed keys, tokens and personal details.

  • Address does not open: check the printed address, DNS and TCP 80/443 at both firewalls. A local server address is not necessarily reachable from the internet.
  • Certificate warning: check the domain’s DNS, web-port access and the installer’s certificate error. Fix the cause rather than bypassing the browser warning.
  • Encoder cannot connect: check the copied server/key pair and that protocol’s ingest port. Use the OBS guide.
  • HLS plays but WebRTC does not: check real-time network access, the actual browser and the configured addresses. Start with Troubleshooting; do not assume a larger server fixes a blocked connection.

Finish the first-stream quick start, including playback on another device and a completed recording. Before a public event, run an event rehearsal and a controlled recovery drill. A running service alone does not prove the audience path.

A server without internet

Fully offline deployment is a separate assisted option, outside the self-serve Media Server trial. For closed networks, ask us for the offline bundle. It carries everything the installer would download, checks every file before using it, and asks nothing of the network. Copy it to the server, then:

sudo ./creekx-VERSION-offline/install.sh --offline creekx-VERSION-linux-x64-offline.tar.gz --no-domain --email [email protected]

Ask for the offline bundle

How do I know the install worked?

Run sudo creekx status, open the address from another network and send a private test feed. Check its watch link. Make a backup you've tested before your first upgrade. Keep your SSH session open while you change firewall rules. If an upgrade fails, don't erase data folders to retry. The try-on-your-computer and offline installs are different routes, each with its own steps.

Follow the build