自动化项目部署系列:③部署宝塔面板

自动化项目部署系列:③部署宝塔面板

朱治龙
2022-01-21 / 0 评论 / 75 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2022年01月23日,已超过1081天没有更新,若内容或图片失效,请留言反馈。

宝塔面板是一款服务器管理软件,支持windows和linux系统,可以通过Web端轻松管理服务器,提升运维效率。例如:创建管理网站、FTP、数据库,拥有可视化文件管理器,可视化软件管理器,可视化CPU、内存、流量监控图表,计划任务等功能。

宝塔官网: https://www.bt.cn/

选择使用宝塔,主要是为了更方便的在线管理服务器资源。官方有提供 Docker 版本:https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=79499。但为了更好的应用于服务器管理,我将 Docker 直接安装于宿主机上。

安装步骤

创建宝塔根目录 /wldata/btroot 并为宝塔应用目录 /www 创建软连接

[root@VM-16-6-centos wldata]# mkdir /wldata/btroot
[root@VM-16-6-centos wldata]# ln -s /wldata/btroot /www
[root@VM-16-6-centos wldata]#

开始安装

根据官网:https://www.bt.cn/bbs/thread-19376-1-1.html 使用如下命令进行安装

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

安装过程记录如下:

[root@VM-16-6-centos wldata]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
docker-ce-stable                                                                                                           | 3.5 kB  00:00:00
epel                                                                                                                       | 4.7 kB  00:00:00
extras                                                                                                                     | 2.9 kB  00:00:00
os                                                                                                                         | 3.6 kB  00:00:00
updates                                                                                                                    | 2.9 kB  00:00:00
Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
Nothing to do
--2022-01-21 16:16:44--  http://download.bt.cn/install/install_6.0.sh
Resolving download.bt.cn (download.bt.cn)... 116.10.184.143, 240e:a5:4200:89::143
Connecting to download.bt.cn (download.bt.cn)|116.10.184.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26258 (26K) [application/octet-stream]
Saving to: ‘install.sh’

100%[========================================================================================================>] 26,258      --.-K/s   in 0.03s

