参考:
https://help.tableau.com/current/server-linux/zh-cn/requ.htm
 
先将服务器防火墙80级8850端口打开
临时关闭SELinux/防火墙
setenforce 0
iptables -F
重点 重点 不能用root用户安装 不能用root用户安装 第一步先创建一个安装用户
登录root用户添加组
#添加组
groupadd tableau
#添加安装用户
useradd admin -g tableau
#设置用户密码并激活
passwd admin
 
 
添加普通用户具有sudo权限
修改 /etc/sudoers 需要使用 visudo 指令
visudo
添加代码
a键可以进入编辑模式,移动光标至文末加入以下代码
admin ALL=(ALL) ALL
 
然后ESC退出编辑模式
输入 :wq 保存并退出
 
切换安装用户admin
su admin
cd /home/admin
 
有外网可以用wget命令下载以下任意一个软件安装包
2019.3

wget https://downloads.tableau-china.com/esdalt/2019.3.0/tableau-server-2019-3-0.x86_64.rpm

sudo yum update

2018.2.0
2018.2.2
2018.3.0
注意:如果提示找不到wget命令,可以使用下面的命令安装wget
sudo yum -y install wget
安装后重新用wget下载
 
无外网情况下,将下载好的安装包用FTP工具上传至客户机 /home/admin/下然后开始安装
 
安装包及依赖
 
切换TSM目录启动TSM
cd /opt/tableau/tableau_server/packages/scripts.xxxxxxxxx
sudo ./initialize-tsm --accepteula

//执行“初始化tsm”脚本(initialize-tsm)
Creating directories and setting permissions...
Using '/var/opt/tableau/tableau_server' as the data directory.
Adding user 'tableau' to group 'tableau'... //把用户tableau加入群组tableau
Adding user 'tableau' to group 'tsmadmin'... //把用户tableau加入群组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.
//提醒:上述更改在其他已经打开的shell中无效,退出终端重新登录即可。
Tableau Server runs best with at least 50 GB of free disk space,
but found only 38 GB for the data directory '/var/opt/tableau/tableau_server'.
//硬盘空间不足提醒
Continuing. //继续初始化
Creating environment file... //创建环境文件
Starting TSM services... //启动tsm服务
正在更新 Tableau Server 协调服务中的存储库版本。
TSM services started successfully //TSM服务成功启动
Use the 'tsm' command to continue setting up Tableau Server. //使用tsm命令继续配置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 web interface (and REST API) is now available at
https://localhost.localdomain:8850
You can continue the configuration and initialization of Tableau server using either the TSM command line interface,
or the web interface.
// TSM管理接口已经可用(8850端口),可以继续使用终端命令配置,或者使用web接口配置
You will be prompted to authenticate, or can log in using the username 'tableau', 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.
//系统将提示验证,或者继续使用tableau(配置的用户)登陆。也可以使用同一个域中管理组的其他成员登陆

 
 
admin帐号下执行环境变量(使tsm可用)
source /etc/profile.d/tableau_server.sh
 
到这一步开始有两种继续安装的方式
一、WEB UI
在浏览器访问https://ip:8850按照提示继续安装,安装至最后一步可能会出现要求创建Server账户管理员需要在本地进行
 
登陆界面使用安装用户admin及密码来登陆tableau的后台管理: 可注册,初始化,重启服务,扩展节点等.

最后一步回到命令界面:

tsm查看:

[admin@bi-tableau-1 ~]$ tsm status
Logging in as user 'admin' since no --username flag was given.
Password:
Status: RUNNING
[admin@bi-tableau-1 ~]$ tsm version

 
登陆到TSM服务器
tsm login   或 tsm login -u admin
创建Server账户管理员和密码
tabcmd initialuser --server "localhost:80" --username "admin" --password "admin"
 
http://192.168.0.99  #用80端口进webui
 
 
二、注册方法二(命令行方式)
登陆到TSM服务器
tsm login -u tsmuser
 
激活许可证
tsm licenses activate -k <KEY>
激活试用期
tsm licenses activate -t
 
创建注册文件
sudo vi registration_file.json
编辑模板
{
"zip" : "10000",
"country" : "China",
"city" : "beijing",
"last_name" : "tsmuser",
"industry" : "Software",
"eula" : "yes",
"title" : "Software Applications Engineer",
"phone" : "13344445555",
"company" : "Example",
"state" : "NH",
"department" : "Engineering",
"first_name" : "lee",
"email" : "qqbbss@qq.com"
}
 
更改注册文件归属
sudo chown tableau:admin registration_file.json
 
注册
tsm register --template > ~/registration_file.json
 
配置本地防火墙
tsm topology list-ports
sudo systemctl start firewalld
sudo firewall-cmd --get-default-zone
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
 
创建注册文件
vi file.json
创建身份验证文件示例:
{ "configEntities":{ "identityStore": { "_type": "identityStoreType", "type": "local" } } }
tsm settings import -f ~/file.json
tsm pending-changes apply
tsm initialize --start-server --request-timeout 1800
tabcmd initialuser --server "localhost:80" --username "admin" --password "admin"
 
 
 
