随笔分类 - Zeppelin/Jupyter
摘要:曾经在ubuntu在16.x的年代,有过一个叫upstart的服务管理器,后来被retire了。 目前最新的版本的linux比如ubuntu和centos,主要使用systemd这个服务管理器。 那么如何把自己开发的脚本变成一个开机自启动的服务呢? 两步走: 1. 假设你的程序叫 zeppelin
阅读全文
摘要:如下图: 1. 配置credentials 2. 配置要使用的解释器,加入一个配置项:injectCredentials 3. 在代码中用 {user.entity名} 和 {password.entity名} 来使用敏感信息。其中user和password是定死的,“entity名”是你填在Cre
阅读全文
摘要:Zeppelin制作的图标可以生成 iframe 进行分享,但是在实践过程中会遇到几个坑。 1. X-Frame-Options 参考https://zeppelin.apache.org/docs/0.7.3/security/http_security_headers.html 修改zeppel
阅读全文
摘要:开启Zeppelin的账号密码模式要先把zeppelin-site.xml里的匿名访问模式(zeppelin.anonymous.allowed)设成false shiro 本身也是一个apache项目。 shiro.ini 位于 Zeppelin 的 conf 文件夹下。 [users] 配置用户
阅读全文