Created
October 8, 2015 16:45
-
-
Save r-wheeler/0d2e3d899e7b4e5a0d07 to your computer and use it in GitHub Desktop.
Tableau tabcmd on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi All, | |
Running on Linux is actually pretty simple. The hardest part is that you do need to be able to run either the server installer or the tabcmd installer to get the tabcmd jars. But after you do that, here are the instructions: | |
1) Create a local copy of C:\Program Files\Tableau\Tableau Server\9.0\extras\lib to $HOME/lib. | |
2) Create a ~/.tabcmd directory. This is used for logs, session storage and file uploads. | |
3) Create the following bash script: | |
#!/bin/bash | |
java -Xmx64m -Xss2048k -Djsse.enableSNIExtension=false -Dpid=$$ -Dlog.file=$HOME/.tabcmd/tabcmd.log -Dsession.file=$HOME/.tabcmd/tabcmd-session.xml -Din.progress.dir=$HOME/.tabcmd -Dconsole.codepage=$LANG -Dconsole.cols=$COLUMNS -cp "$HOME/lib/*" com.tableausoftware.tabcmd.Tabcmd "$@" | |
http://community.tableau.com/thread/156778 | |
Notes: | |
This assumes that the JRE is correctly installed and available in the path, and that bash is available. This should work with non-ascii UTF-8 characters in the command line arguments assuming that your terminal supports them, but this isn't well tested (at all really), so please post your experiences. | |
We will try to package this up so that it's more turnkey, but we have no idea when that will be released or what it will look like. But this these instructions should do for now. | |
Please let us know how it goes! | |
Jeff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment