-
-
Save evan-burke/4a993d34a9436cdf88efe2779998d7a2 to your computer and use it in GitHub Desktop.
[DREMIO: Install dremio on Ubuntu] #dremio
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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