tableau server在centos7.6上安装记录


环境说明:
环境
tableau-server-2019-2-1.x86_64.rpm
JDK1.8
Vmware15.x 分配给cent7 8核,32G内存。
FileZilla
CRT
备注 tableau-server-2019-1-1.x86_64.rpm也装过,tableau server比较大并且对硬件要求比较高,官方推荐是8核32G内存单独在一台服务器上,亲测过tableau server的2019-1-1及2019-2-1 在centos7上安装,8G及以下内存空间的就别试了、亲测安装的过程中出各种各样的问题、另外到后面激活初始化的时候 机器配置低的话 得等很长时间 也不一定能成功。

1.官网

https://www.tableau.com/
单服务器版,快速入门安装:https://onlinehelp.tableau.com/current/server-linux/en-us/jumpstart.htm
单服务器版,生产环境下安装:https://onlinehelp.tableau.com/current/server-linux/en-us/install_config_top.htm
下载,tableau-server-2019-2-1.x86_64.rpm。

2. 准备工作

 安装初始化Centos7、配置时区、静态ip、硬盘分区(tableau server默认安装到/var/。。。建议50G以上)、机器名、安装JDK  、、、
 上传tableau-server-2019-2-1.x86_64.rpm到服务器 (略)

3. 添加2个账号用于tableau server 管理员

若是root账号则:

systemctl status firewalld
firewall-cmd --permanent --zone=public --add-port=80/tcp (tableau server的web控制台用)
firewall-cmd --permanent --zone=public --add-port=8850/tcp (tableau server的管理后台web控制台用)
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --reload
firewall-cmd --list-ports

root账号下添加安装tableau server的用户:(亲测,安装tableau server必须非root用户)

groupadd tableau
useradd admin -g tableau
passwd admin 

#添加TSM用户及组 (和上面的账号也可以还用admin 密码用一样的也可以,省事,免得2个账号记混)
groupadd tsmadmin
useradd admin -g  tsmadmin
passwd admin

添加admin用户具有sudo权限:

visudo
#添加代码
admin 	ALL=(ALL) 	ALL

保存退出

4. 安装Tableau Server软件包

su admin
cd /home/admin/
sudo yum -y install tableau-server-2019-2-1.x86_64.rpm
--> Running transaction check
---> Package at.x86_64 0:3.1.13-24.el7 will be installed
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package cups-client.x86_64 1:1.6.3-35.el7 will be installed
--> Processing Dependency: cups-libs(x86-64) = 1:1.6.3-35.el7 for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libcups.so.2()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-client-1.6.3-35.el7.x86_64
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package ed.x86_64 0:1.9-4.el7 will be installed
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libX11.x86_64 0:1.6.5-2.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-2.el7 for package: libX11-1.6.5-2.el7.x86_64
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64
---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
---> Package libwayland-client.x86_64 0:1.15.0-1.el7 will be installed
---> Package libwayland-server.x86_64 0:1.15.0-1.el7 will be installed
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package mailx.x86_64 0:12.5-19.el7 will be installed
---> Package mesa-libgbm.x86_64 0:18.0.5-4.el7_6 will be installed
---> Package mesa-libglapi.x86_64 0:18.0.5-4.el7_6 will be installed
---> Package patch.x86_64 0:2.7.1-10.el7_5 will be installed
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
---> Package redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package spax.x86_64 0:1.5.2-13.el7 will be installed
---> Package time.x86_64 0:1.7-45.el7 will be installed
--> Running transaction check
---> Package avahi-libs.x86_64 0:0.6.31-19.el7 will be installed
---> Package cups-libs.x86_64 1:1.6.3-35.el7 will be installed
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libX11-common.noarch 0:1.6.5-2.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
---> Package mesa-libGL.x86_64 0:18.0.5-4.el7_6 will be installed
--> Processing Dependency: libXfixes.so.3()(64bit) for package: mesa-libGL-18.0.5-4.el7_6.x86_64
--> Processing Dependency: libXdamage.so.1()(64bit) for package: mesa-libGL-18.0.5-4.el7_6.x86_64
--> Running transaction check
---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
---> Package libXfixes.x86_64 0:5.0.3-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================
 Package                                     Arch             Version                               Repository                                 Size
