Skip to content

Run native setup

This is not the recommended way to setup xplex (even as a developer environment), but if you’re feeling adventurous—to build and deploy it without containerization, then here’s how to do it.

Prerequisites

  1. Install Dependencies

    Depending on the package manager the host system uses, the package names & the commands to install them will vary; please use the appropriate section below:

    If you’re on a Debian-based system, using APT as package manager (e.g. Ubuntu, OpenMediaVault, Linux Mint etc.) then run:

    Terminal window
    # update installed packages
    sudo apt update
    sudo apt upgrade
    # install build dependencies
    sudo apt install -y build-essential git nodejs npm
  2. Download Code

    If you have Git installed, you can clone the repository:

    Terminal window
    git clone https://github.com/debloper/xplex.git
    cd xplex
    git checkout v1.0.0
  3. Manage Firewall Rules

    xplex uses port 80 for HTTP & port 1935 for RTMP. Please make sure the firewall on the host system is configured to allow traffic on these ports.

Setup Script

Inside the directory, there’s a setup.sh, which automates the tasks to get xplex up and running:

NOTE: audit the script before running it
sudo ./setup.sh
# or, you can configure and run each of its commands separately.

Open a browser & access your xplexHQ dashboard at http://<hostname-or-IP>/. If you can see the dashboard, then xplex is up and running & ready for the post-installation setup. 🎉