卸载及移除
卸载保留配置
完全移除
停用key后执行下列脚本
sudo /opt/tableau/tableau_server/packages/scripts.<version>/tableau-server-obliterate -y -y -y -l
 
 
注意:安装完成后还需要继续将驱动安装
安装postgreSQL驱动(linux版本必须安装)
su admin
 
sudo yum install tableau-postgresql-odbc-9.5.3-1.x86_64.rpm
 
安装其他驱动
Mysql
Mysql5.3之后(不包含5.3)ODBC
wget https://cdn.mysql.com//Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.12-1.el7.x86_64.rpm
 
sudo yum install mysql-connector-odbc-8.0.12-1.el7.x86_64.rpm
 
安装完成后检查配置文件是否正确
vi /etc/odbcinst.ini
检查是否包含下列配置信息
Driver=/usr/lib64/libmyodbc5w.so UsageCount=1
如果没有就将这段信息复制进去

tableau单机版安装的更多相关文章

  1. Oracle Primavera P6 R84单机版安装教程

    本教程用于指导Oracle Primavera P6 R84版本的单机版安装过程.P6 R84版本于2014年9月30日发布.其功能较之前版本有较大提升.单机版的安装方式也发生了很大的变化.P6 R8 ...

  2. SQL Server 2008 (R2) 单机版安装的先决条件

    原文:SQL Server 2008 (R2) 单机版安装的先决条件 出自:http://blogs.msdn.com/b/apgcdsd/archive/2012/03/07/sql-server- ...

  3. hadoop单机版安装及基本功能演示

    本文所使用的Linux发行版本为:CentOS Linux release 7.4.1708 (Core) hadoop单机版安装 准备工作 创建用户 useradd -m hadoop passwd ...

  4. Redis单机版安装

    1.工具简单介绍 1.博主使用的是Xshell工具 ps:需要设置端口和连接名称,端口一般默认为22,需要的童鞋可以自行百度 2.Redis单机版安装 第一步:安装gcc编译环境 yum instal ...

  5. 【HBase】HBase 单机版安装及使用

    HBase介绍 HBase是一个分布式的.面向列的开源数据库,该技术来源于 Fay Chang 所撰写的Google论文“Bigtable:一个结构化数据的分布式存储系统”.就像Bigtable利用了 ...

  6. hbase单机版安装

    hbase单机版安装 1.      hbase单机版安装 HBase的安装也有三种模式:单机模式.伪分布模式和完全分布式模式. hbase依赖于Hadoop和Zookeeper. 这里安装的是单机版 ...

  7. Hadoop单机版安装,配置,运行

    Hadoop是最近非常流行的东东啦,但是乍一看都觉得是集群的东东,其实在单机版上安装Hadoop也是可以的,并且安装好以后可以很方便的进行程序的调试,调试好程序以后再丢到集群中,放心的算吧,呵呵.. ...

  8. solr单机版安装与基本部署

    安装solr准备工作: linux/tomcat/jdk solr单机版的安装 1.解压缩tomcat安装包 tar -zxf tomcat-xxx.tar.gz 2.创建文件夹:mkdir /usr ...

  9. hbase 单机版安装

    1.安装jdk参见http://www.cnblogs.com/lvlv/p/4337863.html 安装路径:/usr/java/jdk1.7.0_79 2.下载hbase   http://mi ...

随机推荐

  1. Angular7和leaflet一起使用时的作用域不一致

    Angular7和leaflet一起使用时的作用域不一致问题,使用(e) =>可以完美解决. 使用原始的JavaScript: map.on("click", functio ...

  2. element-ui 弹出添加拖拽功能

    1.新建dialog.js文件2.在main.js 中引入dialog.js  import ‘./utils/dialog.js’3. 使用:<el-dialog v-dialogDrag&g ...

  3. Unknown or unsupported command 'install'

    由于电脑中存在多个python,导致pip install numpy出现标题这样的错误 结局方案; 在想要的python文件夹中的Scripts,shift右键点开命令行,pip.exe insta ...

  4. CentOS7安装MySQL报错Failed to start mysqld.service: Unit not found解决办法

    1 ~]# systemctl start mysql.service 要启动MySQL数据库是却是这样的提示 1 ~]# Failed to start mysqld.service: Unit n ...

  5. k8b部署prometheus+grafana

    来源: https://juejin.im/post/5c36054251882525a50bbdf0 https://github.com/redhatxl/k8s-prometheus-grafa ...

  6. 在linux 下安装nginx

    1.编译安装Nginx 官网:http://wiki.nginx.org/Install 下载 # wget http://nginx.org/download/nginx-1.8.0.tar.gz ...

  7. CF 354 D 迷宫与门的旋转 BFS +状态压缩 一定要回头看看

    D. Theseus and labyrinth time limit per test 3 seconds memory limit per test 256 megabytes input sta ...

  8. Linux命令-文件管理(三)

    Linux more命令 Linux more 命令类似 cat ,不过会以一页一页的形式显示,更方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按 b 键就会往回(bac ...

  9. JavaWeb_Servlet生命周期

    菜鸟教程 传送门 Servlet生命周期 package com.Gary.servlet; import java.io.IOException; import javax.servlet.Serv ...

  10. XFF和referer

    XFF构造来源IP Refer构造来源浏览器