====================================================================================================================================================
Installing:
 tableau-server-20192.19.0621.1547           x86_64           20192-19.0621.1547                    /tableau-server-2019-2-1.x86_64           3.3 G
Installing for dependencies:
 at                                          x86_64           3.1.13-24.el7                         base                                       51 k
 avahi-libs                                  x86_64           0.6.31-19.el7                         base                                       61 k
 bash-completion                             noarch           1:2.1-6.el7                           base                                       85 k
 bc                                          x86_64           1.06.95-13.el7                        base                                      115 k
 chrpath                                     x86_64           0.16-0.el7                            base                                       26 k
 cups-client                                 x86_64           1:1.6.3-35.el7                        base                                      151 k
 cups-libs                                   x86_64           1:1.6.3-35.el7                        base                                      357 k
 dejavu-fonts-common                         noarch           2.33-6.el7                            base                                       64 k
 dejavu-sans-fonts                           noarch           2.33-6.el7                            base                                      1.4 M
 ed                                          x86_64           1.9-4.el7                             base                                       72 k
 fontconfig                                  x86_64           2.13.0-4.3.el7                        base                                      254 k
 fontpackages-filesystem                     noarch           1.44-8.el7                            base                                      9.9 k
 freeglut                                    x86_64           3.0.0-8.el7                           base                                      185 k
 gdb                                         x86_64           7.6.1-114.el7                         base                                      2.4 M
 libICE                                      x86_64           1.0.9-9.el7                           base                                       66 k
 libX11                                      x86_64           1.6.5-2.el7                           base                                      606 k
 libX11-common                               noarch           1.6.5-2.el7                           base                                      164 k
 libXau                                      x86_64           1.0.8-2.1.el7                         base                                       29 k
 libXcomposite                               x86_64           0.4.4-4.1.el7                         base                                       22 k
 libXdamage                                  x86_64           1.1.4-4.1.el7                         base                                       20 k
 libXext                                     x86_64           1.3.3-3.el7                           base                                       39 k
 libXfixes                                   x86_64           5.0.3-1.el7                           base                                       18 k
 libXi                                       x86_64           1.7.9-1.el7                           base                                       40 k
 libXrender                                  x86_64           0.9.10-1.el7                          base                                       26 k
 libXxf86vm                                  x86_64           1.1.4-1.el7                           base                                       18 k
 libglvnd                                    x86_64           1:1.0.1-0.8.git5baa1e5.el7            base                                       89 k
 libglvnd-egl                                x86_64           1:1.0.1-0.8.git5baa1e5.el7            base                                       44 k
 libglvnd-glx                                x86_64           1:1.0.1-0.8.git5baa1e5.el7            base                                      125 k
 libwayland-client                           x86_64           1.15.0-1.el7                          base                                       33 k
 libwayland-server                           x86_64           1.15.0-1.el7                          base                                       39 k
 libxcb                                      x86_64           1.13-1.el7                            base                                      214 k
 libxshmfence                                x86_64           1.2-1.el7                             base                                      7.2 k
 m4                                          x86_64           1.4.16-10.el7                         base                                      256 k
 mailx                                       x86_64           12.5-19.el7                           base                                      245 k
 mesa-libEGL                                 x86_64           18.0.5-4.el7_6                        updates                                   102 k
 mesa-libGL                                  x86_64           18.0.5-4.el7_6                        updates                                   162 k
 mesa-libgbm                                 x86_64           18.0.5-4.el7_6                        updates                                    38 k
 mesa-libglapi                               x86_64           18.0.5-4.el7_6                        updates                                    44 k
 net-tools                                   x86_64           2.0-0.24.20131004git.el7              base                                      306 k
 patch                                       x86_64           2.7.1-10.el7_5                        base                                      110 k
 psmisc                                      x86_64           22.20-15.el7                          base                                      141 k
 redhat-lsb-core                             x86_64           4.1-27.el7.centos.1                   base                                       38 k
 redhat-lsb-submod-security                  x86_64           4.1-27.el7.centos.1                   base                                       15 k
 spax                                        x86_64           1.5.2-13.el7                          base                                      260 k
 time                                        x86_64           1.7-45.el7                            base                                       30 k

