在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-develpython

下載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 installmysql

源碼安裝python2.7

下載Python-2.7.10.tgz
# tar -xzvf Python-2.7.10.tgz
# cd Python-2.7.10
# vi Modules/Setup.dist
以下修改:c++

# 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 installgit

安裝完python2.7以後,安裝pip
使用pip安裝virtualenv,openssl,django1.6等包github

編譯運行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
運行起來了!!!
運行成功sql

相關文章
相關標籤/搜索