[LINUX] Install Apache Zeppelin

I tried it, so a memo

Premise

CentOS 7 Java installed

procedure

  1. Download the tar file

    # curl -LkvOf https://ftp.jaist.ac.jp/pub/apache/zeppelin/zeppelin-0.8.2/zeppelin-0.8.2-bin-all.tgz
    
  2. Extract the downloaded tar file

    # tar zxf zeppelin-0.8.2-bin-all.tgz
    
  3. Move the expanded directory under / opt

    # mv zeppelin-0.8.2-bin-all /opt/zeppelin
    
  4. Create a user to run zeppelin

    # useradd zeppelin
    
  5. Set environment variables as needed (here IP address)

    # 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 address to access with a browser>                          # Bind address (default 127.0.0.1)
    
  6. Change the owner of the directory to the zeppelin execution user

    # chown -R zeppelin:zeppelin /opt/zeppelin
    
  7. Create a zeppelin service file

    # 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. Reload the service file

    # systemctl daemon-reload
    
  9. Start

    # systemctl start zeppelin
    
  10. Access from a browser

Zeppelin. Immediately after access png.png

reference

Recommended Posts

Install Apache Zeppelin
Install Apache Zookeeper
Install Apache ActiveMQ
Install Apache 2.4.41 from source
Install Apache Maven (from source)
Install pytorch
emacs-jedi install
ArcoLinux install
install python
Install virtualenv
Install mojimoji
Install Scipy
Install Memo
Install Qiskit
Install Ansible
install keras
Install Mu
How to install Apache (httpd) on CentOS7
Install skt-war-result
Install Django
Install PyTorch
How to install Apache (httpd) on CentOS8
install pillow
ArchmanLinux Install