Tableau 安装
安装前准备
用户组和用户创建
useradd tabadmin
passwd tabadmin
groupadd tabadmin
# tabadmin!QAZ2wsx
usermod -G tabadmin -a tabadmin
加入sudoers
vi /etc/sudoers
tabadmin ALL=(ALL) ALL
下载安装包
切换到tsmadmin用户,cd到用户文件夹
su tabadmin
cd ~
wget https://downloads.tableau-china.com/tssoftware/tableau-server-2019-2-1.x86_64.rpm
sudo yum install tableau-server-2019-2-1.x86_64.rpm -y
# 备注:指定目录
# sudo rpm -i --prefix /data1/tableau/install tableau-server.rpm
安装后准备
tsm
cd /opt/tableau/tableau_server/packages/scripts.10500.18.0109.1050/
sudo ./initialize-tsm --accepteula
# 备注:
# sudo ./initialize-tsm --accepteula -d /data1/tableau/data/tableau/tableau_server
source /etc/profile.d/tableau_server.sh
启动完成后,默认用户密码为 tsmadmin/tsmadmin 即是当前用户的用户名和密码。
启动
tabcmd initialuser --server 0.0.0.0:80 --username admin
开启ticket
tsm configuration set -k wgserver.unrestricted_ticket -v true
tsm authentication trusted configure -th 0.0.0.0/0
tsm pending-changes apply
直接配置0.0.0.0/0 可能不会生效,前面还是要配置几个ip
驱动准备
mysql驱动
wget https://cdn.mysql.com//Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.16-1.el7.x86_64.rpm
sudo yum install -y mysql-connector-odbc-8.0.16-1.el7.x86_64.rpm
性能监控
https://github.com/tableau/tabjolt/blob/TabjoltForTableauServer9/TabJolt%20Installation%20Guide.pdf
### 参考文档
[添加信任主机](https://onlinehelp.tableau.com/current/server/zh-cn/trusted_auth_trustIP.htm)
[public帮助文档](https://www.tableau.com/zh-cn/support/public)
[日志位置](https://onlinehelp.tableau.com/current/server/zh-cn/logs_loc.htm)
[嵌入文档](https://tableau.github.io/embedding-playbook/pages/04_multitenancy_and_rls)
[帮助页面](https://www.tableau.com/zh-cn/support/help)
[iframe嵌入代码参数](https://onlinehelp.tableau.com/current/pro/desktop/zh-cn/embed_list.htm#iframe-%E6%A0%87%E8%AE%B0%E7%9A%84-url-%E5%8F%82%E6%95%B0)