在CentOS6下安装hue-3.12.0

前端之家收集整理的这篇文章主要介绍了在CentOS6下安装hue-3.12.0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

hue是大数据分析相关的一个开源管理网站,本篇文章记录本人安装的过程,以便以后查看,同时分享给需要的朋友。Github地址:https://github.com/cloudera/hue

yum安装必须的包

# yum install cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libxml2-devel libxslt-devel make mvn (from apache-maven package or maven3 tarball) MysqL MysqL-devel openldap-devel python-devel sqlite-devel openssl-devel gmp-devel

下载openssl-1.0.2.tar.gz@H_502_7@# tar -xzvf openssl-1.0.2.tar.gz@H_502_7@# cd openssl-1.0.2@H_502_7@# ./config --prefix=/usr/local/openssl && make && make install

源码安装python2.7

下载Python-2.7.10.tgz@H_502_7@# tar -xzvf Python-2.7.10.tgz@H_502_7@# cd Python-2.7.10@H_502_7@# vi Modules/Setup.dist@H_502_7@如下修改

# Socket module helper for socket(2)
_socket socketmodule.c timemodule.c
# Socket module helper for SSL support; you must comment out the other
# socket line above,and possibly edit the SSL variable:
SSL=/usr/local/openssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto

# ./configure --prefix=/usr/local/ --enable-shared && make && make install

安装完python2.7之后,安装pip@H_502_7@使用pip安装virtualenv,openssl,django1.6等包

编译运行hue

下载hue安装包hue-release-3.12.0.tar.gz@H_502_7@# tar -xzvf hue-release-3.12.0.tar.gz@H_502_7@# cd hue-release-3.12.0@H_502_7@# make apps@H_502_7@# build/env/bin/hue runserver@H_502_7@运行起来了!!!@H_502_7@

原文链接:https://www.f2er.com/centos/377425.html

猜你在找的CentOS相关文章