This guide provides a step-by-step approach to installing Xui One installation on Ubuntu 20.04 and 22.20 ensuring a smooth and hassle-free setup process. this guide will help you get Xui One up and running on your system. To begin installing, please download XUi.ONE one source code panel from this link https://xtream-masters.com/xui_one_open_source_code.php
( I am also offering totally secure and sporting XUI.One Panel installation as paid service on Telegram @XtreamMasters )
if you want headache free ready to use proper setup & secure panel
First, ensure that your system is up to date. Open a terminal window and run the following commands:
sudo apt update
sudo apt upgrade
This will update the package list and upgrade all installed packages to their latest versions.
Xui One requires several dependencies to function correctly. Install them by running the following command:
Copy cmd :
sudo apt install build-essential libx11-dev libxft-dev libxinerama-dev xorg
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*
These packages include essential development tools and libraries required for building and running Xui One.
Next, you need to download the latest Xui One. You can clone the official Xui One repository from official source using the following command:
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
Once installed, You can find secure login credentials in /home/ dir
Copy code:
sudo reboot
After your system restarts, you should see the Xui One login screen. Select Xui One from the session menu (if necessary) and log in with your user credentials.
One of the main attractions of Xui One is its high level of customizability. Here are some ways to personalize your Xui One environment:
Xui One supports various themes. You can find and install themes from online repositories or create your own. To apply a theme, go to the settings menu, navigate to the appearance section, and select your preferred theme.
You can add, remove, and configure panels to suit your workflow. Right-click on an existing panel to access the panel settings, where you can adjust its position, size, and the widgets it contains.
Enhance your desktop environment with widgets. Xui One installation on ubuntu 20.04 & 22.04 are supports a range of widgets for displaying system information, weather updates, and more. Install and configure widgets through the settings menu.
While installing and configuring Xui One is generally straightforward, you may encounter some issues. Here are solutions to common problems:
/home/xui/service stop
/home/xui/service start
/home/xui/status
/home/xui/tools
/home/xui/tools rescue
/home/xui/tools user
/home/xui/tools mysql
/home/xui/tools database
/home/xui/tools migration
/home/xui/tools flush
/home/xui/tools ports
/home/xui/tools access
mysqldump -u root xui > xuiLT-backup.sql
mysql -u root xui < path/backup/file.sql
First of all restore SQL file to migration database with following shell command
mysql xui_migrate < /root/old-db.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
/home/xui/bin/php/bin/php /home/xui/includes/cli/migrate.php
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
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());
/home/xui/status
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.
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
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 contact me on Telegram @XtreamMasters for XUI and other paid services.
Installing Xui One on Ubuntu 20.04 & 22.04 can provide a refreshing change from the default GNOME desktop environment, offering enhanced customization and a unique user experience. By following the steps outlined in this guide, you can successfully install and configure Xui One, tailor it to your preferences, and troubleshoot common issues. Enjoy your new desktop environment and the myriad of customization options it brings.
Tags: Ubuntu UI alternatives., Ubuntu Xui One guide, Xui One configuration, Xui One desktop environment, XUI One installation license, XUI One installation on ubuntu 20.04, XUI One installation on ubuntu 22.04, XUI One installation script, Xui One installation steps, XUI One open source file, XUI One secure files, Xui One setup