Tableau Server 10.5.2 is out and it comes with a lot of bug fixes for our linux version. It is very stable and i think it’s ready for production environment.
Most people can check out this documentation here.
Linux administrators who need configuration detail for different environment requirements can check here.
If this is your first time then this is my recommendations:
- use Red Hat Enterprise Linux (RHEL) 7.3. This is the best version to use. But i don’t have Red Hat subscription so i will use Centos 7.3. Buy that RHEL subscription, it is worthed 🙂
- Disable auto update in the RHEL 7.3.
- Use Tableau latest version: currently 10.5.2
- Use Local Authentication. Find LDAP expert if you want to setup LDAP Authentication, you will need their help to properly setup LDAP authentication.
- Start with Single Node. Install and configure it properly, it’s easy to add Worker node later.
- Learn the new TSM commands that replaced Tabadmin. There is no Tabadmin in Linux version. Tabcmd is still available. The list of comparison between tabadmin and tsm is available here.
Ok let’s install Tableau Server 10.5.2 on Centos 7.3.
As usual, download the installer from tableau website, enable ssh for remote administration, and open TCP port 80 and 8850 with firewall-cmd commands.
If you’re not sure what to type then just follow below commands:
Disable Automatic Update:
sudo systemctl stop packagekit
sudo systemctl disable packagekit
Enable SSH for remote administration:
sudo yum install openssh-server
sudo systemctl start sshd
sudo systemctl enable sshd
sudo systemctl status sshd
Install firewall:
sudo yum install firewalld
sudo systemctl start firewalld
Open tcp port 80 and 8850 in firewall:
sudo firewall-cmd –list-all
sudo firewall-cmd –set-default-zone=public
sudo firewall-cmd –permanent –add-port=80/tcp
sudo firewall-cmd –permanent –add-port=8850/tcp
sudo firewall-cmd –reload
sudo firewall-cmd –list-all
Ok let’s install Tableau Server 10.5.2:
Make sure TCP port 80 and 8850 is opened:
[centosadmin@cent1052 ~]
$ sudo firewall-cmd –list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client mdns ssh
ports: 80/tcp 8850/tcp
protocols:
masquerade: no
forward-ports:
sourceports:
icmp-blocks:
rich rules:
[centosadmin@cent1052 ~]
$ cd Downloads/
[centosadmin@cent1052 Downloads]
$ ls
AD config.json local-authentication.json registration_file.json tableau-server-10-5-2.x86_64.rpm
Install Tableau Server 10.5.2
[centosadmin@cent1052 Downloads]
$ sudo yum install tableau-server-10-5-2.x86_64.rpm
[sudo]
password for centosadmin:
Loaded plugins: fastestmirror, langpacks
Examining tableau-server-10-5-2.x86_64.rpm: tableau-server-10500.18.0305.1200-10500-18.0305.1200.x86_64
Marking tableau-server-10-5-2.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package tableau-server-10500.18.0305.1200.x86_64 0:10500-18.0305.1200 will be installed
–> Processing Dependency: freeglut for package: tableau-server-10500.18.0305.1200-10500-18.0305.1200.x86_64
Loading mirror speeds from cached hostfile
* base: mirror.qoxy.com
* extras: mirror.qoxy.com
* updates: mirror.qoxy.com
–> Processing Dependency: redhat-lsb-core for package: tableau-server-10500.18.0305.1200-10500-18.0305.1200.x86_64
–> Running transaction check
—> Package freeglut.x86_64 0:2.8.1-3.el7 will be installed
—> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be installed
–> Processing Dependency: redhat-lsb-submod-security(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
–> Processing Dependency: spax for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
–> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
–> Running transaction check
—> Package m4.x86_64 0:1.4.16-10.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
–> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
tableau-server-10500.18.0305.1200 x86_64 10500-18.0305.1200 /tableau-server-10-5-2.x86_64 2.8 G
Installing for dependencies:
freeglut x86_64 2.8.1-3.el7 base 182 k
m4 x86_64 1.4.16-10.el7 base 256 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
Transaction Summary
==============================================================================================================================
Install 1 Package (+5 Dependent packages)
Total size: 2.8 G
Total download size: 751 k
Installed size: 2.8 G
Is this ok [y/d/N]: y
Downloading packages:
(1/5): redhat-lsb-core-4.1-27.el7.centos.1.x86_64.rpm | 38 kB 00:00:00
(2/5): m4-1.4.16-10.el7.x86_64.rpm | 256 kB 00:00:00
(3/5): freeglut-2.8.1-3.el7.x86_64.rpm | 182 kB 00:00:00
(4/5): spax-1.5.2-13.el7.x86_64.rpm | 260 kB 00:00:00
(5/5): redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64.rpm | 15 kB 00:00:00
——————————————————————————————————————————
Total 1.5 MB/s | 751 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : freeglut-2.8.1-3.el7.x86_64 1/6
Installing : m4-1.4.16-10.el7.x86_64 2/6
Installing : spax-1.5.2-13.el7.x86_64 3/6
Installing : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64 4/6
Installing : redhat-lsb-core-4.1-27.el7.centos.1.x86_64 5/6
Your hardware meets the minimum requirements for a trial of Tableau Server.
If you plan to run Tableau Server in a production environment, we recommend the following hardware specifications: http://www.tableau.com/products/server/specs
Tableau Server runs best with at least 32 GB memory, but found only 12 GB of memory.
Tableau Server runs best with at least 8 cores, but found only 4 core(s).
Installing : tableau-server-10500.18.0305.1200-10500-18.0305.1200.x86_64 6/6
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.10500.18.0305.1200/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 : redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64 1/6
Verifying : spax-1.5.2-13.el7.x86_64 2/6
Verifying : tableau-server-10500.18.0305.1200-10500-18.0305.1200.x86_64 3/6
Verifying : redhat-lsb-core-4.1-27.el7.centos.1.x86_64 4/6
Verifying : m4-1.4.16-10.el7.x86_64 5/6
Verifying : freeglut-2.8.1-3.el7.x86_64 6/6
Installed:
tableau-server-10500.18.0305.1200.x86_64 0:10500-18.0305.1200
Dependency Installed:
freeglut.x86_64 0:2.8.1-3.el7 m4.x86_64 0:1.4.16-10.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
Complete!
Initialize the server:
[centosadmin@cent1052 Downloads]
$ cd /opt/tableau/tableau_server/packages/scripts.10500.18.0305.1200/
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ sudo ./initialize-tsm –accepteula
[sudo]
password for centosadmin:
Creating ‘tableau’ group for Tableau Server
Creating ‘tsmadmin’ group for TSM admin authorization
Creating ‘tableau’ unprivileged user account
Creating ‘tsmagent’ privileged user account
Creating directories and setting permissions…
Using ‘/var/opt/tableau/tableau_server’ as the data directory.
Adding user ‘centosadmin’ to group ‘tableau’…
Adding user ‘centosadmin’ 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.
Tableau Server runs best with at least 50 GB of free disk space,
but found only 42 GB for the data directory ‘/var/opt/tableau/tableau_server’. Continuing.
Adding sudo capability for privileged user…
Creating environment file…
Starting TSM services…
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 REST API endpoint is available at
cent1052.centos:8850
Use the TSM command line interface to interact with TSM. There is no browser-accessible web UI in this release.
You will be prompted to authenticate, or can log in using the username ‘centosadmin’, with the same password you used to log into this session (or any other username in the administrative group and with its password).
Done.
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ source /etc/profile.d/tableau_server.sh
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ tsm login -u centosadmin
Password:
Activate 14-days Trial License:
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ tsm licenses activate -t
Trial activated.
Register it:
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ tsm register –file ~/Downloads/registration_file.json
Registration complete.
[centosadmin@cent1052 scripts.10500.18.0305.1200]
$ cd ~/Downloads/
[centosadmin@cent1052 Downloads]
$ ls -al
total 1461252
drwxr-xr-x. 2 centosadmin centosadmin 131 Apr 4 11:53 .
drwx——. 16 centosadmin centosadmin 4096 Apr 4 12:20 ..
-rw-rw-r–. 1 centosadmin centosadmin 299 Apr 4 10:35 AD config.json
-rw-rw-r–. 1 centosadmin centosadmin 112 Apr 4 11:53 local-authentication.json
-rw-rw-r–. 1 centosadmin centosadmin 329 Apr 4 10:36 registration_file.json
-rw-rw-r–. 1 centosadmin centosadmin 1496302624 Apr 4 10:35 tableau-server-10-5-2.x86_64.rpm
Enable Local Authentication:
[centosadmin@cent1052 Downloads]
$ cat local-authentication.json
{
“configEntities”:{
“identityStore”: {
“_type”: “identityStoreType”,
“type”: “local”
}
}
}[centosadmin@cent1052 Downloads]$ tsm settings import -f local-authentication.json
[centosadmin@cent1052 Downloads]
$ tsm pending-changes apply
This operation will perform a server restart. Are you sure you wish to continue?
(y/n): y
Starting deployments asynchronous job.
9% – Retrieving the topology to deploy.
18% – Retrieving the configuration to deploy.
27% – Validating the new topology.
36% – Determining if server needs to be started.
45% – Disabling all services.
54% – Waiting for the services to stop.
63% – Updating nodes to new topology.
72% – Waiting for topology to be applied.
81% – Updating nodes to new configuration.
90% – Reconfiguring services.
100% – Waiting for services to reconfigure and start.
Successfully deployed nodes with updated configuration and topology version.
Initialize and start the server:
[centosadmin@cent1052 Downloads]
$ tsm initialize –start-server –request-timeout 5000
Initializing the server…
3% – Validating that there are no pending changes.
7% – Generating passwords.
11% – Initializing the topology.
14% – Checking if required database services are present.
18% – Disabling database services.
22% – Installing the maintenance app.
25% – Connecting to the database maintenance app at host: ‘localhost’, port: ‘8999’.
29% – Initializing the temporary database instance.
33% – Starting the temporary database instance.
37% – Creating roles and databases.
40% – Running migrations.
44% – Localizing the default projects.
48% – Stopping the temporary database instance.
51% – Making the temporary database default.
55% – Enabling the database services.
59% – Removing the database maintenance app.
62% – Generating new asset key.
66% – Saving asset key.
70% – Finalizing the topology.
74% – Reconfiguring services.
77% – Waiting for services to reconfigure and start.
81% – Initializing the next active repository.
85% – Enabling the services required for indexing.
88% – Rebuilding the search index.
92% – Finalizing the initialization.
96% – Enabling all services.
100% – Waiting for the services to start.
Server was initialized successfully.
Create the administrator user:
[centosadmin@cent1052 Downloads]
$ 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
Check if the server running perfectly:
[centosadmin@cent1052 Downloads]
$ tsm status -v
node1: localhost
Status: RUNNING
‘Tableau Server Gateway 0’ is running.
‘Tableau Server Application Server 0’ is running.
‘Tableau Server VizQL Server 0’ is running.
‘Tableau Server Cache Server 0’ is running.
‘Tableau Server Coordination Service 0’ is running.
‘Tableau Server Cluster Controller 0’ is running.
‘Tableau Server Search And Browse 0’ is running.
‘Tableau Server Backgrounder 0’ is running.
‘Tableau Server Data Server 0’ is running.
‘Tableau Server Data Engine 0’ is running.
‘Tableau Server File Store 0’ is running.
‘Tableau Server Repository 0’ is running (Active Repository).
‘Tableau Server Administration Agent 0’ is running.
‘Tableau Server Administration Controller 0’ is running.
‘Tableau Server Service Manager 0’ is running.
‘Tableau Server License Manager 0’ is running.
‘Tableau Server Database Maintenance 0’ is stopped.
‘Tableau Server Backup/Restore 0’ is stopped.
‘Tableau Server Site Import/Export 0’ is stopped.
‘Tableau Server SAML Service 0’ is stopped.
Well done!
Don’t forget to buy the license after 14-days 🙂
Enjoy today friends.

[…] Previous […]
LikeLike