Transaction Summary
====================================================================================================================================================
Install  1 Package (+45 Dependent packages)

Total size: 3.3 G
Total download size: 8.5 M
Installed size: 3.3 G
Is this ok [y/d/N]: y
Downloading packages:
(1/45): bash-completion-2.1-6.el7.noarch.rpm                                                                                 |  85 kB  00:00:00     
(2/45): bc-1.06.95-13.el7.x86_64.rpm                                                                                         | 115 kB  00:00:00     
(3/45): chrpath-0.16-0.el7.x86_64.rpm                                                                                        |  26 kB  00:00:00     
(4/45): cups-client-1.6.3-35.el7.x86_64.rpm                                                                                  | 151 kB  00:00:00     
(5/45): cups-libs-1.6.3-35.el7.x86_64.rpm                                                                                    | 357 kB  00:00:00     
(6/45): dejavu-fonts-common-2.33-6.el7.noarch.rpm                                                                            |  64 kB  00:00:00     
(7/45): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                                                                              | 1.4 MB  00:00:00     
(8/45): ed-1.9-4.el7.x86_64.rpm                                                                                              |  72 kB  00:00:00     
(9/45): fontconfig-2.13.0-4.3.el7.x86_64.rpm                                                                                 | 254 kB  00:00:00     
(10/45): fontpackages-filesystem-1.44-8.el7.noarch.rpm                                                                       | 9.9 kB  00:00:00     
(11/45): freeglut-3.0.0-8.el7.x86_64.rpm                                                                                     | 185 kB  00:00:00     
(12/45): gdb-7.6.1-114.el7.x86_64.rpm                                                                                        | 2.4 MB  00:00:00     
(13/45): libICE-1.0.9-9.el7.x86_64.rpm                                                                                       |  66 kB  00:00:00     
(14/45): libX11-1.6.5-2.el7.x86_64.rpm                                                                                       | 606 kB  00:00:00     
(15/45): libX11-common-1.6.5-2.el7.noarch.rpm                                                                                | 164 kB  00:00:00     
(16/45): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                                     |  29 kB  00:00:00     
(17/45): libXcomposite-0.4.4-4.1.el7.x86_64.rpm                                                                              |  22 kB  00:00:00     
(18/45): libXdamage-1.1.4-4.1.el7.x86_64.rpm                                                                                 |  20 kB  00:00:00     
(19/45): libXext-1.3.3-3.el7.x86_64.rpm                                                                                      |  39 kB  00:00:00     
(20/45): libXfixes-5.0.3-1.el7.x86_64.rpm                                                                                    |  18 kB  00:00:00     
(21/45): libXi-1.7.9-1.el7.x86_64.rpm                                                                                        |  40 kB  00:00:00     
(22/45): libXrender-0.9.10-1.el7.x86_64.rpm                                                                                  |  26 kB  00:00:00     
(23/45): libXxf86vm-1.1.4-1.el7.x86_64.rpm                                                                                   |  18 kB  00:00:00     
(24/45): libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                                                                        |  89 kB  00:00:00     
(25/45): libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                                                                    |  44 kB  00:00:00     
(26/45): libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                                                                    | 125 kB  00:00:00     
(27/45): libwayland-client-1.15.0-1.el7.x86_64.rpm                                                                           |  33 kB  00:00:00     
(28/45): libwayland-server-1.15.0-1.el7.x86_64.rpm                                                                           |  39 kB  00:00:00     
(29/45): libxcb-1.13-1.el7.x86_64.rpm                                                                                        | 214 kB  00:00:00     
(30/45): libxshmfence-1.2-1.el7.x86_64.rpm                                                                                   | 7.2 kB  00:00:00     
(31/45): m4-1.4.16-10.el7.x86_64.rpm                                                                                         | 256 kB  00:00:00     
(32/45): mailx-12.5-19.el7.x86_64.rpm                                                                                        | 245 kB  00:00:00     
(33/45): mesa-libEGL-18.0.5-4.el7_6.x86_64.rpm                                                                               | 102 kB  00:00:00     
(34/45): mesa-libGL-18.0.5-4.el7_6.x86_64.rpm                                                                                | 162 kB  00:00:00     
(35/45): mesa-libgbm-18.0.5-4.el7_6.x86_64.rpm                                                                               |  38 kB  00:00:00     
(36/45): mesa-libglapi-18.0.5-4.el7_6.x86_64.rpm                                                                             |  44 kB  00:00:00     
(37/45): net-tools-2.0-0.24.20131004git.el7.x86_64.rpm                                                                       | 306 kB  00:00:00     
(38/45): patch-2.7.1-10.el7_5.x86_64.rpm                                                                                     | 110 kB  00:00:00     
(39/45): psmisc-22.20-15.el7.x86_64.rpm                                                                                      | 141 kB  00:00:00     
(40/45): redhat-lsb-core-4.1-27.el7.centos.1.x86_64.rpm                                                                      |  38 kB  00:00:00     
(41/45): redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64.rpm                                                           |  15 kB  00:00:00     
(42/45): spax-1.5.2-13.el7.x86_64.rpm                                                                                        | 260 kB  00:00:00     
(43/45): time-1.7-45.el7.x86_64.rpm                                                                                          |  30 kB  00:00:00     
(44/45): at-3.1.13-24.el7.x86_64.rpm                                                                                         |  51 kB  00:00:05     
avahi-libs-0.6.31-19.el7.x86_6 FAILED                                          
http://mirror.bit.edu.cn/centos/7.6.1810/os/x86_64/Packages/avahi-libs-0.6.31-19.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2001:da8:204:2001:250:56ff:fea1:22: Network is unreachable"
Trying other mirror.
(45/45): avahi-libs-0.6.31-19.el7.x86_64.rpm                                                                                 |  61 kB  00:00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                               574 kB/s | 8.5 MB  00:00:15     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mesa-libglapi-18.0.5-4.el7_6.x86_64                                                                                             1/46 
  Installing : libxshmfence-1.2-1.el7.x86_64                                                                                                   2/46 
  Installing : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                      3/46 
  Installing : avahi-libs-0.6.31-19.el7.x86_64                                                                                                 4/46 
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                                                                                       5/46 
  Installing : libwayland-server-1.15.0-1.el7.x86_64                                                                                           6/46 
  Installing : mesa-libgbm-18.0.5-4.el7_6.x86_64                                                                                               7/46 
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                                                                                           8/46 
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                             9/46 
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                                                                                               10/46 
  Installing : 1:cups-libs-1.6.3-35.el7.x86_64                                                                                                11/46 
  Installing : 1:cups-client-1.6.3-35.el7.x86_64                                                                                              12/46 
  Installing : time-1.7-45.el7.x86_64                                                                                                         13/46 
  Installing : mailx-12.5-19.el7.x86_64                                                                                                       14/46 
  Installing : ed-1.9-4.el7.x86_64                                                                                                            15/46 
  Installing : libX11-common-1.6.5-2.el7.noarch                                                                                               16/46 
  Installing : spax-1.5.2-13.el7.x86_64                                                                                                       17/46 
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                                    18/46 
  Installing : libxcb-1.13-1.el7.x86_64                                                                                                       19/46 
  Installing : libX11-1.6.5-2.el7.x86_64                                                                                                      20/46 
  Installing : libXext-1.3.3-3.el7.x86_64                                                                                                     21/46 
  Installing : libXxf86vm-1.1.4-1.el7.x86_64                                                                                                  22/46 
  Installing : libXfixes-5.0.3-1.el7.x86_64                                                                                                   23/46 
  Installing : libXdamage-1.1.4-4.1.el7.x86_64                                                                                                24/46 
  Installing : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                 25/46 
  Installing : mesa-libGL-18.0.5-4.el7_6.x86_64                                                                                               26/46 
  Installing : libXi-1.7.9-1.el7.x86_64                                                                                                       27/46 
  Installing : libXrender-0.9.10-1.el7.x86_64                                                                                                 28/46 
  Installing : libXcomposite-0.4.4-4.1.el7.x86_64                                                                                             29/46 
  Installing : chrpath-0.16-0.el7.x86_64                                                                                                      30/46 
  Installing : patch-2.7.1-10.el7_5.x86_64                                                                                                    31/46 
  Installing : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64                                                                          32/46 
  Installing : at-3.1.13-24.el7.x86_64                                                                                                        33/46 
  Installing : net-tools-2.0-0.24.20131004git.el7.x86_64                                                                                      34/46 
  Installing : psmisc-22.20-15.el7.x86_64                                                                                                     35/46 
  Installing : gdb-7.6.1-114.el7.x86_64                                                                                                       36/46 
  Installing : 1:bash-completion-2.1-6.el7.noarch                                                                                             37/46 
  Installing : libwayland-client-1.15.0-1.el7.x86_64                                                                                          38/46 
  Installing : 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                 39/46 
  Installing : mesa-libEGL-18.0.5-4.el7_6.x86_64                                                                                              40/46 
  Installing : bc-1.06.95-13.el7.x86_64                                                                                                       41/46 
  Installing : libICE-1.0.9-9.el7.x86_64                                                                                                      42/46 
  Installing : freeglut-3.0.0-8.el7.x86_64                                                                                                    43/46 
  Installing : m4-1.4.16-10.el7.x86_64                                                                                                        44/46 
  Installing : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                                                                                     45/46 
