参考:
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. 27. ClustrixDB 分布式架构/一致性、容错和可用性

    一致性 许多分布式数据库都采用最终一致性而不是强一致性来实现可伸缩性.但是,最终的一致性会增加应用程序开发人员的复杂性,他们必须针对可能出现的数据不一致的异常进行开发. ClustrixDB提供了一个 ...

  2. ubuntu1804 安装Nvidia驱动-nvidia-docker

    操作 看显卡 lspci | grep N 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2) 0 ...

  3. C语言写数据库(一)

    /*** connect.c ***/ #include<stdio.h> #include<stdlib.h> #include"mysql.h" int ...

  4. [笔记]makefile编写

    makefile的隐含规则默认处理第一个目标 函数:wildcard可以进行文本匹配 patsubst内容替换 变量: $@代表目标 $^  代表全部依赖 $<  第一个依赖 $?   第一个变 ...

  5. 微信小程序_(组件)canvas画布

    canvas画布效果 官方文档:传送门 Page({ canvasIdErrorCallback: function (e) { console.error(e.detail.errMsg) }, o ...

  6. [JZOJ5399]:Confess(随机化)

    题目描述 小$w$隐藏的心绪已经难以再隐藏下去了. 小$w$有$n+1$(保证$n$为偶数)个心绪,每个都包含了$[1,2n]$的一个大小为$n$的子集. 现在他要找到隐藏的任意两个心绪,使得他们的交 ...

  7. LeetCode 15. 三数之和(3Sum)

    题目描述 给定一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组. 注意:答案中不可以包含重复 ...

  8. vim 配置 scala 语法高亮

    第一步:执行下面这个命令: mkdir -p ~/.vim/{ftdetect,indent,syntax}for d in ftdetect indent syntax ; do curl -o ~ ...

  9. 全面解读PHP-数据结构

    一.常见数据结构 1.Array 数组 最简单且应用最广泛的数据结构之一 特性:使用连续的内存来存储,数组中的所有元素必须是相同的类型或类型的衍生(同质数据结构),元素可以通过下标直接访问. 2.Li ...

  10. 【转】数组指针&指针数组

    转自:https://www.cnblogs.com/mq0036/p/3382732.html 数组指针和指针数组的区别 数组指针(也称行指针)定义 int (*p)[n];()优先级高,首先说明p ...