[超简单!]给我家云刷Armbian并安装宝塔5.9完美实现宝塔可控LNMP
由于长时间跑甜糖,我的垃圾U盘已经占用了40多G,系统也崩溃了。ssh也连不上,存储满了我拔下来U盘,但是仍然无法开机,U盘插在电脑上都无法正常读取里面的内容,Windows10资源管理器开始卡死,最终放弃了读取盘内数据。
2021年8月31日补充:我确定搞崩系统的原因主要是我之前乱改太多系统文件了,另外但是配置甜糖是参照恩山的官方教程,但是也用了很多自动部署工具,把整个系统搞得乌七八糟。手动刷机部署甜糖后到现在我家云都很稳定,证明自动脚本还是没自己手动配置契合设备环境。
重新刷机
仍然是Armbian_5.99_Chainedbox_Debian_buster_dev_5.3.0.img ,安装瑞芯微驱动、运行刷机工具导入镜像和免拆机用的引导文件,刷机完成。
不会有人不知道该怎么刷吧?
- 打开刷机工具,第一行选定boot引导文件路径,第二行选定刷机镜像路径
- USB公对公数据线连接我家云的USB2.0接口到你的电脑上
- 用取卡针等尖锐物品按住我家云的小孔(REST键)不松手 并插上DC电源插头
- 此时提示有一个设备连接,就可以开始刷了。
如果还不会就去恩山看看吧,年轻人应该学会自己主动解决问题,这都学不会建议在本博客关于界面联系我50包邮解君愁。
刷机驱动工具镜像文件打包https://cloud.189.cn/t/JnEbE3aMrAji (访问码:ts9m)安装宝塔
经改尝试,当前最新版的宝塔7.60安装失败。(早有预料)
接下来安装宝塔的旧版:apt-get update&&apt-get upgrade
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
为了避免官方删除旧版安装文件,给你们存了一份(ARM32设备请自行删除/注释掉sh文件里的系统位数判断代码)wget -O install.sh https://xfox.fun/install-ubuntu.sh && bash install.sh
安装完成后发现这个版本的更新服务器已经无法连接到官方了,接口应该早就失效了。2022年1月3日更新:宝塔7.8.0安装成功!
安装脚本:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
参见:https://github.com/aaPanel/BaoTa
截图为证:可以运行,其他功能理论正常。安装MySQL5.6和PHP7.2以及Nginx
有个很棒的事情,我家云刷armbian后居然可以直接编译安装MySQL5.6和php7.2,并且可以正常通过宝塔web面板控制,而Nginx可以在直接选择快速rpm安装Tengine2.2 !
2022-03-10 17:13:43 (118 MB/s) - ‘/www/server/panel/data/softList.conf’ saved [3287/3287]
Starting Bt-Panel............failedTraceback (most recent call last):
from gevent import monkeyModuleNotFoundError: No module named 'gevent'File "/www/server/panel/BT-Panel", line 10, in
Error: BT-Panel service startup failed.
doneStarting Bt-Tasks... done
set_panel_username()Traceback (most recent call last):
File "tools.py", line 669, in
File "tools.py", line 359, in set_panel_username
import dbFile "/www/server/panel/class/db.py", line 10, in
import sqlite3File "/www/server/panel/pyenv/lib/python3.7/sqlite3/__init__.py", line 23, in
from sqlite3.dbapi2 import *File "/www/server/panel/pyenv/lib/python3.7/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *ModuleNotFoundError: No module named '_sqlite3'
set_panel_pwd(sys.argv[2])Traceback (most recent call last):
File "tools.py", line 667, in
File "tools.py", line 67, in set_panel_pwd
import dbFile "/www/server/panel/class/db.py", line 10, in
import sqlite3File "/www/server/panel/pyenv/lib/python3.7/sqlite3/__init__.py", line 23, in
from sqlite3.dbapi2 import *File "/www/server/panel/pyenv/lib/python3.7/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *ModuleNotFoundError: No module named '_sqlite3'
Starting Bt-Panel............failedStopping Bt-Tasks... done
Stopping Bt-Panel... done
Traceback (most recent call last):
from gevent import monkeyFile "/www/server/panel/BT-Panel", line 10, in
ModuleNotFoundError: No module named 'gevent'
from gevent import monkeyModuleNotFoundError: No module named 'gevent'Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in
Error: BT-Panel service startup failed.
doneStarting Bt-Tasks... failedTraceback (most recent call last):
import taskFile "/www/server/panel/BT-Task", line 13, in
File "/www/server/panel/task.py", line 19, in
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memoryModuleNotFoundError: No module named 'psutil'
import taskTraceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in
File "/www/server/panel/task.py", line 19, in
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memoryModuleNotFoundError: No module named 'psutil'Error: BT-Task service startup failed.正在执行(22)...Traceback (most recent call last):
from gevent import monkeyFile "/www/server/panel/BT-Panel", line 10, in
ModuleNotFoundError: No module named 'gevent'
from gevent import monkeyTraceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in
ModuleNotFoundError: No module named 'gevent'
lsattr: Operation not supported While reading flags on pythonlrwxrwxrwx 1 root root 37 Mar 10 17:07 python -> /www/server/panel/pyenv/bin/python3.7
-rwx------ 2 root root 16482136 Mar 10 17:05 python3.7
--------------e---- python3.7
ERROR: The BT-Panel service startup failed.
ERROR: 宝塔启动失败
Debian Buster with Armbian Linux \l
Bit:64 Mem:982M Core:4
Linux Chainedbox 5.3.0-rockchip64 #5.99 SMP PREEMPT Sun Nov 10 00:39:54 CST 2019 aarch64 GNU/Linux
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
root@Chainedbox:~# The BT-Panel service startup failed.
Command 'The' not found, did you mean:
command 'he' from deb node-he
Try: apt install
root@Chainedbox:~# ERROR: 宝塔启动失败
ERROR:: command not found
root@Chainedbox:~# The BT-Panel service startup failed.
Command 'The' not found, did you mean:
command 'he' from deb node-he
Try: apt install
root@Chainedbox:~# ERROR: 宝塔启动失败
ERROR:: command not found
root@Chainedbox:~#
用你分享的那个也不行
我不知道你这属于是哪种问题了,最新版宝塔也装不上吗?你有没有完全清理掉原先的web环境呢?
是我家云
Armbian_5.99_Chainedbox_Debian_buster_dev_5.3.0
宝塔是
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
就是安装不上
为啥我装了一晚上宝塔也是安装失败
是我家云吗?armbian哪个版本?宝塔什么版本?
Armbian应该开的是64Bit模式诶...为什么最新版装不上呢?
啥64位模式,反正宝塔还不兼容。