2022-01-21 16:16:44 (765 KB/s) - ‘install.sh’ saved [26258/26258]

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): y
---------------------------------------------
Selected download node...
Download node: http://dg2.bt.cn
---------------------------------------------
Synchronizing system time...
Fri Jan 21 16:16:52 CST 2022
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
docker-ce-stable                                                                                                           | 3.5 kB  00:00:00
epel                                                                                                                       | 4.7 kB  00:00:00
extras                                                                                                                     | 2.9 kB  00:00:00
os                                                                                                                         | 3.6 kB  00:00:00
updates                                                                                                                    | 2.9 kB  00:00:00
Package ntp-4.2.6p5-29.el7.centos.2.x86_64 already installed and latest version
Nothing to do
21 Jan 16:16:52 ntpdate[28087]: the NTP socket is in use, exiting
setenforce: SELinux is disabled
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
Package 2:tar-1.26-35.el7.x86_64 already installed and latest version
Package gcc-4.8.5-44.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package zip-3.0-11.el7.x86_64 already installed and latest version
Package gcc-4.8.5-44.el7.x86_64 already installed and latest version
Package libxml2-2.9.1-6.el7_9.6.x86_64 already installed and latest version
Package zlib-1.2.7-19.el7_9.x86_64 already installed and latest version
Package zlib-devel-1.2.7-19.el7_9.x86_64 already installed and latest version
Package libwebp-0.3.0-10.el7_9.x86_64 already installed and latest version
Package freetype-2.8-14.el7_9.1.x86_64 already installed and latest version
Package lsof-4.87-6.el7.x86_64 already installed and latest version
Package pcre-8.32-17.el7.x86_64 already installed and latest version
Package pcre-devel-8.32-17.el7.x86_64 already installed and latest version
No package vixie-cron available.
Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version
Package xz-devel-5.2.2-1.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bzip2-devel.x86_64 0:1.0.6-13.el7 will be installed
---> Package c-ares.x86_64 0:1.10.0-3.el7 will be installed
---> Package freetype-devel.x86_64 0:2.8-14.el7_9.1 will be installed
---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed
---> Package icu.x86_64 0:50.2-4.el7_7 will be installed
---> Package libcurl-devel.x86_64 0:7.29.0-59.el7_9.1 will be installed
epel/7/x86_64/filelists_db                                                                                                 |  12 MB  00:00:01
os/7/x86_64/filelists_db                                                                                                   | 7.2 MB  00:00:00
updates/7/x86_64/filelists_db                                                                                              | 7.2 MB  00:00:00
---> Package libdb4-devel.x86_64 0:4.8.30-13.el7 will be installed
--> Processing Dependency: libdb4(x86-64) = 4.8.30-13.el7 for package: libdb4-devel-4.8.30-13.el7.x86_64
---> Package libffi-devel.x86_64 0:3.0.13-19.el7 will be installed
---> Package libicu-devel.x86_64 0:50.2-4.el7_7 will be installed
---> Package libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7 will be installed
---> Package libpcap-devel.x86_64 14:1.5.3-12.el7 will be installed
---> Package libpng-devel.x86_64 2:1.5.13-8.el7 will be installed
---> Package libwebp-devel.x86_64 0:0.3.0-10.el7_9 will be installed
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 will be installed
---> Package libxslt.x86_64 0:1.1.28-6.el7 will be installed
---> Package libxslt-devel.x86_64 0:1.1.28-6.el7 will be installed
--> Processing Dependency: libgcrypt-devel for package: libxslt-devel-1.1.28-6.el7.x86_64
---> Package libxslt-python.x86_64 0:1.1.28-6.el7 will be installed
---> Package ncurses-devel.x86_64 0:5.9-14.20130511.el7_4 will be installed
---> Package openssl.x86_64 1:1.0.2k-22.el7_9 will be updated
---> Package openssl.x86_64 1:1.0.2k-24.el7_9 will be an update
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-24.el7_9 for package: 1:openssl-1.0.2k-24.el7_9.x86_64
---> Package openssl-devel.x86_64 1:1.0.2k-22.el7_9 will be updated
---> Package openssl-devel.x86_64 1:1.0.2k-24.el7_9 will be an update
---> Package readline-devel.x86_64 0:6.2-11.el7 will be installed
---> Package sqlite-devel.x86_64 0:3.7.17-8.el7_7.1 will be installed
---> Package tk-devel.x86_64 1:8.5.13-6.el7 will be installed
--> Processing Dependency: tcl-devel = 1:8.5.13 for package: 1:tk-devel-8.5.13-6.el7.x86_64
--> Processing Dependency: libXft-devel for package: 1:tk-devel-8.5.13-6.el7.x86_64
--> Processing Dependency: libX11-devel for package: 1:tk-devel-8.5.13-6.el7.x86_64
---> Package unzip.x86_64 0:6.0-22.el7_9 will be updated
---> Package unzip.x86_64 0:6.0-24.el7_9 will be an update
--> Running transaction check
---> Package libX11-devel.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.11.1 for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.6.7-4.el7_9.x86_64
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.6.7-4.el7_9.x86_64
---> Package libXft-devel.x86_64 0:2.3.2-2.el7 will be installed
--> Processing Dependency: pkgconfig(xrender) for package: libXft-devel-2.3.2-2.el7.x86_64
--> Processing Dependency: pkgconfig(fontconfig) for package: libXft-devel-2.3.2-2.el7.x86_64
---> Package libdb4.x86_64 0:4.8.30-13.el7 will be installed
---> Package libgcrypt-devel.x86_64 0:1.5.3-14.el7 will be installed
--> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel-1.5.3-14.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-22.el7_9 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-24.el7_9 will be an update
---> Package tcl-devel.x86_64 1:8.5.13-8.el7 will be installed
--> Running transaction check
---> Package fontconfig-devel.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: pkgconfig(uuid) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
--> Processing Dependency: pkgconfig(expat) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
---> Package libXrender-devel.x86_64 0:0.9.10-1.el7 will be installed
---> Package libgpg-error-devel.x86_64 0:1.12-3.el7 will be installed
---> Package libxcb-devel.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.13-1.el7.x86_64
---> Package xorg-x11-proto-devel.noarch 0:2018.4-1.el7 will be installed
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-12.el7 will be installed
---> Package libXau-devel.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libuuid-devel.x86_64 0:2.23.2-65.el7_9.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                                  Arch                       Version                                    Repository                   Size
==================================================================================================================================================
Installing:
 bzip2-devel                              x86_64                     1.0.6-13.el7                               os                          218 k
 c-ares                                   x86_64                     1.10.0-3.el7                               os                           78 k
 freetype-devel                           x86_64                     2.8-14.el7_9.1                             updates                     447 k
 gdbm-devel                               x86_64                     1.10-8.el7                                 os                           47 k
 icu                                      x86_64                     50.2-4.el7_7                               os                          187 k
 libcurl-devel                            x86_64                     7.29.0-59.el7_9.1                          updates                     303 k
 libdb4-devel                             x86_64                     4.8.30-13.el7                              epel                         32 k
 libffi-devel                             x86_64                     3.0.13-19.el7                              os                           23 k
 libicu-devel                             x86_64                     50.2-4.el7_7                               os                          703 k
 libjpeg-turbo-devel                      x86_64                     1.2.90-8.el7                               os                           99 k
 libpcap-devel                            x86_64                     14:1.5.3-12.el7                            os                          118 k
 libpng-devel                             x86_64                     2:1.5.13-8.el7                             os                          122 k
 libwebp-devel                            x86_64                     0.3.0-10.el7_9                             updates                      23 k
 libxml2-devel                            x86_64                     2.9.1-6.el7_9.6                            updates                     1.1 M
 libxslt                                  x86_64                     1.1.28-6.el7                               os                          242 k
 libxslt-devel                            x86_64                     1.1.28-6.el7                               os                          309 k
 libxslt-python                           x86_64                     1.1.28-6.el7                               os                           59 k
 ncurses-devel                            x86_64                     5.9-14.20130511.el7_4                      os                          712 k
 readline-devel                           x86_64                     6.2-11.el7                                 os                          139 k
 sqlite-devel                             x86_64                     3.7.17-8.el7_7.1                           os                          104 k
 tk-devel                                 x86_64                     1:8.5.13-6.el7                             os                          488 k
