XUI.ONE is the most famous paid IPTV panel provided by GTA and team with great features and improved security. The panel kept available with 2 of the official versions and a beta version all the time. The panel can be installed both on Ubuntu 20 and Ubuntu 18, but LBs seems to be done over Ubuntu 20 only.
If you’re migrating from Xtream UI panel to XUI without re installing OS, read this guide to remove old Xtream UI mounts to run the new panel smoothly.
At the moment panel has V 1.5.13 which is their secure and perfect featured official version after is V1.5.5 R2 as 2nd generation official version with a beta version of V1.5.12 R1.
I’ll be sharing you almost of the information you need on this page so, no need to go and search out the web anymore 🙂 If you need dedicated servers for XUI, checkout AliPacket servers.
Let’s talk about the installation 😛
So, they do release their official and beta releases on their official website. You can visit there and get latest releases information anytime you want (these days they’ve stopped new releases and licenses, people also seen using xui crack which isn’t recommended).
I’ll be installing their most latest official version on a server where Xtream UI was already installed and NO OS RE INSTALL (You can do on fresh install). I’ve Ubuntu 18 installed but it’s recommended to keep Ubuntu 20. BTW, The panel is installed with Mariadb.
Install XUI.ONE On Ubuntu:
You can buy DMCA free dedicated servers including pre installed IPTV Panels from: alipacket.com
Just a suggestion for installing the panel. It works perfect with MariaDB version 10.5.xx so, normally when you install it choses 10.3 or 10.6 or random and that causes stopping in backup creation and restoration within the panel. So, would suggest to install MariaDB 10.5.XX version earlier and lock it not to be removed or updated so, when you install the panel it will be done within the same version.
sudo apt update ; apt-get install software-properties-common dirmngr -y ; sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' ; sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.lstn.net/mariadb/repo/10.5/ubuntu focal main' ; sudo apt-get install mariadb-server=1:10.5.27+maria~ubu2004 mariadb-client=1:10.5.27+maria~ubu2004
apt-mark hold maria*
Fresh Installation Script
wget "https://update.xui.one/XUI_1.5.5.zip" -O /tmp/XUI_1.5.5.zip ; cd /tmp ; apt update ; apt install zip unzip -y ; unzip XUI_1.5.5.zip ; ./install
wget "https://update.xui.one/XUI_1.5.12.zip" -O /tmp/XUI_1.5.12.zip ; cd /tmp ; apt update ; apt install zip unzip -y ; unzip XUI_1.5.12.zip ; ./install
wget "https://update.xui.one/XUI_1.5.13.zip" -O /tmp/XUI_1.5.13.zip ; cd /tmp ; apt update ; apt install zip unzip -y ; unzip XUI_1.5.13.zip ; ./install
Now, it will ask you to add the license key to it, add it and then you’ll be redirected to creation of fresh new admin, create and you’re in.
So, that hard was your panel installation. You can easily connect unlimited loadbalancers to it, the auto LB installation do work perfectly.
Updating existing Panel
wget "https://update.xui.one/XUI_1.5.5_UPDATE.zip" -O /tmp/XUI_1.5.5_UPDATE.zip ; cd /tmp ; unzip XUI_1.5.5_UPDATE.zip ; ./update
wget "https://update.xui.one/XUI_1.5.12_UPDATE.zip" -O /tmp/XUI_1.5.12_UPDATE.zip ; cd /tmp ; unzip XUI_1.5.12_UPDATE.zip ; ./update
wget "https://update.xui.one/XUI_1.5.13_UPDATE.zip" -O /tmp/XUI_1.5.13_UPDATE.zip ; cd /tmp ; unzip XUI_1.5.13_UPDATE.zip ; ./update
Panel Tips:
You can always hire me to do your job anytime on Telegram @lofertech
Checkout the Tips to keep manage your panel for best performance and instability or stop working.
Stop XUI.ONE Panel:
/home/xui/service stop
Start XUI.ONE Panel
/home/xui/service start
Refresh Database
/home/xui/status
List Of Tools
/home/xui/tools
Create Rescue “Access Code”
/home/xui/tools rescue
Create Rescue “Admin User”
/home/xui/tools user
Reauthrize Loadbalancers On MySQL
/home/xui/tools mysql
Restore A Blank Database
/home/xui/tools database
Clear Migration Database
/home/xui/tools migration
Flush All Blocked IPs
/home/xui/tools flush
Regenerate Ports From MySQL
/home/xui/tools ports
Regenerate Access Code From MySQL
/home/xui/tools access
Quick Generate Complete Backup
mysqldump -u root xui > xuiLT-backup.sql
Restore Selected Backup To XUI Database
mysql -u root xui < path/backup/file.sql
Migration Process:
mysql xui_migrate < /root/old-db.sql
Start Migration On Shell:
/home/xui/bin/php/bin/php /home/xui/includes/cli/migrate.php
Start Migration On Browser:
Visit: http://host.com:port/accesscode/setup
mysql xui < /home/xui/bin/install/database.sql
Reset Admin User and Password to admin:admin
mysql
USE `xui`; REPLACE INTO `users`(`id`, `username`, `password`, `member_group_id`, `status`, `owner_id`, `date_registered`) VALUES(1, 'admin', '$6$rounds=20000$xui$eQfRsD2gsIUhoY5RnnYN82qiB5VeZTcHICQrFxXpa98J2R1454b6lzVHVjiJ.NP0gi0X3K7NXVgxeR1VhVhg61', 1, 1, 0, UNIX_TIMESTAMP());
Fix License Error
/home/xui/status
How To Remove Old Panels From Server?
Well, first of all it’s better idea to fresh install Ubuntu 20.04 on your server. If can’t before installing XUI, remove any old panel installed with following guide.
Uninstall Xtream UI (Xtream Codes) from your server.
sudo systemctl stop mysql.service
sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-* -y
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql 2>/dev/null
sudo apt autoremove -y
sudo apt autoclean -y
sudo pkill -u xtreamcodes 2>/dev/null
sudo kill $(ps aux | grep '[p]hp' | awk '{print $2}') 2>/dev/null
sudo kill $(ps aux | grep '[n]ginx' | awk '{print $2}') 2>/dev/null
sudo chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb 2>/dev/null
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/tmp/* 2>/dev/null
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/streams/* 2>/dev/null
sudo umount -f /home/xtreamcodes/iptv_xtream_codes/streams 2>/dev/null
sudo umount -f /home/xtreamcodes/iptv_xtream_codes/tmp 2>/dev/null
sudo sed -i '/xtreamcodes/d' /etc/fstab
sudo sed -i '/xtreamcodes/d' /etc/crontab
sudo sed -i '/xtreamcodes/d' /etc/sudoers
sudo deluser xtreamcodes 2>/dev/null
sudo groupdel xtreamcodes 2>/dev/null
sudo chown root:root -R /home/xtreamcodes 2>/dev/null
sudo chmod -R 0644 /home/xtreamcodes 2>/dev/null
sudo rm /var/lib/dpkg/lock-frontend /var/cache/apt/archives/lock /var/lib/dpkg/lock 2>/dev/null
sudo apt-get remove libcurl3 -y 2>/dev/null
Removing StreamCreed Panel:
sudo systemctl stop mariadb.service 2>/dev/null
sudo apt-get purge mariadb-server -y
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql 2>/dev/null
sudo apt autoremove -y
sudo apt autoclean -y
sudo pkill -u streamcreed 2>/dev/null
sudo kill $(ps aux | grep '[p]hp' | awk '{print $2}') 2>/dev/null
sudo kill $(ps aux | grep '[n]ginx' | awk '{print $2}') 2>/dev/null
sudo rm -rf /home/streamcreed/tmp/* 2>/dev/null
sudo rm -rf /home/streamcreed/streams/* 2>/dev/null
sudo umount -f /home/streamcreed/streams 2>/dev/null
sudo umount -f /home/streamcreed/tmp 2>/dev/null
sudo sed -i '/streamcreed/d' /etc/fstab
sudo sed -i '/streamcreed/d' /etc/crontab
sudo sed -i '/streamcreed/d' /etc/sudoers
sudo deluser streamcreed 2>/dev/null
sudo groupdel streamcreed 2>/dev/null
sudo chown root:root -R /home/streamcreed 2>/dev/null
sudo chmod -R 0644 /home/streamcreed 2>/dev/null
Always reach me out on Telegram @lofertech for XUI and other paid services.