# Setup Zeppelin

## Prerequisites

* Download the latest Zeppelin (at least 0.9.0) (<http://zeppelin.apache.org/download.html>)
* Untar it and run the following command to start it.

```
$ bin/zeppelin-daemon.sh start
```

Then open <http://localhost:8080>, you can see the Zeppelin home page as following

![](/files/-MG7NCKnBoah2SCf43a5)

## Configuration

There're 2 places you can make configurations on Zeppelin.

* zeppelin-site.xml
* zeppelin-env.sh

Here I will talk about 2 typical configurations

* Change zeppelin server address
  * By default, zeppelin server address is `http://127.0.0.1:8080`, that means you can only access it in local machine. If you want to access it from a remote machine, you need to configure `zeppelin.server.addr` to be `0.0.0.0` and configure `zeppelin.server.port` to be another value if 8080 is used by other processes.
* Change zeppelin memory setting. By default zeppelin server and interpreter process both use 1g memory. But you can adjust them via
  * Set `ZEPPELIN_MEM` in `zeppelin-env.sh` for the zeppelin server memory
  * Set `ZEPPELIN_INTP_MEM` in `zeppelin-env.sh` for the interpreter process memory

After the configuration changes, you need to invoke the following command to restart Zeppelin to make these configurations take effect.

```
$ bin/zeppelin-daemon.sh restart
```

## Try Zeppelin via docker

Take a look at the following Zeppelin official site for how to try Zeppelin via docker

{% embed url="<http://zeppelin.apache.org/download.html#using-the-official-docker-image>" %}

## Video Tutorial

{% embed url="<https://youtu.be/YxPo0Fosjjg?list=PL4oy12nnS7FFtg3KV1iS5vDb0pTz12VcX>" %}

## Community

Join Zeppelin community to discuss with others&#x20;

{% embed url="<http://zeppelin.apache.org/community.html>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zjffdu.gitbook.io/flink-on-zeppelin/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
