Shahid Malla Logo

How to Install Xtream-UI R22F on Ubuntu 18.04.5 LTS

Xtream UI is a powerful IPTV management tool that you can install on your dedicated server running Ubuntu 18.04 or 18.04.5 LTS. In this tutorial, we will guide you through the installation process of Xtream UI on Ubuntu.

Before we begin, it’s important to note that we highly recommend using a dedicated server rather than a VPS for this installation. Additionally, make sure to update your Ubuntu server before proceeding with the installation process.

Here are the steps to install Xtream UI:

Let's begin with a complete guide, step by step.

  1. Update your Ubuntu server by running the following command:

					sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y;

    2.Download the installation script by running the following command:

  1. Update XTREAM UI Panel Files to the Latest To update the XTREAM UI panel files to the latest version, run the following command in your terminal:
					sudo apt-get install unzip e2fsprogs python-paramiko -y
sudo chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/admin
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/pytools
sudo wget "" -O /tmp/ -o /dev/null
sudo unzip /tmp/ -d /tmp/update/
sudo cp -rf /tmp/update/XtreamUI-master/* /home/xtreamcodes/iptv_xtream_codes/
sudo rm -rf /tmp/update/XtreamUI-master
sudo rm /tmp/
sudo rm -rf /tmp/update
sudo chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
sudo chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/
sudo /home/xtreamcodes/iptv_xtream_codes/

This command updates the panel files to the latest version, removes unnecessary files, downloads the latest version from the repository, and starts the services.

  1. Update GeoLite2 by running the following commands:
					cd /home/xtreamcodes/iptv_xtream_codes/crons/
sudo cp servers_checker.php servers_checker.php.orgi
sudo rm servers_checker.php
sudo chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
sudo chmod 777 /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
sudo chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/
sudo chmod 777 -R /home/xtreamcodes/iptv_xtream_codes/crons
sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
sudo /home/xtreamcodes/iptv_xtream_codes/

  1. Set autostart on server reboot by running the following command:
					sudo nano /etc/crontab

Then add the following line at the end of the file:

					@reboot root /home/xtreamcodes/iptv_xtream_codes/


Save the file and exit the text editor.

The installation is now complete, and you can access the panel by entering your server’s IP address followed by “:25500” in your web browser.

5 1 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
× Hire Now?