diff --git a/docs/install/install.md b/docs/install/install.md index 493a96d96a..15a20f6097 100644 --- a/docs/install/install.md +++ b/docs/install/install.md @@ -1,6 +1,6 @@ --- layout: page -title: "Install Zeppelin" +title: "Zeppelin Installation" description: "" group: install --- @@ -21,191 +21,291 @@ limitations under the License. -## From binary package +## Zeppelin Installation +Welcome to your first trial to explore Zeppelin ! - Download latest binary package from [Download](../download.html). +In this documentation, we will guide you how you can install Zeppelin from **Binary Package** or build from **Source** by yourself. Plus, you can get a specific infomation about Zeppelin configurations at the below **Zeppelin Configuration** section. + +### Install with Binary Package + +If you want to install Zeppelin with latest binary package, please visit [this page](http://zeppelin.incubator.apache.org/download.html). + +### Build from Zeppelin Source + +You can also build Zeppelin from the source. Please check instructions of `README.md` in [Zeppelin github](https://github.com/apache/incubator-zeppelin/blob/master/README.md). -## Build from source +## Zeppelin Configuration - Check instructions in [README](https://github.com/apache/incubator-zeppelin/blob/master/README.md) to build from source. +You can configure Zeppelin with both environment variables in `conf/zeppelin-env.sh` and java properties in `conf/zeppelin-site.xml`. If both are defined, then the environment variable will be used priorly. +
+| zepplin-env.sh | +Default Value | +Description | +
|---|---|---|
| ZEPPELIN_PORT | +8080 | +Zeppelin server port | +
| ZEPPELIN_MEM | +-Xmx1024m -XX:MaxPermSize=512m | +JVM mem options | +
| ZEPPELIN_INTP_MEM | +ZEPPELIN_MEM | +JVM mem options for interpreter process | +
| ZEPPELIN_JAVA_OPTS | ++ | JVM Options | +
| ZEPPELIN_ALLOWED_ORIGINS | +* | +Enables a way to specify a ',' separated list of allowed origins for rest and websockets. i.e. http://localhost:8080 |
+
| ZEPPELIN_SERVER_CONTEXT_PATH | +/ | +The context path of the web application | +
| ZEPPELIN_SSL | +false | ++ |
| ZEPPELIN_SSL_CLIENT_AUTH | +false | ++ |
| ZEPPELIN_SSL_KEYSTORE_PATH | +keystore | ++ |
| ZEPPELIN_SSL_KEYSTORE_TYPE | +JKS | ++ |
| ZEPPELIN_SSL_KEYSTORE_PASSWORD | ++ | + |
| ZEPPELIN_SSL_KEY_MANAGER_PASSWORD | ++ | + |
| ZEPPELIN_SSL_TRUSTSTORE_PATH | ++ | + |
| ZEPPELIN_SSL_TRUSTSTORE_TYPE | ++ | + |
| ZEPPELIN_SSL_TRUSTSTORE_PASSWORD | ++ | + |
| ZEPPELIN_NOTEBOOK_HOMESCREEN | ++ | A notebook id displayed in homescreen i.e. 2A94M5J1Z |
+
| ZEPPELIN_NOTEBOOK_HOMESCREEN_HIDE | +false | +This value can be "true" when you want to hide notebooks from Zeppelin homescreen. | +
| ZEPPELIN_WAR_TEMPDIR | +webapps | +Jetty temporary directory location | +
| ZEPPELIN_NOTEBOOK_DIR | +notebook | +A directory path of Zeppelin notebook files | +
| ZEPPELIN_NOTEBOOK_S3_BUCKET | +zeppelin | +S3 Bucket where Zeppelin notebook files will be saved | +
| ZEPPELIN_NOTEBOOK_S3_USER | +user | +A user name of S3 bucket i.e. bucket/user/notebook/2A94M5J1Z/note.json |
+
| ZEPPELIN_NOTEBOOK_STORAGE | +org.apache.zeppelin.notebook.repo.VFSNotebookRepo | +Comma separated list of notebook storage | +
| ZEPPELIN_INTERPRETERS | +org.apache.zeppelin.spark.SparkInterpreter, org.apache.zeppelin.spark.PySparkInterpreter, org.apache.zeppelin.spark.SparkSqlInterpreter, org.apache.zeppelin.spark.DepInterpreter, org.apache.zeppelin.markdown.Markdown, org.apache.zeppelin.shell.ShellInterpreter, org.apache.zeppelin.hive.HiveInterpreter + ... + |
+ Comma separated interpreter configurations [Class] The first interpreter will be a default. |
+
| ZEPPELIN_INTERPRETER_DIR | +interpreter | +Zeppelin interpreter directory | +
| zepplin-site.xml | +Default value | +Description | +
|---|---|---|
| zeppelin.server.port | +8080 | +Zeppelin server port | +
| zeppelin.server.allowed.origins | +* | +Enables a way to specify a ',' separated list of allowed origins for rest and websockets. i.e. http://localhost:8080 |
+
| zeppelin.server.context.path | +/ | +The context path of the web application | +
| zeppelin.ssl | +false | ++ |
| zeppelin.ssl.client.auth | +false | ++ |
| zeppelin.ssl.keystore.path | +keystore | ++ |
| zeppelin.ssl.keystore.type | +JKS | ++ |
| zeppelin.ssl.keystore.password | ++ | + |
| zeppelin.ssl.key.manager.password | ++ | + |
| zeppelin.ssl.truststore.path | ++ | + |
| zeppelin.ssl.truststore.type | ++ | + |
| zeppelin.ssl.truststore.password | ++ | + |
| zeppelin.notebook.homescreen | ++ | A notebook id displayed in homescreen i.e. 2A94M5J1Z |
+
| zeppelin.notebook.homescreen.hide | +false | +This value can be "true" when you want to hide notebooks from Zeppelin homescreen. | +
| zeppelin.war.tempdir | +webapps | +Jetty temporary directory location | +
| zeppelin.notebook.dir | +notebook | +A directory path of Zeppelin notebook files | +
| zeppelin.notebook.s3.bucket | +zeppelin | +S3 Bucket where Zeppelin notebook files will be saved | +
| zeppelin.notebook.s3.user | +user | +A user name of S3 bucket i.e. bucket/user/notebook/2A94M5J1Z/note.json |
+
| zeppelin.notebook.storage | +org.apache.zeppelin.notebook.repo.VFSNotebookRepo | +Comma separated list of notebook storage | +
| zeppelin.interpreters | +org.apache.zeppelin.spark.SparkInterpreter, org.apache.zeppelin.spark.PySparkInterpreter, org.apache.zeppelin.spark.SparkSqlInterpreter, org.apache.zeppelin.spark.DepInterpreter, org.apache.zeppelin.markdown.Markdown, org.apache.zeppelin.shell.ShellInterpreter, org.apache.zeppelin.hive.HiveInterpreter + ... + |
+ Comma separated interpreter configurations [Class] The first interpreter will be a default. |
+
| zeppelin.interpreter.dir | +interpreter | +Zeppelin interpreter directory | +
| zepplin-env.sh | -zepplin-site.xml | -Default value | -Description | -
|---|---|---|---|
| ZEPPELIN_PORT | -zeppelin.server.port | -8080 | -Zeppelin server port. | -
| ZEPPELIN_MEM | -N/A | --Xmx1024m -XX:MaxPermSize=512m | -JVM mem options | -
| ZEPPELIN_INTP_MEM | -N/A | -ZEPPELIN_MEM | -JVM mem options for interpreter process | -
| ZEPPELIN_JAVA_OPTS | -N/A | -- | JVM Options | -
| ZEPPELIN_ALLOWED_ORIGINS | -zeppelin.server.allowed.origins | -* | -Allows a way to specify a ',' separated list of allowed origins for rest and websockets. i.e. http://localhost:8080 | -
| ZEPPELIN_SERVER_CONTEXT_PATH | -zeppelin.server.context.path | -/ | -Context Path of the Web Application | -
| ZEPPELIN_SSL | -zeppelin.ssl | -false | -- |
| ZEPPELIN_SSL_CLIENT_AUTH | -zeppelin.ssl.client.auth | -false | -- |
| ZEPPELIN_SSL_KEYSTORE_PATH | -zeppelin.ssl.keystore.path | -keystore | -- |
| ZEPPELIN_SSL_KEYSTORE_TYPE | -zeppelin.ssl.keystore.type | -JKS | -- |
| ZEPPELIN_SSL_KEYSTORE_PASSWORD | -zeppelin.ssl.keystore.password | -- | - |
| ZEPPELIN_SSL_KEY_MANAGER_PASSWORD | -zeppelin.ssl.key.manager.password | -- | - |
| ZEPPELIN_SSL_TRUSTSTORE_PATH | -zeppelin.ssl.truststore.path | -- | - |
| ZEPPELIN_SSL_TRUSTSTORE_TYPE | -zeppelin.ssl.truststore.type | -- | - |
| ZEPPELIN_SSL_TRUSTSTORE_PASSWORD | -zeppelin.ssl.truststore.password | -- | - |
| ZEPPELIN_NOTEBOOK_HOMESCREEN | -zeppelin.notebook.homescreen | -- | Id of notebook to be displayed in homescreen ex) 2A94M5J1Z | -
| ZEPPELIN_NOTEBOOK_HOMESCREEN_HIDE | -zeppelin.notebook.homescreen.hide | -false | -hide homescreen notebook from list when this value set to "true" | -
| ZEPPELIN_WAR_TEMPDIR | -zeppelin.war.tempdir | -webapps | -The location of jetty temporary directory. | -
| ZEPPELIN_NOTEBOOK_DIR | -zeppelin.notebook.dir | -notebook | -Where notebook file is saved | -
| ZEPPELIN_NOTEBOOK_S3_BUCKET | -zeppelin.notebook.s3.bucket | -zeppelin | -Bucket where notebook saved | -
| ZEPPELIN_NOTEBOOK_S3_USER | -zeppelin.notebook.s3.user | -user | -User in bucket where notebook saved. For example bucket/user/notebook/2A94M5J1Z/note.json | -
| ZEPPELIN_NOTEBOOK_STORAGE | -zeppelin.notebook.storage | -org.apache.zeppelin.notebook.repo.VFSNotebookRepo | -Comma separated list of notebook storage | -
| ZEPPELIN_INTERPRETERS | -zeppelin.interpreters | -org.apache.zeppelin.spark.SparkInterpreter, org.apache.zeppelin.spark.PySparkInterpreter, org.apache.zeppelin.spark.SparkSqlInterpreter, org.apache.zeppelin.spark.DepInterpreter, org.apache.zeppelin.markdown.Markdown, org.apache.zeppelin.shell.ShellInterpreter, org.apache.zeppelin.hive.HiveInterpreter - ... - |
- Comma separated interpreter configurations [Class]. First interpreter become a default | -
| ZEPPELIN_INTERPRETER_DIR | -zeppelin.interpreter.dir | -interpreter | -Zeppelin interpreter directory | -