Codementor Events

Getting Looker up and running in local environment

Published Mar 27, 2020
Getting Looker up and running in local environment

What is Looker?

https://looker.com/

Getting started requirements

1. Ubuntu environment. (VirtualBox or Docker image should work)
2. Looker jar downloaded with valid license
3. Looker startup script (Download link mentioned in step 6 below)

Steps to setup Ubuntu on VirtualBox

  1. Download virtual box : https://www.virtualbox.org/wiki/Downloads

  2. Download Ubuntu Desktop Image (latest version) : https://www.ubuntu.com/download/desktop

  3. Create new virtual machine on VirtualBox and use the downloaded Ubuntu Desktop image

  4. During installation of Ubuntu, enter user name as looker and password of your choice.
    Note: other user name can also be used but that require granting access or changes in the startup script. Creating looker with root permissions is the easy way.

  5. Once Ubuntu is ready, open terminal and check java version : java -version → 1.8 or above is required

  6. Open browser in the Ubuntu and follow further steps as mentioned here : https://docs.looker.com/setup-and-management/on-prem-install/installation
    You can directly jump to step 4 in the installation page.
    After step 13, Looker should be up and running on port 9999 in the VM.

  7. ./looker start

1*0SoYMWqxi_GKeFtiz60zqg.png

  1. Now in order to access Looker (installed on the VM) from local machine, port forwarding will be required.

Locate the VM in VirtualBox application → Settings → Network → Adapter 1 (make sure its attached to NAT) → expand Advanced option → Click on Port Forwarding to map VM’s port 9999 to some port of your localhost as below example.

  1. Create Ubuntu VM with below configuration

1*a9VR1LQrEw5AZjGzY0M2KA.png

  1. Goto Networks

1*hpkoAXP5oRgNbLwpLJLDmA.png

  1. Add Port Forwarding

1*MWfZKXCEB2QDhWeog_26Yg.png

  1. Now try accessing Looker from local machine at : http://localhost:19999 (http://localhost:19999/)
    It will render a registration page to create looker account. It can be anything.
    Next time when you start Looker, it will take you to the login page as below
  2. Login → Connect to a data source and explore

1*rUo4n4AHq0vKovemC92Tog.png

References

https://docs.looker.com/setup-and-management/on-prem-install/installation
https://looker.com/

Original Post

Getting Looker Up and Running in Local

✌️

Discover and read more posts from Mithun Khatri
get started
post commentsBe the first to share your opinion
Show more replies