下载安装包,修改配置文件
- 登录zeppeline官网
- 下载完解压缩
- 复制zeppelin-env.sh.template重命名为zeppelin-env.sh
- 复制zeppelin-site.xml.template重命名为zeppelin-site.xml,编辑文件
<property>
<name>zeppelin.server.port</name>
<value>8089</value>
<description>Server port.</description>
</property>
<property>
<name>zeppelin.anonymous.allowed</name>
<value>false</value>
<description>Anonymous user allowed by default</description>
</property>
- 添加用户,zeppelin是使用shiro做用户权限管理的,拷贝shiro.ini.template为shiro.ini,加入用户和权限
[users]
# List of users with their password allowed to access Zeppelin.
# To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections
admin = password1, admin
user1 = password2, role1, role2
user2 = password3, role3
user3 = password4, role2
flink = flink,admin
启动zeppelin
bin/zeppelin-daemon.sh start
配置flink interpretor
参考文章
网友评论