Updating:
 openssl                                  x86_64                     1:1.0.2k-24.el7_9                          updates                     494 k
 openssl-devel                            x86_64                     1:1.0.2k-24.el7_9                          updates                     1.5 M
 unzip                                    x86_64                     6.0-24.el7_9                               updates                     172 k
Installing for dependencies:
 expat-devel                              x86_64                     2.1.0-12.el7                               os                           57 k
 fontconfig-devel                         x86_64                     2.13.0-4.3.el7                             os                          138 k
 libX11-devel                             x86_64                     1.6.7-4.el7_9                              updates                     981 k
 libXau-devel                             x86_64                     1.0.8-2.1.el7                              os                           14 k
 libXft-devel                             x86_64                     2.3.2-2.el7                                os                           19 k
 libXrender-devel                         x86_64                     0.9.10-1.el7                               os                           17 k
 libdb4                                   x86_64                     4.8.30-13.el7                              epel                        607 k
 libgcrypt-devel                          x86_64                     1.5.3-14.el7                               os                          129 k
 libgpg-error-devel                       x86_64                     1.12-3.el7                                 os                           16 k
 libuuid-devel                            x86_64                     2.23.2-65.el7_9.1                          updates                      93 k
 libxcb-devel                             x86_64                     1.13-1.el7                                 os                          1.1 M
 tcl-devel                                x86_64                     1:8.5.13-8.el7                             os                          165 k
 xorg-x11-proto-devel                     noarch                     2018.4-1.el7                               os                          280 k