This system meets or exceeds the minimum recommended Tableau Server requirements
  Installing : tableau-server-20192.19.0621.1547-20192-19.0621.1547.x86_64                                                                    46/46 
Creating /usr/lib64/libcrypt.so (a workaround for some RHEL 7-based installations)

If this is a single node or initial node installation, run:

    sudo /opt/tableau/tableau_server/packages/scripts.20192.19.0621.1547/initialize-tsm --accepteula

to continue setting up Tableau Server. If this installation is part of a multi-node configuration,
see the online documentation for installing Tableau Server on additional nodes.

  Verifying  : libXext-1.3.3-3.el7.x86_64                                                                                                      1/46 
  Verifying  : libXi-1.7.9-1.el7.x86_64                                                                                                        2/46 
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                                                                                                3/46 
  Verifying  : libXrender-0.9.10-1.el7.x86_64                                                                                                  4/46 
  Verifying  : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                  5/46 
  Verifying  : libXxf86vm-1.1.4-1.el7.x86_64                                                                                                   6/46 
  Verifying  : libwayland-server-1.15.0-1.el7.x86_64                                                                                           7/46 
  Verifying  : m4-1.4.16-10.el7.x86_64                                                                                                         8/46 
  Verifying  : libICE-1.0.9-9.el7.x86_64                                                                                                       9/46 
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                                                                                      10/46 
  Verifying  : bc-1.06.95-13.el7.x86_64                                                                                                       11/46 
  Verifying  : libwayland-client-1.15.0-1.el7.x86_64                                                                                          12/46 
  Verifying  : avahi-libs-0.6.31-19.el7.x86_64                                                                                                13/46 
  Verifying  : 1:bash-completion-2.1-6.el7.noarch                                                                                             14/46 
  Verifying  : mesa-libgbm-18.0.5-4.el7_6.x86_64                                                                                              15/46 
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                                                                                          16/46 
  Verifying  : libXcomposite-0.4.4-4.1.el7.x86_64                                                                                             17/46 
  Verifying  : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                     18/46 
  Verifying  : libxcb-1.13-1.el7.x86_64                                                                                                       19/46 
  Verifying  : gdb-7.6.1-114.el7.x86_64                                                                                                       20/46 
  Verifying  : tableau-server-20192.19.0621.1547-20192-19.0621.1547.x86_64                                                                    21/46 
  Verifying  : psmisc-22.20-15.el7.x86_64                                                                                                     22/46 
  Verifying  : mesa-libEGL-18.0.5-4.el7_6.x86_64                                                                                              23/46 
  Verifying  : net-tools-2.0-0.24.20131004git.el7.x86_64                                                                                      24/46 
  Verifying  : libXfixes-5.0.3-1.el7.x86_64                                                                                                   25/46 
  Verifying  : at-3.1.13-24.el7.x86_64                                                                                                        26/46 
  Verifying  : libX11-1.6.5-2.el7.x86_64                                                                                                      27/46 
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                            28/46 
  Verifying  : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64                                                                          29/46 
  Verifying  : patch-2.7.1-10.el7_5.x86_64                                                                                                    30/46 
  Verifying  : 1:cups-client-1.6.3-35.el7.x86_64                                                                                              31/46 
  Verifying  : chrpath-0.16-0.el7.x86_64                                                                                                      32/46 
  Verifying  : 1:cups-libs-1.6.3-35.el7.x86_64                                                                                                33/46 
  Verifying  : mesa-libGL-18.0.5-4.el7_6.x86_64                                                                                               34/46 
  Verifying  : libxshmfence-1.2-1.el7.x86_64                                                                                                  35/46 
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                                    36/46 
  Verifying  : 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64                                                                                 37/46 
  Verifying  : spax-1.5.2-13.el7.x86_64                                                                                                       38/46 
  Verifying  : libX11-common-1.6.5-2.el7.noarch                                                                                               39/46 
  Verifying  : ed-1.9-4.el7.x86_64                                                                                                            40/46 
  Verifying  : libXdamage-1.1.4-4.1.el7.x86_64                                                                                                41/46 
  Verifying  : redhat-lsb-core-4.1-27.el7.centos.1.x86_64                                                                                     42/46 
  Verifying  : mailx-12.5-19.el7.x86_64                                                                                                       43/46 
  Verifying  : freeglut-3.0.0-8.el7.x86_64                                                                                                    44/46 
  Verifying  : mesa-libglapi-18.0.5-4.el7_6.x86_64                                                                                            45/46 
  Verifying  : time-1.7-45.el7.x86_64                                                                                                         46/46 

