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 |
Finally, point your browser to your ubuntu host on port 9047.
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:
sudo apt install openjdk-8-jdk
sudo update-alternatives --config java
--> chosejava-8
path (for me it was option 2)
After that, it worked just fine.
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
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