Updating for dependencies:
 openssl-libs                             x86_64                     1:1.0.2k-24.el7_9                          updates                     1.2 M

Transaction Summary
==================================================================================================================================================
Install  21 Packages (+13 Dependent packages)
Upgrade   3 Packages (+ 1 Dependent package)

Total download size: 12 M
Downloading packages:
No Presto metadata available for updates
(1/38): c-ares-1.10.0-3.el7.x86_64.rpm                                                                                     |  78 kB  00:00:00
(2/38): bzip2-devel-1.0.6-13.el7.x86_64.rpm                                                                                | 218 kB  00:00:00
(3/38): expat-devel-2.1.0-12.el7.x86_64.rpm                                                                                |  57 kB  00:00:00
(4/38): gdbm-devel-1.10-8.el7.x86_64.rpm                                                                                   |  47 kB  00:00:00
(5/38): fontconfig-devel-2.13.0-4.3.el7.x86_64.rpm                                                                         | 138 kB  00:00:00
(6/38): libXau-devel-1.0.8-2.1.el7.x86_64.rpm                                                                              |  14 kB  00:00:00
(7/38): libXft-devel-2.3.2-2.el7.x86_64.rpm                                                                                |  19 kB  00:00:00
(8/38): icu-50.2-4.el7_7.x86_64.rpm                                                                                        | 187 kB  00:00:00
(9/38): freetype-devel-2.8-14.el7_9.1.x86_64.rpm                                                                           | 447 kB  00:00:00
(10/38): libXrender-devel-0.9.10-1.el7.x86_64.rpm                                                                          |  17 kB  00:00:00
(11/38): libffi-devel-3.0.13-19.el7.x86_64.rpm                                                                             |  23 kB  00:00:00
(12/38): libX11-devel-1.6.7-4.el7_9.x86_64.rpm                                                                             | 981 kB  00:00:00
(13/38): libdb4-devel-4.8.30-13.el7.x86_64.rpm                                                                             |  32 kB  00:00:00
(14/38): libgpg-error-devel-1.12-3.el7.x86_64.rpm                                                                          |  16 kB  00:00:00
(15/38): libgcrypt-devel-1.5.3-14.el7.x86_64.rpm                                                                           | 129 kB  00:00:00
(16/38): libcurl-devel-7.29.0-59.el7_9.1.x86_64.rpm                                                                        | 303 kB  00:00:00
(17/38): libdb4-4.8.30-13.el7.x86_64.rpm                                                                                   | 607 kB  00:00:00
(18/38): libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm                                                                       |  99 kB  00:00:00
(19/38): libicu-devel-50.2-4.el7_7.x86_64.rpm                                                                              | 703 kB  00:00:00
(20/38): libpcap-devel-1.5.3-12.el7.x86_64.rpm                                                                             | 118 kB  00:00:00
(21/38): libwebp-devel-0.3.0-10.el7_9.x86_64.rpm                                                                           |  23 kB  00:00:00
(22/38): libpng-devel-1.5.13-8.el7.x86_64.rpm                                                                              | 122 kB  00:00:00
(23/38): libuuid-devel-2.23.2-65.el7_9.1.x86_64.rpm                                                                        |  93 kB  00:00:00
(24/38): libxslt-1.1.28-6.el7.x86_64.rpm                                                                                   | 242 kB  00:00:00
(25/38): libxcb-devel-1.13-1.el7.x86_64.rpm                                                                                | 1.1 MB  00:00:00
(26/38): libxml2-devel-2.9.1-6.el7_9.6.x86_64.rpm                                                                          | 1.1 MB  00:00:00
(27/38): libxslt-python-1.1.28-6.el7.x86_64.rpm                                                                            |  59 kB  00:00:00
(28/38): libxslt-devel-1.1.28-6.el7.x86_64.rpm                                                                             | 309 kB  00:00:00
(29/38): openssl-1.0.2k-24.el7_9.x86_64.rpm                                                                                | 494 kB  00:00:00
(30/38): ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm                                                                    | 712 kB  00:00:00
(31/38): openssl-devel-1.0.2k-24.el7_9.x86_64.rpm                                                                          | 1.5 MB  00:00:00
(32/38): sqlite-devel-3.7.17-8.el7_7.1.x86_64.rpm                                                                          | 104 kB  00:00:00
(33/38): readline-devel-6.2-11.el7.x86_64.rpm                                                                              | 139 kB  00:00:00
(34/38): tcl-devel-8.5.13-8.el7.x86_64.rpm                                                                                 | 165 kB  00:00:00
(35/38): openssl-libs-1.0.2k-24.el7_9.x86_64.rpm                                                                           | 1.2 MB  00:00:00
(36/38): unzip-6.0-24.el7_9.x86_64.rpm                                                                                     | 172 kB  00:00:00
(37/38): xorg-x11-proto-devel-2018.4-1.el7.noarch.rpm                                                                      | 280 kB  00:00:00
(38/38): tk-devel-8.5.13-6.el7.x86_64.rpm                                                                                  | 488 kB  00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             4.3 MB/s |  12 MB  00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : xorg-x11-proto-devel-2018.4-1.el7.noarch                                                                                      1/42
  Installing : libxslt-1.1.28-6.el7.x86_64                                                                                                   2/42
  Updating   : 1:openssl-libs-1.0.2k-24.el7_9.x86_64                                                                                         3/42
  Installing : libXau-devel-1.0.8-2.1.el7.x86_64                                                                                             4/42
  Installing : libxcb-devel-1.13-1.el7.x86_64                                                                                                5/42
  Installing : libX11-devel-1.6.7-4.el7_9.x86_64                                                                                             6/42
  Installing : libXrender-devel-0.9.10-1.el7.x86_64                                                                                          7/42
  Installing : 1:tcl-devel-8.5.13-8.el7.x86_64                                                                                               8/42
  Installing : libdb4-4.8.30-13.el7.x86_64                                                                                                   9/42
  Installing : libgpg-error-devel-1.12-3.el7.x86_64                                                                                         10/42
  Installing : libgcrypt-devel-1.5.3-14.el7.x86_64                                                                                          11/42
  Installing : expat-devel-2.1.0-12.el7.x86_64                                                                                              12/42
  Installing : ncurses-devel-5.9-14.20130511.el7_4.x86_64                                                                                   13/42
  Installing : libuuid-devel-2.23.2-65.el7_9.1.x86_64                                                                                       14/42
  Installing : libxml2-devel-2.9.1-6.el7_9.6.x86_64                                                                                         15/42
  Installing : 2:libpng-devel-1.5.13-8.el7.x86_64                                                                                           16/42
  Installing : freetype-devel-2.8-14.el7_9.1.x86_64                                                                                         17/42
  Installing : fontconfig-devel-2.13.0-4.3.el7.x86_64                                                                                       18/42
  Installing : libXft-devel-2.3.2-2.el7.x86_64                                                                                              19/42
  Installing : 1:tk-devel-8.5.13-6.el7.x86_64                                                                                               20/42
  Installing : libxslt-devel-1.1.28-6.el7.x86_64                                                                                            21/42
  Installing : readline-devel-6.2-11.el7.x86_64                                                                                             22/42
  Installing : libdb4-devel-4.8.30-13.el7.x86_64                                                                                            23/42
  Updating   : 1:openssl-devel-1.0.2k-24.el7_9.x86_64                                                                                       24/42
  Updating   : 1:openssl-1.0.2k-24.el7_9.x86_64                                                                                             25/42
  Installing : libxslt-python-1.1.28-6.el7.x86_64                                                                                           26/42
  Installing : sqlite-devel-3.7.17-8.el7_7.1.x86_64                                                                                         27/42
  Installing : libcurl-devel-7.29.0-59.el7_9.1.x86_64                                                                                       28/42
  Installing : icu-50.2-4.el7_7.x86_64                                                                                                      29/42
  Installing : libwebp-devel-0.3.0-10.el7_9.x86_64                                                                                          30/42
  Installing : c-ares-1.10.0-3.el7.x86_64                                                                                                   31/42
  Installing : bzip2-devel-1.0.6-13.el7.x86_64                                                                                              32/42
  Installing : gdbm-devel-1.10-8.el7.x86_64                                                                                                 33/42
  Installing : 14:libpcap-devel-1.5.3-12.el7.x86_64                                                                                         34/42
  Updating   : unzip-6.0-24.el7_9.x86_64                                                                                                    35/42
  Installing : libffi-devel-3.0.13-19.el7.x86_64                                                                                            36/42
  Installing : libicu-devel-50.2-4.el7_7.x86_64                                                                                             37/42
  Installing : libjpeg-turbo-devel-1.2.90-8.el7.x86_64                                                                                      38/42
  Cleanup    : 1:openssl-devel-1.0.2k-22.el7_9.x86_64                                                                                       39/42
  Cleanup    : 1:openssl-1.0.2k-22.el7_9.x86_64                                                                                             40/42
  Cleanup    : 1:openssl-libs-1.0.2k-22.el7_9.x86_64                                                                                        41/42
  Cleanup    : unzip-6.0-22.el7_9.x86_64                                                                                                    42/42
  Verifying  : libXft-devel-2.3.2-2.el7.x86_64                                                                                               1/42
  Verifying  : 2:libpng-devel-1.5.13-8.el7.x86_64                                                                                            2/42
  Verifying  : libxslt-python-1.1.28-6.el7.x86_64                                                                                            3/42
  Verifying  : libxml2-devel-2.9.1-6.el7_9.6.x86_64                                                                                          4/42
  Verifying  : libjpeg-turbo-devel-1.2.90-8.el7.x86_64                                                                                       5/42
  Verifying  : 1:openssl-libs-1.0.2k-24.el7_9.x86_64                                                                                         6/42
  Verifying  : libicu-devel-50.2-4.el7_7.x86_64                                                                                              7/42
  Verifying  : libffi-devel-3.0.13-19.el7.x86_64                                                                                             8/42
  Verifying  : unzip-6.0-24.el7_9.x86_64                                                                                                     9/42
  Verifying  : libuuid-devel-2.23.2-65.el7_9.1.x86_64                                                                                       10/42
  Verifying  : libdb4-devel-4.8.30-13.el7.x86_64                                                                                            11/42
  Verifying  : 14:libpcap-devel-1.5.3-12.el7.x86_64                                                                                         12/42
  Verifying  : gdbm-devel-1.10-8.el7.x86_64                                                                                                 13/42
  Verifying  : bzip2-devel-1.0.6-13.el7.x86_64                                                                                              14/42
  Verifying  : fontconfig-devel-2.13.0-4.3.el7.x86_64                                                                                       15/42
  Verifying  : 1:openssl-devel-1.0.2k-24.el7_9.x86_64                                                                                       16/42
  Verifying  : libxslt-devel-1.1.28-6.el7.x86_64                                                                                            17/42
  Verifying  : ncurses-devel-5.9-14.20130511.el7_4.x86_64                                                                                   18/42
  Verifying  : readline-devel-6.2-11.el7.x86_64                                                                                             19/42
  Verifying  : libX11-devel-1.6.7-4.el7_9.x86_64                                                                                            20/42
  Verifying  : 1:tk-devel-8.5.13-6.el7.x86_64                                                                                               21/42
  Verifying  : c-ares-1.10.0-3.el7.x86_64                                                                                                   22/42
  Verifying  : 1:openssl-1.0.2k-24.el7_9.x86_64                                                                                             23/42
  Verifying  : xorg-x11-proto-devel-2018.4-1.el7.noarch                                                                                     24/42
  Verifying  : libXrender-devel-0.9.10-1.el7.x86_64                                                                                         25/42
  Verifying  : libwebp-devel-0.3.0-10.el7_9.x86_64                                                                                          26/42
  Verifying  : icu-50.2-4.el7_7.x86_64                                                                                                      27/42
  Verifying  : freetype-devel-2.8-14.el7_9.1.x86_64                                                                                         28/42
  Verifying  : libgcrypt-devel-1.5.3-14.el7.x86_64                                                                                          29/42
  Verifying  : libcurl-devel-7.29.0-59.el7_9.1.x86_64                                                                                       30/42
  Verifying  : expat-devel-2.1.0-12.el7.x86_64                                                                                              31/42
  Verifying  : libxcb-devel-1.13-1.el7.x86_64                                                                                               32/42
  Verifying  : sqlite-devel-3.7.17-8.el7_7.1.x86_64                                                                                         33/42
  Verifying  : libxslt-1.1.28-6.el7.x86_64                                                                                                  34/42
  Verifying  : libgpg-error-devel-1.12-3.el7.x86_64                                                                                         35/42
  Verifying  : libdb4-4.8.30-13.el7.x86_64                                                                                                  36/42
  Verifying  : 1:tcl-devel-8.5.13-8.el7.x86_64                                                                                              37/42
  Verifying  : libXau-devel-1.0.8-2.1.el7.x86_64                                                                                            38/42
  Verifying  : 1:openssl-1.0.2k-22.el7_9.x86_64                                                                                             39/42
  Verifying  : 1:openssl-devel-1.0.2k-22.el7_9.x86_64                                                                                       40/42
  Verifying  : 1:openssl-libs-1.0.2k-22.el7_9.x86_64                                                                                        41/42
  Verifying  : unzip-6.0-22.el7_9.x86_64                                                                                                    42/42

