How to Install Tableau Server on REHL/Windows Env

How to Install Tableau Server on REHL/Windows Env

Table of Contents

What is Tableau

What if your data could speak? With Tableau, it can—through stunning visuals, interactive dashboards, and powerful insights. So to make these stunning visuals available for a larger audience once must have a Tableau Server. So follow me till end if you want to Install on your instance

Key Points:

  • 🖥️ Hardware Requirements: Least of 8 cores (16 vCPUs) with 2.0 GHz or higher and 128 GB RAM for Tableau Server rendition 2022.3 or later. Prior adaptations require less RAM (64 GB for 2021.4.x to 2022.1.x, 32 GB for 2021.3.x or prior). Plate space: Least 50 GB suggested Tableau Help
  • 🌐 Multi-Node Deployments: Each node in a multi-node Tableau Server cluster must meet or exceed hardware recommendations and must use the same operating system and version across nodes. Dedicated nodes for specific tasks (e.g., Tableau Prep Conductor) have lower requirements​ Tableau Help
  • 🛠️ Installation Directory: Tableau Server installs on the system drive by default but allows customisation during installation. Log files and data directory locations depend on the installation path​ Tableau Help
  • ☁️ Cloud Deployments: For cloud setups (AWS, Google Cloud, Azure), vCPU requirements are double the physical core requirements due to hyper-threading​ Tableau Help
  • 🔄 Scalability Testing: Organisation should assess their extract storage needs by testing with sample extracts. Repository backups also require storage planning​ Tableau Help
  • 🔒 Licensing Considerations: Ensure licenses are deactivated before cloning a virtual machine to avoid licensing issues​ Tableau Help

Prerequisites:

Ensure the following firewall settings are configured to allow Tableau Server traffic. Note that port 443 cannot be modified:

  • Port 80: Used by Gateway
  • Port 443: Used for SSL configuration
  • Port 8850: Used for TSM (Tableau Server Manager) Configuration
  • Port 8860: Used for PostgreSQL Database

Install the Initial Node of Tableau Server (Linux Server)

This procedure describes how to install the initial node of Tableau Server as defined by the reference architecture. The procedure uses the TSM command line whenever possible, as it is platform-agnostic and works well in virtualised and headless environments.

Step-by-Step Installation

  1. Update Dependencies: Update the Linux server and its dependencies
sudo yum update
  1. Install nano (Editor for Configuration Files) This step allows you to edit configuration files:
sudo yum install nano

!Image Description

  1. Install wget (for Downloading Files) This is needed to download the Tableau Server .rpm file:
sudo yum install wget

!Image Description

  1. Set Admin Password Change the password for the root admin user:
sudo passwd  
su root  
passwd {username_here}

!Image Description

  1. Add User to the Root User List !Image Description Check the permissions and add the user to the wheel group: Save the changes with :wq!, then exit by typing exit.
cat /etc/group  # View group and permissions
vi /etc/group   # Edit the file

Image Description

  1. Download the Tableau Server RPM File Download the .rpm file for Tableau Server (version 2020.4.24 in this example):
wget https://downloads.tableau.com/esdalt/2020.4.24/tableau-server-2020-4-24.x86_64.rpm

!Image Description

  1. Install Tableau Server Run the following command to install the server:
sudo yum install tableau-server-2020-4-24.x86_64.rpm

!Image Description
!Image Description
!Image Description

  1. Handling Server Configuration Alerts If the server configuration is insufficient, an alert will be displayed. You may need to address any hardware or configuration issues based on the alert.!! !Image Description !Image Description

  2. Navigate to the Tableau Server Directory Go to the Tableau server package directory to initialise TSM:

cd /opt/tableau/tableau_server/packages/<script-version>

!Image Description

  1. Initialise TSM Initialise Tableau Server with the following command:
sudo ./initialize-tsm --accepteula

!Image Description

  1. Access TSM Configuration Web Page Open the following URL in a browser to complete the configuration:
<Url>:8850

!Image Description

!Image Description

!Image Description

!Image Description

User Authentication Methods

When installing Tableau Server, you must select a method for managing users. This decision is crucial as it cannot be changed once chosen.

Local Authentication

User accounts (including usernames and passwords) are managed locally on the Tableau Server. Administrators can automate user creation via CLI commands. Users will have separate credentials from the system.

