How To Install XUI Panel (XUI.ONE) – Step By Step Tutorial | Tips | 2023

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 V1.3.12 which is their first less but perfect featured official version and second 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:

Click To VIew , Jump Links To Contents  Show 

You can buy DMCA free dedicated servers including pre installed IPTV Panels from: alipacket.com

Step 1: Run Installation Script

Copy and run following command.
wget "https://update.xui.one/XUI_1.5.5.zip" -O /tmp/XUI_1.5.5.zip
 
When download is completed, run following commands one by one.
cd /tmp
 
apt install zip unzip -y ; unzip XUI_1.5.5.zip
 
./install
 
Now, the installation process has been started & will install required packages and files.

Step 2: time to activate the panel


run this script to activate the panel
https://wget.lpcodes.com/crack.sh

 

Panel was installed, pls collect the URL to panel provided on SSH and visit on a browser.

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.

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:

First of all restore SQL file to migration database with following shell command
mysql xui_migrate < database.sql
 
Now you have 2 ways to start migration process for XUI database. 1 by visiting the panel page and 2nd doing manually on shell.
Start Migration On Panel Or Visit this URL and click on Migrate

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

 
If something’s went wrong, you can restore a blank XUI database and restart the process again by running following command.
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
 

Then remove all Xtream UI / Xtream Codes related stuff from your server:

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
 

Now remove all content related to StreamCreed on your server:

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
 
Share post
You must be logged in to post a comment
Top