1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Apache Zeppelin のインストール

Posted at

やってみたのでメモ

前提

CentOS 7
Java インストール済み

手順

  1. tar ファイルをダウンロードする

    # curl -LkvOf https://ftp.jaist.ac.jp/pub/apache/zeppelin/zeppelin-0.8.2/zeppelin-0.8.2-bin-all.tgz
    
  2. ダウンロードした tar ファイルを展開する

    # tar zxf zeppelin-0.8.2-bin-all.tgz
    
  3. 展開してできたディレクトリを/opt配下に移動する

    # mv zeppelin-0.8.2-bin-all /opt/zeppelin
    
  4. zeppelin 実行用ユーザを作成する

    # useradd zeppelin
    
  5. 必要に応じて環境変数を設定する(ここではIPアドレス)

    # cp /opt/zeppelin/conf/zeppelin-env.sh.template /opt/zeppelin/conf/zeppelin-env.sh
    # vi /opt/zeppelin/conf/zeppelin-env.sh
    
    export ZEPPELIN_ADDR=<ブラウザでアクセスするIPアドレス>                          # Bind address (default 127.0.0.1)
    
  6. ディレクトリの所有者を zeppelin 実行用ユーザに変更する

    # chown -R zeppelin:zeppelin /opt/zeppelin
    
  7. zeppelin サービスファイルを作成する

    # vi /etc/systemd/system/zeppelin.service
    
    [Unit]
    Description=Apache Zeppelin Service
    
    [Service]
    Type=forking
    User=zeppelin
    ExecStart=/opt/zeppelin/bin/zeppelin-daemon.sh start
    ExecStop=/opt/zeppelin/bin/zeppelin-daemon.sh stop
    
    [Install]
    WantedBy=multi-user.target
    
  8. サービスファイルを再読み込みする

    # systemctl daemon-reload
    
  9. 起動する

    # systemctl start zeppelin
    
  10. ブラウザからアクセスする

    Zeppelin.アクセス直後png.png

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?