Zeppelin 入門 安裝

1、介紹

  官網:http://zeppelin.apache.org/

Zeppelin 入門 安裝

 源代碼地址:https://github.com/apache/zeppelin

 Apache Zeppelin  是一個讓交互式數據分析變得可行的基於網頁的notebook。Zeppelin提供了數據可視化的框架。

 zeppelin 是一個提供交互數據分析且基於Web的筆記本。方便你做出可數據驅動的、可交互且可協作的精美文檔,並且支持多種語言,包括 Scala(使用 Apache Spark)、Python(Apache Spark)、SparkSQL、 Hive、 Markdown、Shell等等。

2、部署

下載:http://zeppelin.apache.org/download.html

爲了不影響功能,選擇zeppelin-0.8.0-bin-all.tgz

安裝

[root@localhost ~]# tar xf zeppelin-0.8.0-bin-all.tgz -C /usr/local/

配置

[root@localhost ~]# cd /usr/local/zeppelin-0.8.0-bin-all/conf/

[root@localhost conf]# mv zeppelin-site.xml.template zeppelin-site.xml #啓用設置

[root@localhost conf]# vim zeppelin-site.xml #關閉匿名登錄,true改爲false

                                  407 <property>
                                  408 <name>zeppelin.anonymous.allowed</name>
                                  409 <value>false</value>
                                  410 <description>Anonymous user allowed by default</description>
                                  411 </property>

[root@localhost conf]# mv shiro.ini.template shiro.ini #啓用認證配置文件

[root@localhost conf]# vim shiro.ini #[users]爲用戶配置模塊。

                                  18 [users]
                                  19 # List of users with their password allowed to access Zeppelin.
                                  20 # To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Conf iguration-INISections
                                  21 # To enable admin user, uncomment the following line and set an appropriate password.
                                  22 admin = admin, admin
                                  23 user1 = password2, role1, role2
                                  24 user2 = password3, role3
                                  25 user3 = password4, role2
                                  26 test = test, admin

啓動關閉服務:

[root@localhost bin]# cd /usr/local/zeppelin-0.8.0-bin-all/bin

[root@localhost bin]# ./zeppelin-daemon.sh {start|stop|upstart|restart|reload|status}

3、訪問

http://localhost:8080

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章