寶塔面板open in new window是一款非常好用的服務器管理工具,非常適合個人或小團隊用來運維服務器。
一行命令安裝寶塔面板
寶塔面板在主流服務器系統下都只需要一行命令就可以完成安裝,比如:
CentOS安裝
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
Ubuntu/Deepin安裝
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
Debian安裝
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
萬能安裝腳本
if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec
國產龍芯架構安裝腳本
注意:其他CPU請勿使用
wget -O install_panel.sh https://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh ed8484bec
獲取安裝結果
由于自動安裝需要一點時間,你可能就去干其它事情了。如果回來的時候已經安裝完了,記得觀察一下終端輸出。
最后,成功安裝之后,你會獲得類似下面的信息:
========================面板賬戶登錄信息==========================
外網面板地址: http://1.1.1.1:41247/123123123
內網面板地址: http://192.168.0.100:41247/123123123
username: xxxxxxxxx
password: yyyyyyyyyy
=========================打開面板前請看===========================
【云服務器】請在安全組放行 41247 端口
因默認啟用自簽證書https加密訪問,瀏覽器將提示不安全
點擊【高級】-【繼續訪問】或【接受風險并繼續】訪問
教程:https://www.bt.cn/bbs/thread-117246-1-1.html
==================================================================
根據上面的信息,你就可以去訪問你的寶塔面板了。
忘記寶塔面板的地址和賬號密碼
如果你操作太快,或者忘記了寶塔面板的相關信息,也可以通過下面的命令獲取面板的訪問地址和賬號密碼信息。
/etc/init.d/bt default
注:本文轉載自“程序猿DD”,如有侵權,請聯系刪除!