to be
a problem slover

tableau server installation guide

Official guide

Before install

Make sure your hardware meets the requirement.

Install tableau server and TSM

I wrote this script for quick install.

You need to specific few params:

  • VERSION: The tableau server version. You can find the release list here
  • ARCH: Your linux server architecture
  • DATA_DIR: Path to store tablue server data
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail

TABLEAU=tableau-server-`echo "$VERSION" | sed -r 's/\./-/g'`.$ARCH.rpm

cd ~
sudo yum update -y
if [[ ! -f $TABLEAU ]]; then
sudo yum install $TABLEAU -y
cd /opt/tableau/tableau_server/packages/scripts.*
sudo ./initialize-tsm --accepteula --activation-service -d $DATA_DIR


Creating 'tsmadmin' group for TSM admin authorization
Creating 'tableau' unprivileged user account
Creating environment file...
Creating directories and setting permissions...
Using '/data/tableau' as the data directory.
Adding user 'ec2-user' to group 'tableau'...
Adding user 'ec2-user' 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.
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/
The TSM administrative web interface (and REST API) is now available at
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 'ec2-user', 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.

Activate & initialize tableau

Visit https://<your_server_ip>:8850, ignore the https certificate warning.

Use your linux user’s name and password to login TSM.

Get your tableau server key at

Activate tableau.

Create tableau server admin account

After avtivate, visit http://<your_server_ip> your will get a note:

Tableau Server is not completely set up.
An administrator must connect to the server via “localhost” to complete setup.

Execute this command to create admin user:

tabcmd initialuser --server 'localhost:80' --username '<admin-user-name>' --password '<admin-password>'


===== redirecting to http://localhost/auth
===== Signed out
===== Creating new session
=====     Server:   http://localhost:80
=====     Username: admin
===== Connecting to the server...
===== Signing in...
===== Succeeded

All done, now you can visit http://<your_server_ip>, login to server by admin user.

Data source driver

You can find most of drivers at

But some database may not in the list, e.g. clickhouse.

Install clickhouse JDBC driver for tableau server


connector repo:

I transalated the steps into bash script:

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail


sudo mkdir -p /opt/tableau/tableau_driver/jdbc
cd /opt/tableau/tableau_driver/jdbc
sudo chmod 755 /opt/tableau/tableau_driver/jdbc/*

cp /tmp/clickhouse_jdbc*.taco $DATA_DIR/data/tabsvc/vizqlserver/Connectors/
cp /tmp/clickhouse_jdbc*.taco $DATA_DIR/data/tabsvc/flowprocessor/Connectors/
if [[ -d $DATA_DIR/data/tabsvc/flowqueryservice/Connectors ]]; then
    cp /tmp/clickhouse_jdbc*.taco $DATA_DIR/data/tabsvc/flowqueryservice/Connectors/
if [[ -d $DATA_DIR/data/tabsvc/flowminerva/Connectors ]]; then
    cp /tmp/clickhouse_jdbc*.taco $DATA_DIR/data/tabsvc/flowminerva/Connectors/
sudo chown -R tableau:tableau $DATA_DIR/data/tabsvc

tsm restart

After restart, you can see the newly added clickhouse connector:

Uninstall tableau server

tsm licenses deactivate -k <license-key>
sudo /opt/tableau/tableau_server/packages/scripts.*/tableau-server-obliterate -a -y -y -y -l

Install Clickhouse driver for tableau desktop

download driver:

driver path: ~/Library/Tableau/Drivers

download connector:

connector path: ~/Documents/My Tableau Repository/Connectors

Install MongoDB driver for tableau desktop

For connect MongoDB to tableau, you need install MongoDB Connector for BI (guideline), so that you can use sql.

The actual driver used is mysql.

Install trino driver for tableau desktop

Trino is renamed from Presto, but tableau still use the name Presto, same thing.


driver path: ~/Library/Tableau/Drivers

Summarize – generic JDBC driver install method

Put driver jar file in Tableau JDBC driver path, make sure the jar file permission is 755.

Windows: C:\Program Files\Tableau\Drivers
Mac: /Library/JDBC or ~/Library/JDBC
Linux: /opt/tableau/tableau_driver/jdbc
赞(5) 打赏
欢迎转载,注明出处:刘世明的博客 » tableau server installation guide

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址