# 安装前的准备
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