Active Directory

If using Active Directory, Tableau Server connects to your Microsoft AD to manage users. No separate credentials are required for Tableau, as users authenticate via AD.

Here is a well-formatted version of your instructions, following your specifications for header and text sizes. I’ve also organised it for readability and clarity:

!Image Description

!Image Description

!Image Description

!Image Description

License Activation

You will be prompted to provide a Tableau Server license or opt for a trial version.

Server Configuration

During installation, you will choose between Local Authentication and Active Directory integration. This decision cannot be changed later, so ensure the correct option is selected.

Post-Installation Setup on Linux

Add Server Admin User via CLI To add the initial admin user:

tabcmd initialuser --server http://localhost --username "new-admin-username"

!Image Description

Configure PostgreSQL Driver

Download PostgreSQL Driver

Download the PostgreSQL JDBC driver from Tableau’s official site:

sudo wget https://downloads.tableau.com/drivers/linux/postgresql/postgresql-42.3.3.jar

!Image Description

Check Server Status

To verify if the PostgreSQL driver is properly configured, check the server status:

Go to Server Status → Analysis → Traffic If you see an error, the PostgreSQL driver might not be configured correctly. !Image Description

!Image Description

Configure the Driver

Copy the downloaded .jar file to the following directory (you may need to create it manually):

/opt/tableau/tableau_driver/jdbc

!Image Description

Restart Tableau Server

Restart Tableau Server to apply changes and confirm that the backend information is visible.

Create a PostgreSQL User

Create a user for logging into PostgreSQL:

tsm data-access repository-access enable --repository-username "your-desired-username" --repository-password "your-desired-password"
tsm data-access repository-access enable --repository-username "your-desired-username" --repository-password "your-desired-password"

!Image Description

Tableau Server Initialisation (Windows Installation)

The installation process for Tableau Server on Windows is similar to the Linux installation process, with some platform-specific steps. The following steps are identical:

  1. Sign in as a user with administrator access: To install you must have an admin access

  2. Follow the on-screen instructions to complete the Setup and install the application!![ !Image Description

  3. Click Next ! - On the Server installation type page, you can specify whether you are installing the first node of a Server installation or additional nodes in a multi-node installation. You do not need to change this from the default (Create a new Tableau Server installation.) unless you are installing a multi-node Tableau Server
    !Image Description

  4. Click Next.- On the Product activation type page, select whether you want to use the Tableau authorization-to-run (ATR) service to activate Tableau Server (the default), and then click Install. For more information about the Tableau authorization -to-run (ATR) service

    After the installation completes, click Finish. Setup will then open the TSM configuration web page on the computer where you are installing Tableau Server.
    !Image Description

comments powered by Disqus

Related Posts

How Data Analytics Transformed a Fast-Rising Retail Business

How Data Analytics Transformed a Fast-Rising Retail Business

How to Solve Business Problems with Tableau: A Success Story in the Car Industry

Beginning a business is a challenge, but its sustenance in growth is where one actually needs to put in hard work. Visualise an automobile part-selling shop of brakes, exhausts, tyres, lubricants, and car interiors. As long as it takes off, money was there in its initial periods, but when time begins, varied demands of the customer, an unbalanced stock, and economic conditions started coming up. Issues were to be solved at their hands.

Read More
Tips, Tricks, and Best Practices for Effective Design and Analysis

Tips, Tricks, and Best Practices for Effective Design and Analysis

Mastering Tableau Dashboards: Tips, Tricks, and Best Practices for Effective Design and Analysis

These tips and tricks for working with Tableau dashboards are always great, helping users as well as developers to utilise them in the most efficient way possible. It explains various strategies surrounding understanding, debugging, and enhancing the interactivity and clarity of Tableau dashboards. Here are the main points:

Read More
Transform Business Insights Across Industries

Transform Business Insights Across Industries

Unlocking the Power of Tableau: Transforming Business Insights Across Industries

Data visualisation is an essential tool for businesses striving to unlock actionable insights from vast datasets. Tableau, one of the leading data visualisation platforms, plays a crucial role in enabling organizations across various industries to make data-driven decisions. In this blog, we’ll explore how Tableau empowers creators, explorers, and viewers, along with its impactful use cases across domains like retail, healthcare, finance, marketing, and more.

Read More