Installed:
  bzip2-devel.x86_64 0:1.0.6-13.el7               c-ares.x86_64 0:1.10.0-3.el7                 freetype-devel.x86_64 0:2.8-14.el7_9.1
  gdbm-devel.x86_64 0:1.10-8.el7                  icu.x86_64 0:50.2-4.el7_7                    libcurl-devel.x86_64 0:7.29.0-59.el7_9.1
  libdb4-devel.x86_64 0:4.8.30-13.el7             libffi-devel.x86_64 0:3.0.13-19.el7          libicu-devel.x86_64 0:50.2-4.el7_7
  libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7       libpcap-devel.x86_64 14:1.5.3-12.el7         libpng-devel.x86_64 2:1.5.13-8.el7
  libwebp-devel.x86_64 0:0.3.0-10.el7_9           libxml2-devel.x86_64 0:2.9.1-6.el7_9.6       libxslt.x86_64 0:1.1.28-6.el7
  libxslt-devel.x86_64 0:1.1.28-6.el7             libxslt-python.x86_64 0:1.1.28-6.el7         ncurses-devel.x86_64 0:5.9-14.20130511.el7_4
  readline-devel.x86_64 0:6.2-11.el7              sqlite-devel.x86_64 0:3.7.17-8.el7_7.1       tk-devel.x86_64 1:8.5.13-6.el7

