我无法安装 xrtream ui

我无法安装 xrtream ui

问题出在哪里?我有 ubuntu 18.04。我只需输入MAIN并按回车键 10,但它会给我语法错误。但怎么办呢???以下是我想要安装的

wget https://xtream-ui.com/install/install.py ; sudo python install.py

`然后它要求我选择

Installation Type [MAIN, LB]: 

我必须输入MAIN yep 吗?我这样做了,但它返回了错误:

 │         Invalid installation type        │

请看图片

答案1

我已按照以下方式开始安装 19.10:

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

编辑install.py并更改libcurl3libcurl4

sudo python2.7 install.py

但是在安装过程中我得到了下一个错误,如果你尝试的话你将无法得到:

 ┌──────────────────────────────────────────┐ 
 │             Installing libpng            │ 
 └──────────────────────────────────────────┘ 

dpkg: error processing archive /tmp/libpng12.deb (--install):
 unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
Errors were encountered while processing:
 /tmp/libpng12.deb

但它是关于下一个问题的。

更改libcurl3libcurl4并不是正确的方法,但只能进行实验,看看在这种操作的情况下安装是否能够继续进行。

完整安装日志:

Installation Type [MAIN, LB]: MAIN

 ┌──────────────────────────────────────────┐ 
 │          Start installation? Y/N         │ 
 └──────────────────────────────────────────┘ 

  Y

 ┌──────────────────────────────────────────┐ 
 │          Preparing Installation          │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │      Removing libcurl4 if installed      │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │            Installing libcurl4           │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │          Installing libgeoip-dev         │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │          Installing libxslt1-dev         │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │           Installing e2fsprogs           │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │              Installing wget             │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │             Installing mcrypt            │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │              Installing nscd             │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │              Installing htop             │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │          Installing mysql-server         │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │             Installing libpng            │ 
 └──────────────────────────────────────────┘ 

dpkg: error processing archive /tmp/libpng12.deb (--install):
 unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
Errors were encountered while processing:
 /tmp/libpng12.deb
 ┌──────────────────────────────────────────┐ 
 │         Creating user xtreamcodes        │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │           Downloading Software           │ 
 └──────────────────────────────────────────┘ 


 ┌──────────────────────────────────────────┐ 
 │            Installing Software           │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │             Configuring MySQL            │ 
 └──────────────────────────────────────────┘ 

Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
 ┌──────────────────────────────────────────┐ 
 │        Enter MySQL Root Password:        │ 
 └──────────────────────────────────────────┘ 

  Password

 ┌──────────────────────────────────────────┐ 
 │   Drop existing & create database? Y/N   │ 
 └──────────────────────────────────────────┘ 

  y 
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
 ┌──────────────────────────────────────────┐ 
 │               Encrypting...              │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │            Configuring System            │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │              Modifying Nginx             │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │           Starting Xtream Codes          │ 
 └──────────────────────────────────────────┘ 

/home/xtreamcodes/iptv_xtream_codes/php/bin/php: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
start-stop-daemon: matching on world-writable pidfile /home/xtreamcodes/iptv_xtream_codes/php/VaiIb8.pid is insecure
start-stop-daemon: matching on world-writable pidfile /home/xtreamcodes/iptv_xtream_codes/php/JdlJXm.pid is insecure
start-stop-daemon: matching on world-writable pidfile /home/xtreamcodes/iptv_xtream_codes/php/CWcfSP.pid is insecure
 ┌──────────────────────────────────────────┐ 
 │                                          │ 
 │                                          │ 
 │          Installation completed!         │ 
 │                                          │ 
 │                                          │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │    Admin UI: http://192.168.1.3:25500    │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │     Please store your MySQL password!    │ 
 └──────────────────────────────────────────┘ 

 ┌──────────────────────────────────────────┐ 
 │             KOfH2GObqjEEkyNh             │ 
 └──────────────────────────────────────────┘ 

但它不适用于管理用户界面:http://192.168.1.3:25500

404 Not Found
nginx/1.14.0

如果你无法安装libcurl3,你可以尝试解决方案并尝试安装libcurl3

相关内容