• According our Forum Rules,

    • only English Language is allowed
    • asking other members for Likes is forbidden
    • First of all introduce yourselft to earn free likes from moderators
    • links to server IPs, other forums, website or shops, phishing or malware websites etc. are forbidden

    Please Make a small Donation : GET VIP ACCOUNT

    Members who do not follow this rule will be banned !

Tutorial How to install Xtream UI , MAIN - ADMIN - LB (All in one)

mhkazemi

VIP MEMBER
Member
Joined
Jan 12, 2020
Messages
28
Reaction score
28
Points
3
Location
FLYIPTV
How to install XC UI MAIN - LB - ADMIN (All in One):
1- Install Main Server
run these code on Main Server :

Bash:
sudo apt-get update && apt-get upgrade -y
sudo apt-get install mysql-server
sudo apt-get install python
sudo apt install apache2
sudo apt-get install libxslt1-dev
sudo apt-get install libgeoip-dev
apt-get update && apt-get upgrade -y
sudo reboot
sudo apt install python -y
sudo apt-get update
sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y
sudo wget https://xtream-ui.com/install/install.py
sudo python install.py

## Now Type: MAIN

## Answer "Y" to any Questions ##

## And then last step
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
***NOW OPEN PORTS 7999 in MAIN SERVER***
Bash:
## ***Please Note in the Main Server you must open port 7999
## (If you see LB server , in servers list is offline or installing and not Online)
## Do it :
sudo iptables -F
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A OUTPUT -o lo -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7999 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -L
sudo apt-get install iptables-persistent
sudo netfilter-persistent save
sudo netfilter-persistent reload
service iptables save

2- Install ADMIN Panel :
Download ADMIN Panel files and copy in this path all contents in the downloaded folder (XtreamUI-master):
/home/xtreamcodes/iptv_xtream_codes

Download latest ADMIN Panel from this link or every where you have (now I post this , its latest Admin releaseR22_Beta):

Login details :
Username: admin
Password: admin


3- Install LB Server :

DO THIS ON YOUR LOAD BALANCER (LB) SERVERS and NOT ON MAIN SERVER

*DO NOT ADD THE LB SEVER TO THE PANEL YET*

Run the below command as root in putty - All 1 Command:

Bash:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install libxslt1-dev libgeoip-dev python
sudo wget https://xtream-ui.com/install/install.py
sudo python install.py

## Now Type: LB

## Answer "Y" to any Questions ##

## Enter Your MAIN SERVER IP Address

## Enter Your saved SQL Password (Its the pass it gave you after installing the MAIN and you saved)

## Load Balancer Server ID - 2 (or 3 if its your 3rd server including the main and so on)

## Answer Y to any Questions ##

## Still on the LB Server - In putty install this:
sudo apt-get install libcurl3 -y

## Now Add the LB Server to the panel (Add Existing LB . No SSH Pass needed) ##

## Run this command on the LB Server in putty to start the LB Server ##
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
4- Auto Start Xtream UI servers after reboot
for activate auto start Xtream UI after Reboot do this steps :
on MAIN and LB servers run in putty ssh :
Bash:
sudo crontab -e
## in the page opened add this cronjob in the list : (if its first time you run crontab command , its ask you choose editor , choose "1" and Enter)
@reboot root /home/xtreamcodes/iptv_xtream_codes/start_services.sh

## For save nano editor run "CTRL + O" and "Enter" and then "CTRL + X" ##

5- Install phpMyAdmin on Main Server
Bash:
sudo apt update && sudo apt upgrade -y
sudo apt install phpmyadmin php-mbstring php-gettext
## For the server selection, choose apache2
## Select Yes when asked whether to use dbconfig-common to set up the database
## You will then be asked to choose and confirm a MySQL application password for phpMyAdmin

sudo phpenmod mbstring
sudo systemctl restart apache2
sudo mysql
mysql -u root -p
Password:
## Enter Main MySQL Password (MySQL application password for phpMyAdmin you choose in previous step(2) in phpMyAdmin installation)

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
SELECT user,authentication_string,plugin,host FROM mysql.user;

## PASSWORD is above password you entered for root
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'PASSWORD';

FLUSH PRIVILEGES;

exit;
http://your_domain_or_IP/phpmyadmin

##Log in to the interface, either as root or with the new username and password you just configured.


Username : root
Password: PASSWORD You entered


** Notice : Important to install libcurl3 , after you installed phpMyAdmin .

After Installed phpMyAdmin , you must run this codes :
Bash:
sudo apt-get install libcurl3 -y

## And then run
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

I hope its very good and full help you on installing the full Xtream UI MAIN _ ADMIN _ LB

if you need any help only reply me .

Thanks to all
www.FLYIPTV.com
 
Last edited:

vu+duo4k

Member
Member
Joined
Dec 16, 2019
Messages
35
Reaction score
8
Points
8
Location
Nowher
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'PASSWORD';

here is error
ERROR 1396 (HY000): Operation ALTER USER failed for 'root'@'%'
 

mhkazemi