Dependency Installed:
  expat-devel.x86_64 0:2.1.0-12.el7                 fontconfig-devel.x86_64 0:2.13.0-4.3.el7        libX11-devel.x86_64 0:1.6.7-4.el7_9
  libXau-devel.x86_64 0:1.0.8-2.1.el7               libXft-devel.x86_64 0:2.3.2-2.el7               libXrender-devel.x86_64 0:0.9.10-1.el7
  libdb4.x86_64 0:4.8.30-13.el7                     libgcrypt-devel.x86_64 0:1.5.3-14.el7           libgpg-error-devel.x86_64 0:1.12-3.el7
  libuuid-devel.x86_64 0:2.23.2-65.el7_9.1          libxcb-devel.x86_64 0:1.13-1.el7                tcl-devel.x86_64 1:8.5.13-8.el7
  xorg-x11-proto-devel.noarch 0:2018.4-1.el7

Updated:
  openssl.x86_64 1:1.0.2k-24.el7_9                openssl-devel.x86_64 1:1.0.2k-24.el7_9                unzip.x86_64 0:6.0-24.el7_9

Dependency Updated:
  openssl-libs.x86_64 1:1.0.2k-24.el7_9

Complete!
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package libxslt-1.1.28-6.el7.x86_64 already installed and latest version
Package libxslt-devel-1.1.28-6.el7.x86_64 already installed and latest version
Package libxslt-python-1.1.28-6.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package libjpeg-turbo-devel-1.2.90-8.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package vixie-cron available.
Error: Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package libdb4-devel-4.8.30-13.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-14 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                                 Arch                              Version                          Repository                       Size
==================================================================================================================================================
Installing:
 epel-release                            noarch                            7-14                             epel                             15 k

