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
-
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 packagessudo apt updatesudo apt upgrade# install build dependenciessudo apt install -y build-essential git nodejs npmIf you’re on a Fedora-based system, using DNF as package manager (e.g. RHEL, CentOS, Alma, Rocky, Amazon Linux etc.) then run:
Terminal window # update installed packagessudo dnf update# install build dependenciessudo dnf install -y gcc gcc-c++ git make nodejs nodejs-npm perl wgetIf you’ve chosen to use a system that uses some different & obscure package manager, then you already know what you’re doing and don’t need hand holding to prepare for the build.
Just make sure to update installed packages and then install the build dependencies.
Here’s a generic (and likely non-exhaustive) list of dependencies you may need:
- gcc & g++
- git & wget
- make & autoconf
- perl & perl-modules
- nodejs & nodejs-npm
Good luck!
-
Download Code
If you have Git installed, you can clone the repository:
Terminal window git clone https://github.com/debloper/xplex.gitcd xplexgit checkout v1.0.0If you don’t have Git installed, you can download the code as a ZIP archive:
Terminal window # avoid using latest development code, as it may be unstable# make sure to download archive of the latest tagged version# from https://github.com/debloper/xplex/tags - for exmaple:wget https://github.com/debloper/xplex/archive/refs/tags/v1.0.0.zipunzip v1.0.0.zipcd xplex-1.0.0If you don’t have Git installed, and instead of ZIP, you prefer TAR archives:
Terminal window # avoid using latest development code, as it may be unstable# make sure to download archive of the latest tagged version# from https://github.com/debloper/xplex/tags - for exmaple:wget https://github.com/debloper/xplex/archive/refs/tags/v1.0.0.tar.gztar -xzf v1.0.0.tar.gzcd xplex-1.0.0
Setup Script
Inside the directory, there’s a setup.sh
, which automates the tasks to get xplex up and running:
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. 🎉