当前位置: 首页 > news >正文

Zeppelin - Installation

 

(airflow-venv) frank@ZZHPC:~/download$ wget https://dlcdn.apache.org/zeppelin/zeppelin-0.12.0/zeppelin-0.12.0-bin-all.tgz(airflow-venv) frank@ZZHPC:~/download$ tar -xzf zeppelin-0.12.0-bin-all.tgz

 

.bashrc:

export ZEPPELIN_HOME=~/download/zeppelin-0.12.0-bin-all
PATH=$PATH:$SPARK_HOME/sbin:$SPARK_HOME/bin:$FLINK_HOME/bin:$KAFKA_HOME/bin:$ZEPPELIN_HOME/bin

 

(airflow-venv) frank@ZZHPC:~/download/zeppelin-0.12.0-bin-all/conf$ cp zeppelin-site.xml.template zeppelin-site.xml
(airflow-venv) frank@ZZHPC:~/download/zeppelin-0.12.0-bin-all/conf$ vi zeppelin-site.xmlChange the server address from 127.0.0.1 to 0.0.0.0 and port from 8080 to 8083:
<property>
<name>zeppelin.server.addr</name>
<value>0.0.0.0</value>
<description>Server binding address. If you cannot connect to your web browser on WSL or Windows, change 127.0.0.1 to 0.0.0.0. It, however, causes security issues when you open your machine to the public</description>
</property><property>
<name>zeppelin.server.port</name>
<value>8083</value>
<description>Server port.</description>
</property>

 

(airflow-venv) frank@ZZHPC:~$ zeppelin-daemon.sh start
Please specify HADOOP_CONF_DIR if USE_HADOOP is true
Log dir doesn't exist, create /home/frank/download/zeppelin-0.12.0-bin-all/logs
Pid dir doesn't exist, create /home/frank/download/zeppelin-0.12.0-bin-all/run
Zeppelin start                                             [  OK  ]

 

Access http://localhost:8083:

1