Skip to content

Instantly share code, notes, and snippets.

@tonussi
Forked from evan-burke/dremio-ubuntu
Last active January 6, 2020 18:55
Show Gist options
  • Save tonussi/eb7e8d46dd205597c6d83d1d5d69a031 to your computer and use it in GitHub Desktop.
Save tonussi/eb7e8d46dd205597c6d83d1d5d69a031 to your computer and use it in GitHub Desktop.
[DREMIO: Install dremio on Ubuntu] #dremio
Installing Dremio on Ubuntu
### 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 update
sudo apt install openjdk-8-jdk
sudo update-alternatives --config java
#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'
# File size aprox. 661 MB
cd /tmp
wget https://download.dremio.com/community-server/4.1.3-202001022113020736-53142377/dremio-community-4.1.3-202001022113020736-53142377.tar.gz
sudo tar -xvf dremio-community-4.1.3-202001022113020736-53142377.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