How to install Metabase on your local server?

Metabase source code is directly available online at the following address: https://github.com/metabase/metabase if you want to investigate within it.

Requirements

Compared to many other technologies that we can find in digital marketing, Metabase works with the Java programming language. So the requirements to run Metabase are different from the other technologies you may be familiar with such as PHP and MySQL.

In order to check if you will be able to run Metabase, just execute the following command within your terminal:

java -version

if you get an answer similar to this one:

openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

where the version of Java is 1.8 or above then you are good to go. If not you will need to install https://openjdk.java.net/install/

Installation steps

For the sake of this tutorial, we will imagine that your wish is to install it on a local server. So to say your own computer in order to test it.
First step is then to go on https://www.metabase.com/start/jar.html and download the file... I am pretty sure you are able to make this step on your own (there are many other ways you can download it, but let's keep it simple for now).

Ok, so now create a folder on your computer, for example:

mkdir metabase

get within it:

cd metabase

and transfer the zip file you downloaded:

mv myfile.zip /metabase

unzip it:

unzip myfile.zip

and then run:

java -jar metabase.jar

you don't have to be within the Metabase folder to run it.

Once done, the installation process will show you the URL to connect, something like this: http://localhost:3000/setup/

From there, you will just have to mention the credentials that you will want to use and you are good to go.



Last modified: Friday, 7 February 2020, 5:43 PM