Tableau 2019.3 新機能紹介:Debian 9.0+ ディストリビューションにTableau Serverがインストールできるようになりました #tableau

デービーアーン!
2019.09.20

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

こんちわ。DA事業本部@大阪オフィスの玉井です。

日本時間2019年09月18日(水)、Tableauの最新バージョンとなる「v2019.3」がリリースされました。

当エントリでは、バージョン2019.3の新機能の中から「Debian 9.0+ Linux サポート」についてご紹介したいと思います。

概要

Tableau Server linux版の対応ディストリビューションにDebianが追加されました。

やってみた

インスタンスの用意

下記のEC2インスタンスを用意しました。

  • debian-stretch-hvm-x86_64-gp2-2019-08-13-5924
  • m4.4xlarge
  • EBS(100GB)

セットアップ

作業開始~インストーラのダウンロード

インスタンスにssh接続し、下記を実行します。

$ sudo apt-get update
Ign:1 http://cdn-aws.deb.debian.org/debian stretch InRelease
Get:2 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:3 http://cdn-aws.deb.debian.org/debian stretch Release
Get:4 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Fetched 185 kB in 0s (369 kB/s)
$ sudo apt-get -y install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  gdebi-core

  (省略)

インストーラーをダウンロードします。

$ wget https://downloads.tableau.com/esdalt/2019.3.0/tableau-server-2019-3-0_amd64.deb -P /tmp
--2019-09-20 05:52:09--  https://downloads.tableau.com/esdalt/2019.3.0/tableau-server-2019-3-0_amd64.deb
Resolving downloads.tableau.com (downloads.tableau.com)... 184.26.113.251

(省略)

~TSM

インストーラーを実行します。

$ sudo gdebi -n /tmp/tableau-server-2019-3-0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

(省略)

次にTableau Serverの管理システムであるTSMを準備するスクリプトを実行します。

$ sudo /opt/tableau/tableau_server/packages/scripts.20193.19.0913.2225/initialize-tsm --accepteula
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.

(省略)

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.

最後のメッセージの通り、次からTSMを利用してインストール作業を続行できる状態になりました。今回はWebブラウザからTSMにログインして設定を進めます。

~インストール完了

TSM用のユーザーを作成しておきます。

$ sudo useradd tama
$ sudo passwd tama
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
$ sudo usermod -G tsmadmin -a tama

このユーザーでTSMにログインします。

後は、他のTableau Server同様、画面の指示に従ってインストールを行います。

最後の初期化工程まで完了すればもう一息。Tableau Serverユーザー第一号を作成します。

$ tabcmd initialuser --server 'localhost:80' --username 'admin_debian'
Password:
===== redirecting to http://localhost/auth
===== Signed out
===== Creating new session
=====     Server:   http://localhost:80
=====     Username: admin_debian
===== Connecting to the server...
===== Signing in...
===== Succeeded

上記ユーザーでログイン!

無事、Tableau Serverのインストール及びログインが完了しました。

おわりに

Debian系に慣れている管理担当者は一度お試しください。