在Linux上进行宝塔安装

运维 微微CMS 2024-10-11 14:59:14 100

在Linux上进行宝塔安装

宝塔(BT)是一款流行的服务器管理面板,主要用于简化和管理 Linux 服务器上的网站和应用程序。它提供了用户友好的图形界面,使得即使是没有太多技术背景的用户也能够轻松管理服务器

1. 命令进行安装宝塔

[root@flexusx-45d1 ~]# url=https://download.bt.cn/install/install_lts.sh;if [ -f /usr/bin/curl ];then curl -sSO $url;else wget -O install_lts.sh $url;fi;bash install_lts.sh ed8484bec

+----------------------------------------------------------------------
| Bt-WebPanel FOR CentOS/Ubuntu/Debian
+----------------------------------------------------------------------
| Copyright © 2015-2099 BT-SOFT(http://www.bt.cn) All rights reserved.
+----------------------------------------------------------------------
| The WebPanel URL will be http://SERVER_IP:30587 when installed.
+----------------------------------------------------------------------
| 为了您的正常使用,请确保使用全新或纯净的系统安装宝塔面板,不支持已部署项目/环境的系统安装
+----------------------------------------------------------------------
| 当前您正在安装的是宝塔面板稳定版-9.0-lts
+----------------------------------------------------------------------

Do you want to install Bt-Panel to the /www directory now?(y/n): y
Last metadata expiration check: 0:00:13 ago on Fri 11 Oct 2024 02:43:42 PM CST.
Package wget-1.21.2-1.hce2.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package       Architecture    Version                   Repository        Size
================================================================================
Upgrading:
 wget          x86_64          1.21.2-1.r1.hce2          updates          682 k

Transaction Summary
================================================================================
Upgrade  1 Package

等待3-5分钟之后会看到如下提示

========================面板账户登录信息==========================

 【云服务器】请在安全组放行 30587 端口
 外网面板地址: https://255.36.227.239:30587/2c97fd3f
 内网面板地址: https://192.168.0.14:30587/2c97fd3f
 username: bcfw
 password: 4

2. 在服务器上放行30587端口

3. 打开外部访问地址宝塔的端口和地址

宝塔至此已经成功安装完成



点击获取验证码