天天看點

manjaro安裝寶塔踩坑

安裝方法如下:

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!