Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[DREMIO: Install dremio on Ubuntu] #dremio
Installing Dremio 1.4 on Ubuntu 16
### NOTE: this is significantly out of date since I last edited it in Jan 2018.
# See the comments on the gist for suggested changes for more recent versions.
##Install links / references
https://www.dremio.com/tutorials/recommender-scikit-learn-dremio-postgres-mongodb/
https://www.dremio.com/tutorials/dremio-oracle-aws/
https://docs.dremio.com/deployment/standalone-tarball.html
## First, install Java 1.8+, 64 bit.
sudo apt-get update
sudo apt-get install default-jre
#Install script
sudo groupadd -r dremio
sudo useradd -r -g dremio -d /var/lib/dremio -s /sbin/nologin dremio
sudo mkdir /opt/dremio
sudo mkdir /opt/dremio/log && sudo chown dremio:dremio /opt/dremio/log
sudo mkdir /opt/dremio/run && sudo chown dremio:dremio /opt/dremio/run
sudo mkdir /opt/dremio/data && sudo chown dremio:dremio /opt/dremio/data
# Latest version link can be obtained on https://www.dremio.com/download/ under 'TAR'
cd /tmp
wget https://download.dremio.com/community-server/1.4.4-201801230630490666-6d69d32/dremio-community-1.4.4-201801230630490666-6d69d32.tar.gz
sudo tar -xvf dremio-community-1.4.4-201801230630490666-6d69d32.tar.gz -C /opt/dremio/ --strip-components=1
sudo ln -s /opt/dremio/conf /etc/dremio
sudo cp /opt/dremio/share/dremio.service /etc/systemd/system/dremio.service
# Add service
sudo systemctl daemon-reload
sudo systemctl start dremio
# Optionally, set Dremio service to start on boot:
sudo systemctl enable dremio
@tomasienrbc
Copy link

tomasienrbc commented Jun 23, 2018

Got my question answered! For anyone else curious if you're running or that wants debug messages if you're not, run:

systemctl status dremio

@bigmacd
Copy link

bigmacd commented Mar 13, 2019

Finally, point your browser to your ubuntu host on port 9047.

@jamesbraza
Copy link

jamesbraza commented May 15, 2019

I just tested this today on an AWS EC2 instance with Ubuntu 18.04, and the install still works! Thank you Evan Burke!

I had to work out one kink:
When I tried to start the service, I got this error Unrecognized VM option 'PrintGCDateStamps'.
To solve it, I found this article, which says to use openjdk 8. Here were my steps:

  1. sudo apt install openjdk-8-jdk
  2. sudo update-alternatives --config java --> chose java-8 path (for me it was option 2)

After that, it worked just fine.

@anishvarghese
Copy link

anishvarghese commented Oct 16, 2019

Installing Dremio 4+ on Ubuntu 18

For java 11 in Ubuntu 18 please use latest version as below
wget https://download.dremio.com/community-server/4.0.2-201910020123580864-a98a0b9/dremio-community-4.0.2-201910020123580864-a98a0b9.tar.gz
sudo tar -xvf dremio-community-4.0.2-201910020123580864-a98a0b9.tar.gz -C /opt/dremio/ --strip-components=1

sudo ln -s /opt/dremio/conf /etc/dremio
sudo cp /opt/dremio/share/dremio.service /etc/systemd/system/dremio.service

Add service
sudo systemctl daemon-reload
sudo systemctl start dremio

Optionally, set Dremio service to start on boot:
sudo systemctl enable dremio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment