在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
# tar -xzvf openssl-1.0.2.tar.gz
# cd openssl-1.0.2
# ./config --prefix=/usr/local/openssl && make && make install

源码安装python2.7

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

# 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
使用pip安装virtualenv,openssl,django1.6等包

编译运行hue

下载hue安装包hue-release-3.12.0.tar.gz
# tar -xzvf hue-release-3.12.0.tar.gz
# cd hue-release-3.12.0
# make apps
# build/env/bin/hue runserver
运行起来了!!!
在CentOS6下安装hue-3.12.0_第1张图片

你可能感兴趣的:(hue,大数据,centos,django,python2.7)