Termux通过ubuntu安装宝塔面板

Termux下Atilo安装ubuntu

参考:https://www.jianshu.com/p/a9b30ea2ae66

arm64快速安装宝塔

参考:https://gitee.com/pdusb/pdusb-fast-btpanel ubuntu下:

git clone https://gitee.com/pdusb/pdusb-fast-btpanel.git
cd pdusb-fast-btpanel
./pdbolt-inst-bt-acel.sh
bash /tmp/btp/pdbolt-bt-install/install.sh

/etc/init.d/bt restart
# 进入宝塔工具面板,可查看修改端口和密码
bt

错误处理记录

  • ERROR: cannot verify download.bt.cn's certificate, issued by ‘CN=sslTrus (RSA) OV CA,O=sslTrus,C=CN’: Unable to locally verify the issuer's authority. To connect to download.bt.cn insecurely, use `--no-check-certificate' ERROR: Download python env fielded. 关闭证书验证:echo "check_certificate = off" >> ~/.wgetrc

  • 报错chmod: cannot access '/tmp/btp/pyenv/bin/python3.7': Operation not permitted...

    ...
    root@localhost:~/pdusb-fast-btpanel# chmod 777 /tmp/btp/pyenv/bin/ -R
    chmod: cannot access '/tmp/btp/pyenv/bin/python3.7': Operation not permitted
    chmod: cannot access '/tmp/btp/pyenv/bin/.l2s.python3.70001': Operation not permitted
    chmod: cannot access '/tmp/btp/pyenv/bin/python3.7m': Operation not permitted
    ...

    解压pyenv-ubuntu2004-3.7.8-aarch64.tar.xz出错导致,重新解压后替换出错文件

  • 宝塔启动失败

    ...
    Traceback (most recent call last):
    File "/www/server/panel/BT-Panel", line 27, in <module>
      from BTPanel import app,sys,public
    File "/www/server/panel/BTPanel/__init__.py", line 11, in <module>
      import json
    ModuleNotFoundError: No module named 'json'
    ...

    权限修复:chmod 777 -R /www

本文同步于个人Github博客:https://github.com/cloudswave/blog/issues/20,欢迎留言。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值