当前位置:   article > 正文

宝塔服务的安装

宝塔服务的安装

1、安装命令


使用 SSH 连接工具,如堡塔SSH终端连接到您的 Linux 服务器后,挂载磁盘,根据系统执行相应命令开始安装(大约2分钟完成面板安装):

Centos安装脚本

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh


Ubuntu/Deepin安装脚本 

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh


Debian安装脚本 

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh


Fedora安装脚本 

wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh

 

2、安装过程

[root@localhost bt]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh

[root@localhost bt]# sh install.sh
install.sh: line 23: [: : integer expression expected

+----------------------------------------------------------------------
| 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:8888 when installed.
+----------------------------------------------------------------------

Do you want to install Bt-Panel to the /www directory now?(y/n): yes
Do you want to install Bt-Panel to the /www directory now?(y/n): y
---------------------------------------------
Selected download node...
Download node: http://dg1.bt.cn
--2022-04-13 17:00:56--  http://dg1.bt.cn/install/pyenv/pyenv-el7-x64.tar.gz
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 73258911 (70M) [application/octet-stream]
Saving to: ‘/www/pyenv.tar.gz’

100%[========================================================================================================>] 73,258,911  11.5MB/s   in 9.6s

2022-04-13 17:01:06 (7.25 MB/s) - ‘/www/pyenv.tar.gz’ saved [73258911/73258911]

Install python env...
Python 3.7.9
--2022-04-13 17:01:14--  http://dg1.bt.cn/install/src/bt6.init
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9873 (9.6K) [application/octet-stream]
Saving to: ‘/etc/init.d/bt’

100%[========================================================================================================>] 9,873       --.-K/s   in 0s

2022-04-13 17:01:14 (214 MB/s) - ‘/etc/init.d/bt’ saved [9873/9873]

--2022-04-13 17:01:14--  http://dg1.bt.cn/install/public.sh
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4267 (4.2K) [application/octet-stream]
Saving to: ‘/www/server/panel/install/public.sh’

100%[========================================================================================================>] 4,267       --.-K/s   in 0s

2022-04-13 17:01:14 (342 MB/s) - ‘/www/server/panel/install/public.sh’ saved [4267/4267]

--2022-04-13 17:01:14--  http://dg1.bt.cn/install/src/panel6.zip
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11960986 (11M) [application/zip]
Saving to: ‘panel.zip’

100%[========================================================================================================>] 11,960,986  9.08MB/s   in 1.3s

2022-04-13 17:01:16 (9.08 MB/s) - ‘panel.zip’ saved [11960986/11960986]

--2022-04-13 17:01:16--  http://dg1.bt.cn/install/src/bt7.init
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10438 (10K) [application/octet-stream]
Saving to: ‘/etc/init.d/bt’

100%[========================================================================================================>] 10,438      --.-K/s   in 0.001s

2022-04-13 17:01:16 (8.45 MB/s) - ‘/etc/init.d/bt’ saved [10438/10438]

--2022-04-13 17:01:16--  http://dg1.bt.cn/install/src/bt7.init
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10438 (10K) [application/octet-stream]
Saving to: ‘/www/server/panel/init.sh’

100%[========================================================================================================>] 10,438      --.-K/s   in 0s

2022-04-13 17:01:16 (27.4 MB/s) - ‘/www/server/panel/init.sh’ saved [10438/10438]

--2022-04-13 17:01:17--  http://dg1.bt.cn/install/conf/softList.conf
Resolving dg1.bt.cn (dg1.bt.cn)... 116.10.184.219, 240e:a5:4200:89::256
Connecting to dg1.bt.cn (dg1.bt.cn)|116.10.184.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3287 (3.2K) [application/octet-stream]
Saving to: ‘/www/server/panel/data/softList.conf’

100%[========================================================================================================>] 3,287       --.-K/s   in 0s

2022-04-13 17:01:17 (399 MB/s) - ‘/www/server/panel/data/softList.conf’ saved [3287/3287]

==================================================================
Congratulations! Installed successfully!
==================================================================
外网面板地址: http://113.110.210.240:8888/07eb06fb
内网面板地址: http://172.16.224.181:8888/07eb06fb
username: xno5ux
password: e90e87

If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
==================================================================
Time consumed: 2 Minute!
[root@localhost bt]#
 

宝塔面板

安装注册

 

宝塔安装软件

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/205258
推荐阅读
相关标签
  

闽ICP备14008679号