[Internal testing communication] 安装1Panel面板,无法正常启动 Resolved
Tofloor
poster avatar
菰城鸥鹭
deepin
2025-04-26 20:31
Author

安装命令参考 https://1panel.cn/docs/installation/online_installation/

curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh

以下是部分报错信息,默认已关闭磐石系统的“只读保护”

image.png

image.png

image.png

image.png

image.png

Reply Favorite View the author
All Replies
deepin
2025-07-02 16:31
#1

我的也是,安装启动不了。在ubuntu上安装正常。

刚找了下原因,好像1panel和1pctl链接文件默认放在/usr/bin/文件夹,deepin的默认是在/usr/local/bin/文件夹。

Reply View the author
deepin
2025-07-02 17:06
#2
# 修改 systemd 服务文件
sudo sed -i 's|/usr/bin/1panel|/usr/local/bin/1panel|g' /etc/systemd/system/1panel.service

# 重新加载 systemd
sudo systemctl daemon-reload
sudo systemctl start 1panel
Reply View the author
遇深.
deepin
2025-07-09 10:24
#3

补充楼上的,v2版本改的不一样

# 修改服务配置
sudo sed -i 's|/usr/bin/|/var/usrlocal/bin/|g' /etc/systemd/system/1panel-*.service

# 重载
sudo systemctl daemon-reload
# 重启服务
sudo systemctl restart 1panel-agent
sudo systemctl restart 1panel-core
Reply View the author
菰城鸥鹭
deepin
2025-07-14 17:58
#4

好的,非常感谢,问题已经得到了解决😄

Reply View the author
deepin
2025-07-16 10:19
#5
遇深.

补充楼上的,v2版本改的不一样

# 修改服务配置
sudo sed -i 's|/usr/bin/|/var/usrlocal/bin/|g' /etc/systemd/system/1panel-*.service

# 重载
sudo systemctl daemon-reload
# 重启服务
sudo systemctl restart 1panel-agent
sudo systemctl restart 1panel-core

v2要改2个地方,一个是1panel-core.service和1panel-agent.service

Reply View the author