CentOS7安装Zeppelin完整步骤

1.进入opt文件夹

cd /opt

2.解压zeppelin安装包

tar -zxf zeppelin-0.8.1-bin-all.tgz

3.把zeppelin移动到soft/zeppelin081文件夹下

mv zeppelin-0.8.1-bin-all soft/zeppelin081

4.进入soft/zeppelin081/conf/文件夹下

cd soft/zeppelin081/conf/

5.复制zeppelin-site.xml.template为zeppelin-site.xml

cp zeppelin-site.xml.template zeppelin-site.xml

6.修改zeppelin-site.xml

vim zeppelin-site.xml

6.1.添加一个property


  zeppelin.helium.registry
  helium

7.复制zeppelin-env.sh.template为zeppelin-env.sh

cp zeppelin-env.sh.template zeppelin-env.sh

8.修改zeppelin-env.sh

vim zeppelin-env.sh

8.1.添加JAVA_HOME和HADOOP_CONF_DIR的位置

export JAVA_HOME=/opt/soft/jdk180
export HADOOP_CONF_DIR=/opt/soft/hadoop260/etc/hadoop

9.修改/etc/profile

vim /etc/profile

9.1.添加ZEPPELIN运行环境

#ZEPPELIN ENV
export ZEPPELIN_HOME=/opt/soft/zeppelin081
export PATH=$PATH:$ZEPPELIN_HOME/bin

10.执行/etc/profile

source /etc/profile

11.复制hive110下的hive-site.xml到/opt/soft/zeppelin081/conf/,hive110下的hive-jdbc-1.1.0-cdh5.14.2-standalone.jar和hadoop260下的common/hadoop-common-2.6.0-cdh5.14.2.jar到/opt/soft/zeppelin081/interpreter/jdbc/

cp /opt/soft/hive110/conf/hive-site.xml /opt/soft/zeppelin081/conf/
cp /opt/soft/hadoop260/share/hadoop/common/hadoop-common-2.6.0-cdh5.14.2.jar /opt/soft/zeppelin081/interpreter/jdbc/
cp /opt/soft/hive110/lib/hive-jdbc-1.1.0-cdh5.14.2-standalone.jar /opt/soft/zeppelin081/interpreter/jdbc/

12.进入/opt/soft/zeppelin081/bin

cd /opt/soft/zeppelin081/bin

13.开启zeppelin

zeppelin-daemon.sh start

最后输入命令jps,如果存在进程ZeppelinServer则安装zeppelin成功!

你可能感兴趣的:(zeppelin,linux,虚拟机,centos)