How to Install Tableau Server on Linux
Setting up your own Tableau Server on a Linux machine gives you a powerful, self-hosted platform for your company's data analytics. While the process is detailed, it's entirely manageable with a clear plan. This guide provides a complete, step-by-step walkthrough to get you from a bare Linux server to a fully functional Tableau Server instance, ready for your first dashboard.
Pre-Installation Checklist: Gather Your Resources
A successful installation starts with good preparation. Before you type the first command, make sure you have everything in order. Running through this checklist first will save you from common headaches and frustrating restarts down the line.
Recommended Server Hardware
Tableau Server can be resource-intensive, especially as user-load and data volumes grow. While you can run it on less for a small proof-of-concept, sticking to the minimum recommendations from Tableau is the best starting point for any production environment.
- CPU: 8 physical cores / 16 vCPUs (2.0 GHz or higher) is the baseline. Performance is directly tied to core count and speed.
- RAM: 64 GB of system memory is the minimum recommendation. Don't skimp here, insufficient RAM is a common cause of poor performance.
- Disk Space: At least 100 GB of free disk space, with most of that on a fast drive (like an SSD). This doesn't include space for your data extracts or backups, so plan accordingly.
Supported Linux Distributions
Tableau officially supports a specific list of Linux operating systems. Installing on an unsupported version is a recipe for errors. Make sure your OS matches one of these:
- Red Hat Enterprise Linux (RHEL) 7.3+, 8.3+, 9.0+
- CentOS 7.3+ (but keep in mind CentOS 7's end-of-life)
- Oracle Linux 7.3+, 8.3+, 9.0+
- Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS
- Debian 9, 10, 11
Always check the latest Tableau Server Tech Specs page for the most current list before starting.
User Accounts and Permissions
For security, you should not run a Tableau Server installation as the root user. Create a standard user account that has sudo privileges. This allows the user to execute commands with administrative rights when needed without being logged in as root all the time.
Network and Firewall Access
Your Tableau Server needs to communicate over the network. Ensure the machine has a static IPv4 address and that your firewall rules allow traffic on the key Tableau ports:
- Port 80 (HTTP): Standard port for web access.
- Port 443 (HTTPS): Standard port for secure web access (SSL).
- Port 8850 (TSM): Used for accessing the Tableau Services Manager (TSM) Web UI.
When TSM initializes, it will also claim a dynamic range of ports starting from 8000 for its internal processes. Make sure this range is available.
Step-by-Step Installation Guide
With the preparations complete, you're ready to begin the installation. Follow these steps carefully, and you'll have your server up and running.
Step 1: Download the Tableau Server Installer Package
First, get the installation package from the Tableau website. You’ll need a Tableau account to access the downloads. Choose the correct package for your Linux distribution (.rpm for RHEL/CentOS systems or .deb for Ubuntu/Debian).
A handy way to do this directly from your server's command line is to get the download link from Tableau's site and use the wget command:
wget https://downloads.tableau.com/esdalt/2023.3.0/tableau-server-2023-3-0.x86_64.rpm
Note: Replace the URL with the link for the current version and correct package for your OS.
Step 2: Install the Server Package
Once the download is complete, use your distribution’s package manager to install the downloaded file. This doesn't actually install Tableau Server yet, it just places all the necessary binaries and scripts on your system in the /opt/tableau/tableau_server directory.
For RHEL/CentOS (using yum):
sudo yum install tableau-server-<version>.x86_64.rpm
For Ubuntu/Debian (using gdebi):
It's recommended to use gdebi as it automatically handles pulling in required dependencies. If you don't have it, install it first with sudo apt-get install gdebi-core.
sudo gdebi -n tableau-server-<version>_amd64.deb
Step 3: Run the Initialization Script
After the package manager finishes, you must run the initialization script to prepare Tableau Services Manager (TSM). TSM is the core command-line and web-based tool you'll use to configure and manage your server.
Navigate to the scripts directory and execute the script. Be sure to replace <version> with the actual version number in the path:
cd /opt/tableau/tableau_server/packages/scripts.<version>,/
sudo ./initialize-tsm --accepteula
The --accepteula flag automatically accepts the End User License Agreement. The script will set up required system users and file permissions. When it's done, you'll be logged out of your session. Simply log back in to proceed.
Step 4: Access and Configure TSM
TSM is controlled through a secure web interface running on port 8850. Open a browser and navigate to your server's address:
https://<your-server-ip-or-hostname>:8850
You'll likely get a browser warning about an untrusted security certificate. This is normal because it’s a self-signed cert. It's safe to proceed. Log in with the sudo-enabled user account you've been working with.
In the TSM web UI, you'll be prompted for a few things:
- Activate: Enter your Tableau Server product key here.
- Register: Fill out the registration form with your details.
Step 5: Set the Initial Node Configuration
Next, you’ll be taken to the Configuration screen where you set the core operational aspects of your server. The most important choice here is the Identity Store.
- Local Authentication: Users and groups are created and managed directly within Tableau Server. This is simpler and perfect for smaller teams or when you don't have a corporate directory.
- External Identity Store (Active Directory / LDAP): If your organization uses Active Directory or another LDAP server, you can connect Tableau to it. This allows for centralized user management and single sign-on (SSO), which is ideal for larger enterprises.
Heads up: You can only set the Identity Store once during this initial setup. Changing it later requires a complete re-installation, so choose carefully!
Configure any other options as needed, like gateway port or sample workbooks, then click Initialize.
Step 6: Wait for Initialization to Complete
This is the part that takes time. Tableau Server will now configure and start all its various processes according to your selections. This can easily take 20-30 minutes, or even longer depending on your server's hardware. You can monitor the progress on the screen. Grab a coffee - there's nothing else to do except wait.
Step 7: Create Your First Tableau Server Admin Account
Once initialization is complete, the final step is to create the first administrative user for Tableau Server itself. This is separate from the TSM admin user. You do this with a command-line utility called tabcmd.
tabcmd initialuser --server 'localhost:80' --username 'admin'
You’ll be prompted to create and confirm a password for this user. You can name the user something other than 'admin' if you prefer. This user will have full administrative rights inside the Tableau Server web interface.
Post-Installation Next Steps
Congratulations, your Tableau Server is installed and running! Now you can sign in at http://<your-server-ip-or-hostname>. But before you hand it off to your users, here are a few critical housekeeping tasks.
Verify Everything is Working Correctly
Navigate to your Tableau Server URL (http://<server-name>) in a browser. Log in with the admin credentials you just created with tabcmd. Click around - check the Status page to see if all processes are showing a green "Active" light. This confirms the core services are up and running.
Install Database Drivers
Out of the box, Tableau Server doesn't include drivers for most databases. To connect to data sources like Snowflake, PostgreSQL, SQL Server, etc., you must download the appropriate JDBC or ODBC drivers from the Tableau Driver Download page and install them on the server.
Configure Backups (Do This Immediately)
Your Tableau Server holds all of your configurations, user data, workbooks, and extracts. Protecting it is not optional. Set up a regular backup schedule using the tsm maintenance backup command. A good practice is to run this nightly and move the backup file off the server for safekeeping.
tsm maintenance backup -f ts_backup -d
Set up SSL for Secure Connections
By default, traffic to your server is unencrypted HTTP. You should immediately configure SSL to secure user logins and data traffic. This involves getting an SSL certificate for your server's hostname and using the tsm security external-ssl enable command to configure it. Your users will then connect via HTTPS.
Final Thoughts
Installing Tableau Server on Linux gives you an incredible amount of control over your analytics environment. While detailed, the process becomes straightforward when you break it down into stages: prepare your server, run the installer, configure TSM, and complete the post-installation tasks.
Of course, managing your own BI infrastructure is a significant commitment. For teams who want business intelligence answers without the work of server installation, maintenance, and backups, there are simpler approaches. Here at Graphed, we focus on connecting directly to your marketing and sales data sources (like Google Analytics, Salesforce, and Shopify) and letting you ask questions in natural language. We handle all the technical heavy lifting, instantly creating real-time dashboards and reports so you can focus on insights instead of server administration. If you want the power of data analysis with zero setup, you can try out Graphed.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.