How To Install & Configure Xtream UI Ubuntu 18.04 (Recommended for MAIN)
Things You Need:
- VPS or Dedicated Server (VPS For Testing Purpose)
Let’s get started
As root user:
apt install python -y && apt-get update && apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y
& then run
wget https://xtream-ui.com/install/install.py
Don’t just start the installation as the install.py is broken, So before running install.py run this as root:
sudo nano install.py
edit download links on line number 6 and change download link to the following:
rDownloadURL = {“main”: “https://bitbucket.org/emre1393/xtreamui_mirror/downloads/main_xtreamcodes_reborn.tar.gz”, “sub”: “https://bitbucket.org/emre1393/xtreamui_mirror/downloads/sub_xtreamcodes_reborn.tar.gz”}
Now hit CTR+X and Hit Enter.
As root run: sudo python install.py
If you want a whole new installation, choose MAIN
After installation finish, Type this to start Xtream UI:
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
LB Installation:
Connect your LB via SSH and as root run following command:
apt-get update && apt-get upgrade -y && sudo apt-get install mysql-server -y && sudo apt-get install python -y && sudo apt install apache2 -y && sudo apt-get install libxslt1-dev -y && sudo apt-get install libgeoip-dev -y && apt-get update && apt-get upgrade -y
after updating packages. Run following code:
wget https://xtream-ui.com/install/install.py
Don’t just start the installation as the install.py is broken, So before running install.py run this as root:
sudo nano install.py
edit download links on line number 6 and change download link to the following:
rDownloadURL = {“main”: “https://bitbucket.org/emre1393/xtreamui_mirror/downloads/main_xtreamcodes_reborn.tar.gz”, “sub”: “https://bitbucket.org/emre1393/xtreamui_mirror/downloads/sub_xtreamcodes_reborn.tar.gz”}
Now hit CTR+X and Hit Enter.
As root run: sudo python install.py
and select LB and follow instructions on screen.
That’s it 🙂
Dump Database from Old Server (Backup)
Run as root:
mysqldump xtream_iptvpro > xtcdump.sql
– RESTORE Database
Upload xtcdump.sql to your new server (It’s OK to use /root)
Run as root:
mysql xtream_iptvpro < /root/xtcdump.sql
NOTE: This is ONLY for XC V2 to V2!
Known Issues:
Using SSH: mysql
Now type: UPDATE xtream_iptvpro.reg_users SET password=’$6$rounds=20000$xtreamcodes$XThC5OwfuS0YwS4ahiifzF14vkGbGsFF1w7ETL4sRRC5sOrAWCjWvQJDromZUQoQuwbAXAFdX3h3Cp3vqulpS0′ WHERE id=’1′;
UPDATE xtream_iptvpro.reg_users SET username = ‘admin’ WHERE id = ‘1’;
UPDATE xtream_iptvpro.reg_users SET member_group_id = ‘1’ WHERE id = ‘1’;
Login using admin/admin
– I rebooted the server and the panel didn’t come back up
As root run: /home/xtreamcodes/iptv_xtream_codes/start_services.sh
– How to get m3u playlist?
– Bouquet error: Bouquet data not transfered!
As root run: wget https://archive.org/download/bouquet_/bouquet_.php -O bouquet.php ; mv bouquet.php /home/xtreamcodes/iptv_xtream_codes/admin/
– Download m3u not working
Check if the user does NOT have MAG and stuff ENABLED on user config. They must be DISABLED!
– libexslt.so.0 – geoip.so – libcurl ERRORS
Run as root: apt-get install libxslt1-dev libcurl3 libgeoip-dev
– How to ADD Stream on the final step
Move the “Main Server” tile INSIDE the “Stream Source” like this:
That’s it! Enjoy 🙂