Install Xtream Ui on Ubuntu 22.04 server

Xtream UI is no longer actively maintained, but if you still want to install it on Ubuntu 22.04, you need to be aware that it might require manual fixes due to outdated dependencies. Below is a step-by-step guide to installing Xtream UI on Ubuntu 22.04.


Step 1: Update Your System

apt update && apt upgrade -y

Step 2: Install Required Dependencies

apt install -y sudo curl wget git unzip

Step 3: Download the Xtream UI Installer

wget https://xtreamui.net/install/xtreamui_installer.sh -O xtreamui_installer.sh
chmod +x xtreamui_installer.sh

Step 4: Run the Installer

./xtreamui_installer.sh
  • Select option 1 for a fresh installation.
  • The script will automatically install MySQL, Apache, PHP, and other required services.

Step 5: Configure Xtream UI

After installation, you will get a URL and credentials to log into the Xtream UI Admin Panel.

  1. Open a browser and go to: http://your-server-ip:25500
  2. Use the credentials provided during installation.

Possible Issues & Fixes

1️⃣ PHP Compatibility Issues

Xtream UI was designed for older PHP versions. If you face issues, install PHP 7.4 manually:

apt install -y software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
apt install -y php7.4 php7.4-cli php7.4-mysql php7.4-curl php7.4-mbstring php7.4-xml

Restart services:

systemctl restart apache2

2️⃣ Database Errors

If the panel does not load, check the MySQL service:

systemctl restart mysql

If errors persist, manually create the Xtream UI database:

mysql -u root -p
CREATE DATABASE xtreamui;
GRANT ALL PRIVILEGES ON xtreamui.* TO 'xtream'@'localhost' IDENTIFIED BY 'yourpassword';
FLUSH PRIVILEGES;
EXIT;

Final Notes

  • Xtream UI is no longer maintained, so expect security and stability issues.
  • Consider using alternative IPTV panels like XUI One or Ministra.
  • Always keep backups before making major changes.

Would you like help with an alternative IPTV panel? 🚀

Related Posts