阿开 2021-05-01 00:59:46 10386 0 0 0 0

昨天在腾讯轻量云上安装宝塔国际版,怎么也安装不上...

用在网上搜到的命令进行安装:
wget -O install.sh http://www.aapanel.com/script/install-en.sh && bash install.sh

总是报如下四个错误:
Do you want to install aaPanel to the /www directory now?(y/n): y
Swap total sizse: 1049596
Last metadata expiration check: 2:44:51 ago on Fri 30 Apr 2021 06:11:16 AM CST.
No match for argument: ntp
-->Error: Unable to find a match: ntp
Synchronizing system time...
install.sh: line 185: ntpdate: command not found
setenforce: SELinux is disabled
Last metadata expiration check: 2:44:52 ago on Fri 30 Apr 2021 06:11:16 AM CST.
No match for argument: python-devel
-->Error: Unable to find a match: python-devel
Last metadata expiration check: 2:44:53 ago on Fri 30 Apr 2021 06:11:16 AM CST.
No match for argument: python-imaging
-->Error: Unable to find a match: python-imaging
...
Last metadata expiration check: 2:45:00 ago on Fri 30 Apr 2021 06:11:16 AM CST.
No match for argument: libxml2-dev
-->Error: Unable to find a match: libxml2-dev
...
最后安装失败
...
  inflating: setuptools-33.1.1/tests/manual_test.py  
  inflating: setuptools-33.1.1/tests/test_pypi.py  
install.sh: line 207: python: command not found
=================================================
setuptools installation failed. 

尝试逐个解决问题也不行!

后来发现,原来是这个版本,只能安装在Centos7.x版本上。。。

见:宝塔国际版aaPanel安装 https://tdlib.com/am.php?t=Y0byZC9yg70C


主要是没看文档,英文版文档,国内ip根本打不开,一打开就跳到国内版介绍页面,所以也没注意。。。

昨天在群里询问,一个销售代理告诉我,腾讯都是订制的linux,要用宝塔只能选专门的宝塔镜像,先其他的,比如只选centos8就装不了宝塔,更装不了国际版宝塔。

我一度被忽悠信了。。。居然很沮丧。

好在今天有朋友发现了问题,告诉我居然是版本的问题。

换了版本,果然安装成功了!感谢这位朋友啊!


【版權聲明】
本文爲原創,遵循CC 4.0 BY-SA版權協議!轉載時請附上原文鏈接及本聲明。
原文鏈接:https://tdlib.com/am.php?t=pbVeennRzk3y
Tag: 宝塔 腾讯云 Centos
歡迎評論
未登錄,
請先 [ 註冊 ] or [ 登錄 ]
(一分鍾即可完成註冊!)
返回首頁     ·   返回[网站技术]   ·   返回頂部