Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
宝塔面板安装易用性补充
Apps Section
3841
views ·
25
replies ·
To
floor
Go
bt_hy
deepin
2017-09-09 18:58
Author
本帖最后由 bt_hy 于 2017-9-15 09:59 编辑
Hello,大家好,我是宝塔官方技术河妖
感谢Deepin将宝塔面板添加进应用商城,我们测试了安装,在使用过程中发现因之前我们的安装脚本并未针对桌面环境开发,对用户体验不太友好,现特针对Deepin系统进行体验优化。建议deepin将以下脚本添加进宝塔安装脚本的头部,以增强用户体验。
#判断宝塔是否已安装
if [ -f "/etc/init.d/bt" ] && [ -d "/www/server/panel" ]; then
#启动宝塔服务
/etc/init.d/bt start
#获取宝塔默认密码
password=`cat /www/server/panel/default.pl`
#获取宝塔面板当前端口
port=`cat /www/server/panel/data/port.pl`
echo -e "=================================================================="
echo -e "Bt-Panel: http://localhost:$port"
echo -e "默认账户: admin"
echo -e "默认密码: $password"
echo -e "=================================================================="
echo -e "正在尝试打开浏览器..."
#判断是否安装chrome
if [ -f "/opt/google/chrome/chrome" ]; then
/opt/google/chrome/chrome --no-sandbox http://localhost:$port
exit;
fi
#判断是否安装firefox
if [ -f "/usr/lib/firefox/firefox" ]; then
/usr/lib/firefox/firefox http://localhost:$port
exit;
fi
echo -e "找不到chrome/firefox浏览器,请自行打开浏览器访问宝塔面板: http://localhost:$port"
exit;
fi
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
<
1
2
2
2
/
2
To page
Go
hswddan
deepin
2017-10-21 03:41
#21
安装失败!!!
Reply
Like 0
View the author
hswddan
deepin
2017-10-21 04:04
#22
安装失败,如图:
Reply
Like 0
View the author
hswddan
deepin
2017-10-21 04:05
#23
安装失败,如图:
Reply
Like 0
View the author
a512154224
deepin
2017-10-21 17:50
#24
早就装好了,一直用宝塔,很好
Reply
Like 0
View the author
w1941474711
deepin
2017-11-02 03:16
#25
我安装这个宝塔后,编译安装lnmp直接把我软件全部卸载了,然后把自己也卸载了
Reply
Like 0
View the author
<
1
2
2
2
/
2
To page
Go
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
Hello,大家好,我是宝塔官方技术河妖
感谢Deepin将宝塔面板添加进应用商城,我们测试了安装,在使用过程中发现因之前我们的安装脚本并未针对桌面环境开发,对用户体验不太友好,现特针对Deepin系统进行体验优化。建议deepin将以下脚本添加进宝塔安装脚本的头部,以增强用户体验。