安装宝塔面板的步骤如下:

1 首先,更新系统软件包:

命令:

sudo dnf update

2 安装宝塔官方提供的一键安装脚本:

命令:

curl -O https://download.bt.cn/install/install\_6.0.sh && sudo bash install\_6.0.sh
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install\_6.0.sh && sh 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

(DD过的系统需要安装安装gcc依赖库)

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