Installed:
  tableau-server-20192.19.0621.1547.x86_64 0:20192-19.0621.1547                                                                                     

Dependency Installed:
  at.x86_64 0:3.1.13-24.el7                               avahi-libs.x86_64 0:0.6.31-19.el7          bash-completion.noarch 1:2.1-6.el7            
  bc.x86_64 0:1.06.95-13.el7                              chrpath.x86_64 0:0.16-0.el7                cups-client.x86_64 1:1.6.3-35.el7             
  cups-libs.x86_64 1:1.6.3-35.el7                         dejavu-fonts-common.noarch 0:2.33-6.el7    dejavu-sans-fonts.noarch 0:2.33-6.el7         
  ed.x86_64 0:1.9-4.el7                                   fontconfig.x86_64 0:2.13.0-4.3.el7         fontpackages-filesystem.noarch 0:1.44-8.el7   
  freeglut.x86_64 0:3.0.0-8.el7                           gdb.x86_64 0:7.6.1-114.el7                 libICE.x86_64 0:1.0.9-9.el7                   
  libX11.x86_64 0:1.6.5-2.el7                             libX11-common.noarch 0:1.6.5-2.el7         libXau.x86_64 0:1.0.8-2.1.el7                 
  libXcomposite.x86_64 0:0.4.4-4.1.el7                    libXdamage.x86_64 0:1.1.4-4.1.el7          libXext.x86_64 0:1.3.3-3.el7                  
  libXfixes.x86_64 0:5.0.3-1.el7                          libXi.x86_64 0:1.7.9-1.el7                 libXrender.x86_64 0:0.9.10-1.el7              
  libXxf86vm.x86_64 0:1.1.4-1.el7                         libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7          libwayland-client.x86_64 0:1.15.0-1.el7    libwayland-server.x86_64 0:1.15.0-1.el7       
  libxcb.x86_64 0:1.13-1.el7                              libxshmfence.x86_64 0:1.2-1.el7            m4.x86_64 0:1.4.16-10.el7                     
  mailx.x86_64 0:12.5-19.el7                              mesa-libEGL.x86_64 0:18.0.5-4.el7_6        mesa-libGL.x86_64 0:18.0.5-4.el7_6            
  mesa-libgbm.x86_64 0:18.0.5-4.el7_6                     mesa-libglapi.x86_64 0:18.0.5-4.el7_6      net-tools.x86_64 0:2.0-0.24.20131004git.el7   
  patch.x86_64 0:2.7.1-10.el7_5                           psmisc.x86_64 0:22.20-15.el7               redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1  
  redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 spax.x86_64 0:1.5.2-13.el7                 time.x86_64 0:1.7-45.el7                      