Transaction Summary
==================================================================================================================================================
Install  1 Package

Total download size: 15 k
Installed size: 25 k
Downloading packages:
epel-release-7-14.noarch.rpm                                                                                               |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-14.noarch                                                                                                       1/1
  Verifying  : epel-release-7-14.noarch                                                                                                       1/1

Installed:
  epel-release.noarch 0:7-14

Complete!
https://mirrors.tencent.com/pypi/simple
cat: /etc/.productinfo: No such file or directory
OS: el - 7
--2022-01-21 16:17:30--  http://dg2.bt.cn/install/pyenv/pyenv-el7-x64.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 116.10.184.219, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.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  10.0MB/s   in 7.2s

2022-01-21 16:17:37 (9.68 MB/s) - ‘/www/pyenv.tar.gz’ saved [73258911/73258911]

Install python env...
Python 3.7.9
--2022-01-21 16:17:40--  http://dg2.bt.cn/install/src/bt6.init
Resolving dg2.bt.cn (dg2.bt.cn)... 116.10.184.219, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.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-01-21 16:17:40 (229 MB/s) - ‘/etc/init.d/bt’ saved [9873/9873]

--2022-01-21 16:17:40--  http://dg2.bt.cn/install/public.sh
Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|: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-01-21 16:17:40 (419 MB/s) - ‘/www/server/panel/install/public.sh’ saved [4267/4267]

