虚拟机zeppelin安装

一、解压

tar -zxvf ./zeppelin-0.10.0-bin-all.tgz -C /opt/soft/

二、改名字

mv ./zeppelin-0.10.0-bin-all.tgz zeppelin010

三、配置/etc/profile

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

source /etc/profile

四、配置环境

(1)cd /opt/soft/zeppelin010/conf/
(2)cp ./zeppelin-site.xml.template zeppelin-site.xml
(3)vim ./zeppelin-site.xmlcp
24 192.168.91.11
30 8080
(4)vim ./zeppelin-env.sh
19  JAVA_HOME=/opt/soft/jdk180
89  export HADOOP_CONF_DIR=hadoop_conf_dir=/opt/soft/hadoop313/etc/hadoop

五、启动

zeppelin-daemon.sh start
cp /opt/soft/hive312/conf/hive-site.xml /opt/soft/zeppelin010/conf/

六、配置文件(14个)

(1)cd /opt/soft/zeppelin010/interpreter/jdbc
cp /opt/soft/hadoop313/share/hadoop/common/hadoop-common-3.1.3.jar ./
cp /opt/soft/hive312/lib/curator-client-2.12.0.jar ./
cp /opt/soft/hive312/lib/guava-27.0-jre.jar ./
cp /opt/soft/hive312/lib/hive-common-3.1.2.jar ./
cp /opt/soft/hive312/lib/hive-jdbc-3.1.2.jar ./
cp /opt/soft/hive312/lib/hive-serde-3.1.2.jar ./
cp /opt/soft/hive312/lib/hive-service-3.1.2.jar ./
cp /opt/soft/hive312/lib/hive-service-rpc-3.1.2.jar ./
cp /opt/soft/hive312/lib/libthrift-0.9.3.jar ./
cp /opt/soft/hive312/lib/protobuf-java-2.5.0.jar ./
(2)解压zeppelin-0.10.0-dependencies文件并上传

七、输入网址

网址输入:http://192.168.91.130:8080

八、运行

虚拟机zeppelin安装_第1张图片

虚拟机zeppelin安装_第2张图片

你可能感兴趣的:(linux,运维,服务器)