安装方法如下:
curl -sSO http://download.bt.cn/install/install_panel.sh &&sudo bash ./install_panel.sh
如果报错 bash: unzip:未找到命令 执行下面命令安装 unzip后再执行 bash install_panel.sh 继续安装
pacman -S unzip
踩坑记录
一号坑
- 家里的笔记本安装时报错 /etc/init.d/bt: No such file or directory
install_panel.sh: line 587: /etc/init.d/bt: No such file or directory
install_panel.sh: line 588: /www/server/panel/pyenv/bin/python: Permission denied
install_panel.sh: line 589: /www/server/panel/pyenv/bin/python: Permission denied
install_panel.sh: line 590: /www/server/panel/pyenv/bin/python: Permission denied
install_panel.sh: line 595: /etc/init.d/bt: No such file or directory
install_panel.sh: line 600: /etc/init.d/bt: No such file or directory
家里笔记本解决完上面这个问题就可以安装成功了,本来以为天衣无缝,结果到公司电脑直接爆炸。报错如下两个坑
二号坑
ERROR: Make python env fielded.
三号坑
configure: error: in `/www/Python-3.7.8':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
四号坑
- 无法开机启动
mysql踩坑
五号坑 安装MySQL报错 mysql.sh: line 529: cmake: command not found
mysql.sh: line 529: cmake: command not found
六号坑 安装MySQL报错 Cannot find pkg-config.
CMake Warning at cmake/rpc.cmake:33 (MESSAGE):
Cannot find pkg-config. You need to install the required package:
Debian/Ubuntu: apt install pkg-config
RedHat/Fedora/Oracle Linux: yum install pkg-config
SuSE: zypper install pkg-config
Call Stack (most recent call first):
rapid/plugin/group_replication/configure.cmake:60 (MYSQL_CHECK_RPC)
rapid/plugin/group_replication/CMakeLists.txt:25 (INCLUDE)
CMake Error at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args)
cmake/rpc.cmake:40 (FIND_PACKAGE)
rapid/plugin/group_replication/configure.cmake:60 (MYSQL_CHECK_RPC)
rapid/plugin/group_replication/CMakeLists.txt:25 (INCLUDE)
-- Configuring incomplete, errors occurred!
本文转载于如下地址,如需查看具体解决方案请点击下面地址
https://blog.liushuai.cq.cn/article/detail/12