Skip to content

Instantly share code, notes, and snippets.

@evan-burke
Forked from jcaristy/info.sh
Last active July 10, 2021 01:01
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save evan-burke/4a993d34a9436cdf88efe2779998d7a2 to your computer and use it in GitHub Desktop.
Save evan-burke/4a993d34a9436cdf88efe2779998d7a2 to your computer and use it in GitHub Desktop.
[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

Super helpful - I'm running all these commands and then nothing happens, I'm probably missing a step though. All these commands are succeeding but the app doesn't seem to be starting after I run "sudo systemctl start dremio". Is there another step?

@tomasienrbc
Copy link

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

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