Install Xtream UI on load-balanced servers
After installing Xtream UI to server as Main server and install admin interface you can add load balance server then start to add channels, VOD and tv series.
Follow a few steps below to install a load balance server.
Step 1: Add server name and IP on Xtream UI admin interface
First, login on Xtream UI
Then, on the main menu choose server and Add server
Next, Enter server name and IP, other sets up please leave it as default
After add server, click on server choose manage server you will see the server you just add. Remember ser ID you will need it later
Step 2: Update server
-Run as root:
sudo apt-get update ; apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y
Step 3: Configuring Xtream UI
Let’s jump right in and install Xtream. To do this, execute the below command as root in putty – All 1 Command:
wget https://xtreamcodes.org/install/install.py ; sudo python install.py
Then, confirm that you want to install load balance server by type LB
Installation Type [MAIN, LB, ADMIN]: LB
Note: if after running above command you see only Main and LB option try this script
wget –no-check-certificate https://worldofiptv.com/downloads/xtreamui/install.py -O install.py ;
sudo python install.py
It asking for Main server IP address, MySQL password, load balance server ID
Main server IP address: Enter your main server IP
MySQL user password: Enter the password from MySQL database- this password was given by installation main server
Load Balance server ID: Enter your load balance server. In my case, the load balance ID is 203
Start installation? Y/N
It will download around 200mb, it will take some time.
Step 4: Start load balance server
Run this command on the LB Server in putty to start the LB Server
and done, you can back to the Xtream UI panel and check your load balance server status.