欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

编译安装 Hue

程序员文章站 2022-11-01 11:47:29
# 安装前的准备 useradd huedev wget https://github.com/cloudera/hue/archive/release-4.2.0.tar.gz -O /home/huedev wget http://ftp.jaist.ac.jp/pub/apache/maven ......
# 安装前的准备
useradd huedev
wget https://github.com/cloudera/hue/archive/release-4.2.0.tar.gz -o /home/huedev
wget http://ftp.jaist.ac.jp/pub/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz -o /home/huedev
tar xzvf /home/huedev/hue-release-4.2.0.tar.gz -c /home/huedev
tar xzvf /home/huedev/apache-maven-3.5.4-bin.tar.gz -c /home/huedev
#maven profile配置
export maven_home=/home/huedev/maven-3.5.4
export path=$maven_home/bin
# 测试mave版本
mvn --version
 
# 安装依赖包
yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libxml2-devel libxslt-devel make mysql mysql-devel openldap-devel python-devel sqlite-devel gmp-devel
# 编译
1 prefix=/usr/share make install
2 cd /usr/share/hue
 
* oracle-jdk
* mvn( apache-maven)
* libtidy(仅仅用于测试)
* openssl-devel (version7+以上)
 
# 启动 hue
1 hue/build/env/bin/supervisor