bi_tableau - tetsuyaf1100/hello-world GitHub Wiki
Tableau構築
検証環境
- ハードウェア
- 仮想サーバ 12コア, メモリ24G
- OS
- CentOS Linux release 7.8.2003 (Core)
Note: 最小ハードウェア要件
CPU: 8コア
メモリ: 16G
https://help.tableau.com/current/server/ja-jp/server_hardware_min.htm
Note: コンテナについて
サポート対象外
https://kb.tableau.com/articles/issue/tableau-server-on-linux-cannot-be-installed-in-a-virtual-container?lang=ja-jp
install
wget https://downloads.tableau.com/esdalt/2020.1.0/tableau-server-2020-1-0.x86_64.rpm
yum update -y && yum install -y tableau-server-2020-1-0.x86_64.rpm
設定
cd /opt/tableau/tableau_server/packages/scripts.20201.20.0220.1252
./initialize-tsm --accepteula -f -a myuser
Note:
ファイルのダウンロード
https://www.tableau.com/ja-jp/support/releases/server/2020.1#esdalt
tsm security
https://help.tableau.com/current/server/ja-jp/cli_security_tsm.htm#external-ssl-enable
ブラウザからhttps://localhost:8850/ に接続
traial license ボタンを押す
初期設定を行う(デフォルトポートを80に設定等)
- Tableau Server 用の初期管理アカウントを作成
tabcmd initialuser --server http://localhost --username "tableau-admin"
Password:
===== redirecting to http://localhost/auth
===== Signed out
===== Creating new session
===== Server: http://localhost
===== Username: tableau-admin
===== Connecting to the server...
===== Signing in...
===== Succeeded
Note: https://help.tableau.com/current/server/ja-jp/startup.htm
動作確認
ブラウザからhttp://localhost/ に接続
https化
- Add Nginx yum repository
# vim /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
Note: Nginx install
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/
- install
# yum install -y nginx
- setting
# ls /etc/nginx/ssl/
server.crt server.key
# cat default.conf
server {
listen 443 ssl;
server_name localhost;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
client_max_body_size 500m;
location / {
proxy_pass http://localhost:80;
proxy_set_header X-Forwarded-Server $host;
proxy_redirect default;
}
# firewall-cmd --zone=public --add-port=443/tcp --permanent
# firewall-cmd --reload
- start
# systemctl enable nginx
# systemctl start nginx