VIP MEMBER
Member
Joined
Jan 12, 2020
Messages
28
Reaction score
28
Points
3
Location
FLYIPTV
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'PASSWORD';

here is error
ERROR 1396 (HY000): Operation ALTER USER failed for 'root'@'%'
Hi ,
Sorry for delay ,
Its not important , and with this error , also you can login with user root to your phpMyAdmin .
Thanks again
 

jazibee

New member
Member
Joined
Jan 30, 2020
Messages
5
Reaction score
11
Points
3
Location
uk
How to install XC UI MAIN - LB - ADMIN (All in One):
1- Install Main Server
run these code on Main Server :

Bash:
sudo apt-get update && apt-get upgrade -y
sudo apt-get install mysql-server
sudo apt-get install python
sudo apt install apache2
sudo apt-get install libxslt1-dev
sudo apt-get install libgeoip-dev
apt-get update && apt-get upgrade -y
sudo reboot
sudo apt install python -y
sudo apt-get update
sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y
sudo wget https://xtream-ui.com/install/install.py
sudo python install.py

## Now Type: MAIN

## Answer "Y" to any Questions ##

## And then last step
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
***NOW OPEN PORTS 7999 in MAIN SERVER***
Bash:
## ***Please Note in the Main Server you must open port 7999
## (If you see LB server , in servers list is offline or installing and not Online)
## Do it :
sudo iptables -F
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A OUTPUT -o lo -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7999 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -L
sudo apt-get install iptables-persistent
sudo netfilter-persistent save
sudo netfilter-persistent reload
service iptables save

2- Install ADMIN Panel :
Download ADMIN Panel files and copy in this path all contents in the downloaded folder (XtreamUI-master):
/home/xtreamcodes/iptv_xtream_codes

Download latest ADMIN Panel from this link or every where you have (now I post this , its latest Admin releaseR22_Beta):

Login details :
Username: admin
Password: admin


3- Install LB Server :

DO THIS ON YOUR LOAD BALANCER (LB) SERVERS and NOT ON MAIN SERVER

*DO NOT ADD THE LB SEVER TO THE PANEL YET*

Run the below command as root in putty - All 1 Command:

Bash:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install libxslt1-dev libgeoip-dev python
sudo wget https://xtream-ui.com/install/install.py
sudo python install.py

## Now Type: LB

## Answer "Y" to any Questions ##

## Enter Your MAIN SERVER IP Address

## Enter Your saved SQL Password (Its the pass it gave you after installing the MAIN and you saved)

## Load Balancer Server ID - 2 (or 3 if its your 3rd server including the main and so on)

## Answer Y to any Questions ##

## Still on the LB Server - In putty install this:
sudo apt-get install libcurl3 -y

## Now Add the LB Server to the panel (Add Existing LB . No SSH Pass needed) ##

## Run this command on the LB Server in putty to start the LB Server ##
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
4- Auto Start Xtream UI servers after reboot
for activate auto start Xtream UI after Reboot do this steps :
on MAIN and LB servers run in putty ssh :
Bash:
sudo crontab -e
## in the page opened add this cronjob in the list : (if its first time you run crontab command , its ask you choose editor , choose "1" and Enter)
@reboot root /home/xtreamcodes/iptv_xtream_codes/start_services.sh

## For save nano editor run "CTRL + O" and "Enter" and then "CTRL + X" ##

5- Install phpMyAdmin on Main Server
Bash:
sudo apt update && sudo apt upgrade -y
sudo apt install phpmyadmin php-mbstring php-gettext
## For the server selection, choose apache2
## Select Yes when asked whether to use dbconfig-common to set up the database
## You will then be asked to choose and confirm a MySQL application password for phpMyAdmin

sudo phpenmod mbstring
sudo systemctl restart apache2
sudo mysql
mysql -u root -p
Password:
## Enter Main MySQL Password (MySQL application password for phpMyAdmin you choose in previous step(2) in phpMyAdmin installation)

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
SELECT user,authentication_string,plugin,host FROM mysql.user;

## PASSWORD is above password you entered for root
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'PASSWORD';

FLUSH PRIVILEGES;

exit;
http://your_domain_or_IP/phpmyadmin

##Log in to the interface, either as root or with the new username and password you just configured.


Username : root
Password: PASSWORD You entered


** Notice : Important to install libcurl3 , after you installed phpMyAdmin .

After Installed phpMyAdmin , you must run this codes :
Bash:
sudo apt-get install libcurl3 -y

## And then run
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

I hope its very good and full help you on installing the full Xtream UI MAIN _ ADMIN _ LB

if you need any help only reply me .

Thanks to all
www.FLYIPTV.com
can you help me channel not playing in main server can you do via anydesk privately thanks
 

mhkazemi

VIP MEMBER
Member
Joined
Jan 12, 2020
Messages
28
Reaction score
28
Points
3
Location
FLYIPTV
Please Note
If you Want to use Xtream API in your website , You must set this parameters in php.ini file settings :


INI:
allow_url_fopen = On
allow_url_include = Off
Have a great time
www.FLYIPTV.com
 
Top