Complete!
[admin@TableauServer ~]$ cd /opt/tableau/tableau_server/packages/scripts.20192.19.0621.1547/
[admin@TableauServer scripts.20192.19.0621.1547]$ sudo ./initialize-tsm --accepteula
[sudo] password for admin: 
Creating 'tsmadmin' group for TSM admin authorization
Creating 'tableau' unprivileged user account
Creating directories and setting permissions...
Using '/var/opt/tableau/tableau_server' as the data directory.
Adding user 'admin' to group 'tableau'...
Adding user 'admin' to group 'tsmadmin'...
Added. Note: These group membership changes do not take effect in shells already open. For these to take effect, log out of the shell and log back in.
Creating environment file...
Starting TSM services...
Updating repository version in Tableau Server Coordination Service.
TSM services started successfully
Use the 'tsm' command to continue setting up Tableau Server.
>> Tableau binary directory will be added to PATH for new shells. To get the
>> updated path, either start a new session, or for bash users run:
>> source /etc/profile.d/tableau_server.sh
The TSM administrative web interface (and REST API) is now available at
https://TableauServer:8850
You can continue the configuration and initialization of Tableau server using either the TSM command line interface,
or the web interface.
You will be prompted to authenticate, or can log in using the username 'admin', with the same password you used to log into this session. You could also use any username, with its password, from the administrative group in the domain.
Done.
[admin@TableauServer scripts.20192.19.0621.1547]$ cd
[admin@TableauServer ~]$ source /etc/profile.d/tableau_server.sh
[admin@TableauServer ~]$ tsm login -u admin
Password:
[admin@TableauServer ~]$ tsm licenses activate -t
Trial activated.
[admin@TableauServer ~]$ vi registration_file.json
{
{
"zip" : "10000",
"country" : "China",
"city" : "Wuhan",
"last_name" : "len",
"industry" : "Software",
"eula" : "yes",
"title" : "Engineer",
"phone" : "13621270419",
"company" : "JFD",
"state" : "NH",
"department" : "Engineering",
"first_name" : "wang",
"email" : "[email protected]"
}
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"registration_file.json" [New] 15L, 306C written
[admin@TableauServer ~]$ ll
total 1582708
-rw-rw-r--. 1 admin admin        306 Jul  5 20:47 registration_file.json
-rw-r--r--. 1 root  root  1620688116 Jul  5 17:56 tableau-server-2019-2-1.x86_64.rpm
[admin@TableauServer ~]$ tsm register --file ~/registration_file.json
Registration complete.
[admin@TableauServer ~]$ cd /opt/tableau/tableau_server/packages/scripts.20192.19.0621.1547/
[admin@TableauServer scripts.20192.19.0621.1547]$ ll
total 176
-rwxr-xr-x. 1 root root  3341 Jun 22 08:12 after-install
-rw-r--r--. 1 root root 28559 Jun 22 08:12 after-install-common
-rwxr-xr-x. 1 root root  2221 Jun 22 08:12 before-remove
-rw-r--r--. 1 root root   125 Jun 22 08:12 config.json
-rw-r--r--. 1 root root   355 Jun 22 08:12 defaults.bash
-rwxr-xr-x. 1 root root  3096 Jun 22 08:12 disable-coordination-service-authentication
-rwxr-xr-x. 1 root root 18553 Jun 22 08:12 initialize-tsm
-rw-r--r--. 1 root root 19364 Jun 22 08:12 initialize-tsm-common
-rw-r--r--. 1 root root  2897 Jun 22 08:12 local-configuration
-rwxr-xr-x. 1 root root  6718 Jun 22 08:12 migrate-to-single-user
-rwxr-xr-x. 1 root root  4069 Jun 22 08:12 move-tsm-controller
-rw-r--r--. 1 root root   201 Jun 22 08:12 README
-rwxr-xr-x. 1 root root  2799 Jun 22 08:12 stack-traces-from-coredumps
-rwxr-xr-x. 1 root root  2057 Jun 22 08:12 start-administrative-services
-rwxr-xr-x. 1 root root  2684 Jun 22 08:12 stop-administrative-services
-rw-r--r--. 1 root root 11325 Jun 22 08:12 tabcmd.autocomplete
-rwxr-xr-x. 1 root root  8033 Jun 22 08:12 tableau-server-obliterate
-rw-r--r--. 1 root root 22713 Jun 22 08:12 tsm.autocomplete
-rwxr-xr-x. 1 root root  7151 Jun 22 08:12 upgrade-tsm
-rw-r--r--. 1 root root   681 Jun 22 08:12 user-at.service
[admin@TableauServer scripts.20192.19.0621.1547]$ cat config.json
{
  "configEntities": {
    "identityStore": {
      "_type": "identityStoreType",
      "type": "local"
    }
  }
}
[admin@TableauServer scripts.20192.19.0621.1547]$ tsm settings import -f /opt/tableau/tableau_server/packages/scripts.20192.19.0621.1547/config.json
[admin@TableauServer scripts.20192.19.0621.1547]$ cd
[admin@TableauServer ~]$ tsm topology list-ports
Node                       Name                                        Instance  Port 
node1                      clientfileservice:primary                   0         8833 
node1                      clientfileservice:status                    0         8062 
node1                      licenseservice:vendor_daemon                0         8844 
node1                      tabadmincontroller:primary                  0         8850 
node1                      appzookeeper:client                         0         8645 
node1                      appzookeeper:peer                           0         8669 
node1                      appzookeeper:leader                         0         8349 
node1                      tabadminagent:filetransfer                  0         8142 
node1                      tabadminagent:columbo                       0         8480 
[admin@TableauServer ~]$ sudo firewall-cmd --list-all
[sudo] password for admin: 
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens33
  sources: 
  services: ssh dhcpv6-client
  ports: 80/tcp 8850/tcp 443/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

[admin@TableauServer ~]$ tsm pending-changes apply
Starting deployments asynchronous job.
Job id is '0', timeout is 10 minutes.
6% - Retrieving the topology to deploy.
13% - Retrieving the configuration to deploy.
20% - Validating the new topology.
26% - Determining if server needs to be started.
33% - Disabling all services.
40% - Waiting for the services to stop.
46% - Updating nodes to new topology.
53% - Waiting for topology to be applied.
60% - Updating nodes to new configuration.
66% - Disabling all services.
73% - Waiting for the services to stop.
80% - Reconfiguring services.
86% - Waiting for services to reconfigure.    
93% - Enabling all services.
100% - Waiting for the services to start.
Successfully deployed nodes with updated configuration and topology version.
[admin@TableauServer ~]$ tsm initialize --start-server --request-timeout 3600
Initializing the server...
Job id is '1', timeout is 60 minutes.
3% - Validating that there are no pending changes.
6% - Generating passwords.
10% - Generating search server ssl certificate.    
13% - Generating Elastic Server SSL certificate.    
17% - Generating Key Management data.
20% - Promoting configuration.
24% - Waiting for services to reconfigure.    
27% - Generating new asset key.
31% - Saving asset key.
34% - Initializing the topology.    
37% - Waiting for the maintenance app to start.    
41% - Initializing the temporary database instance.
44% - Starting the temporary database instance.    
48% - Creating roles and databases.
51% - Running migrations.    
55% - Localizing the default projects.
58% - Stopping the temporary database instance.    
62% - Making the temporary database default.    
65% - Initializing the next active repository.
68% - Enabling services needed for server initialization.    
72% - Connecting to the Backup/Restore service.
75% - Saving asset key metadata.
79% - Configuring search server.    
82% - Connecting to the Backup/Restore service.
86% - Initializing Elastic Server.    
89% - Finalizing the topology.    
93% - Connecting to Vizportal Maintenance.
96% - Rebuilding the search index.    
100% - Finalizing the initialization.

Server was initialized successfully.
[admin@TableauServer ~]$ tabcmd initialuser --server "localhost:80" --username "admin" --password "admin"
===== redirecting to http://localhost/auth
===== Signed out
===== Creating new session
=====     Server:   http://localhost:80
=====     Username: admin
===== Connecting to the server...
===== Signing in...
===== Succeeded
[admin@TableauServer ~]$ 

后续的添加mysql驱动、postgre驱动、、、数据文件备份、、、见官方文档!!!

注意:不能用root账号下安装tableau server,否则恭喜你入坑了。

发布了5 篇原创文章 · 获赞 1 · 访问量 589

猜你喜欢

转载自blog.csdn.net/u012847056/article/details/95086464