First Installation of Real Panel MAIN + ADMIN + Update to version 22F

Install MAIN Panel

Server has to be installed with Ubuntu 18.04 only. It won’t work with Ubuntu 19.04, 20.4.For other OS, I have no idea.

Log in as root into SSH client (Putty) and run the following command to install MAIN server.

Log in Putty as root and run:

sudo apt-get update ; sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y unzip e2fsprogs python-paramiko -y; sudo wget https://realpanel.io/xtream/install.py ; sudo python install.py


When prompted, choose MAIN
It will ask you to install either MAIN, LB or ADMIN. First you have to install MAIN so type in MAIN, then hit ENTER. When it asks to start installation, put Y and hit ENTER.

In the next screen, you will need to enter the MYSQL root password, and keep this one. This is the pass for MYSQL root user.

Next, it will ask to drop existing database. You MUST answer Y. If you reinstall MAIN on your existing MAIN server, you should say N. This means the current database will not be dropped.


Real Panel (Xtream Codes) Installation

After the installation is complete, it will give you the mysql password for the user_iptvpro, you must keep this password for later use.

 

Install ADMIN panel

You are still in the same MAIN server, run this code to install ADMIN:
python install.py

Then choose ADMIN when prompted. After the installation is finished, it will give you the admin URL which is

http://your-serverip:25500

Log in with username: admin and password: admin

Now update to version 22 F (on Main)

Xtream-UI is built by @GTA, with latest version 22F with many bug fixes. You must update to this version ASAP. The current Xtream-UI project has been abandoned and no more update will be added.

From the same server, run this commadn to update to 22F
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 “https://realpanel.io/releases/release_22f.zip” -O /tmp/update.zip -o /dev/null && sudo unzip /tmp/update.zip -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/update.zip && sudo rm -rf /tmp/update && sudo chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && sudo chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/ && sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/permissions.sh && sudo /home/xtreamcodes/iptv_xtream_codes/permissions.sh && sudo chmod 0755 /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && sudo chmod 0755 /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh


Run those commands for NGINX permission if you can’t start panel
sudo chmod 0755 /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
sudo chmod 0755 /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp

 

That is all done. You now are running version 22F

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top