This Thread had not been rated yet
Hi there people!
This tutorial will show you how to update the NGINX and NGINX_RTMP from your XtreamUI system to the latest stable version so you can enjoy added speed and security.
Instructions:
1) Login SSH to your MAIN
2) Let's be root so we can do everything has it should
sudo su
3) Let's download the file
wget "INSERT URL INSIDE QUOTES FROM TOP" -O ~/tmp/nginx.zip && unzip ~/tmp/nginx.zip
4) Let's copy everything to where it should be and also make a backup of the old NGINX (don't forget that you need to be root)
cp /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx.old && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && cp ~/tmp/nginx /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && cp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp.old && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && cp ~/tmp/nginx_rtmp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
5) Check for nginx and nginx_rtmp latest version, should be 1.21 or more
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -v && /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp -v
6) It didn't showed the new version or it gave out some error and you want to revert back to the old NGINX?
rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && mv /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx.old /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && mv /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp.old /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
This tutorial will show you how to update the NGINX and NGINX_RTMP from your XtreamUI system to the latest stable version so you can enjoy added speed and security.
Instructions:
1) Login SSH to your MAIN
2) Let's be root so we can do everything has it should
sudo su
3) Let's download the file
wget "INSERT URL INSIDE QUOTES FROM TOP" -O ~/tmp/nginx.zip && unzip ~/tmp/nginx.zip
4) Let's copy everything to where it should be and also make a backup of the old NGINX (don't forget that you need to be root)
cp /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx.old && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && cp ~/tmp/nginx /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && cp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp.old && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && cp ~/tmp/nginx_rtmp /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
5) Check for nginx and nginx_rtmp latest version, should be 1.21 or more
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -v && /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp -v
6) It didn't showed the new version or it gave out some error and you want to revert back to the old NGINX?
rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && rm -rf /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp && mv /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx.old /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx && mv /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp.old /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
This Thread had not been rated yet