--2022-01-21 16:17:40--  http://dg2.bt.cn/install/src/panel6.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9230063 (8.8M) [application/zip]
Saving to: ‘panel.zip’

100%[========================================================================================================>] 9,230,063   24.7MB/s   in 0.4s

2022-01-21 16:17:40 (24.7 MB/s) - ‘panel.zip’ saved [9230063/9230063]

--2022-01-21 16:17:40--  http://dg2.bt.cn/install/src/bt7.init
Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|: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 0s

2022-01-21 16:17:41 (238 MB/s) - ‘/etc/init.d/bt’ saved [10438/10438]

--2022-01-21 16:17:41--  http://dg2.bt.cn/install/src/bt7.init
Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|: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 0.006s

2022-01-21 16:17:41 (1.68 MB/s) - ‘/www/server/panel/init.sh’ saved [10438/10438]

--2022-01-21 16:17:41--  http://dg2.bt.cn/install/conf/softList.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 116.10.184.219, 240e:a5:4200:89::143
Connecting to dg2.bt.cn (dg2.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-01-21 16:17:41 (348 MB/s) - ‘/www/server/panel/data/softList.conf’ saved [3287/3287]

Starting Bt-Panel....   done
Starting Bt-Tasks...    done
username: t1c2mbup
Stopping Bt-Tasks...    done
Stopping Bt-Panel...    done
Starting Bt-Panel....   done
Starting Bt-Tasks...    done
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package firewalld-0.6.3-13.el7_9.noarch already installed and latest version
Nothing to do
Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.
success
==================================================================
Congratulations! Installed successfully!
==================================================================
外网面板地址: http://110.40.150.131:8888/ac9859fb
内网面板地址: http://172.17.16.6:8888/ac9859fb
username: t1c2mbup
password: b6abed29
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
==================================================================
Time consumed: 1 Minute!
[root@VM-16-6-centos wldata]#

根据安装成功的登录信息登录宝塔面板并重置相关登录信息

0

评论 (0)

取消