๋ฐ˜์‘ํ˜•

hue ์„ค์น˜ ํ•  ๋•Œ ์•ž์„œ ์žˆ๋˜ ํ•˜๋‘ก ์—์ฝ”์‹œ์Šคํ…œ๋“ค์ด ์–ด๋Š์ •๋„ ์„ค์น˜๋˜์—ˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•˜๊ณ  ์ง„ํ–‰ํ•˜๊ฒ ๋‹ค.

ํœด์˜ ๊ฒฝ์šฐ ์„ค์น˜ํ•˜๊ธฐ์ „์— ์‚ฌ์ „์ž‘์—…์„ ํ•ด์ค˜์•ผ ํ•œ๋‹ค.

postgres๋Š” ๋‹ค๋ฅธ ํฌ์ŠคํŠธ์—์„œ ์„ค์ •์„ ๋‹ค๋ฃจ๊ธฐ๋กœ ํ•˜๊ณ ,

ํœด ์„ค์น˜ ๊ฐ€์ด๋“œ ์—์„œ๋Š” ํœด์—์„œ ์‚ฌ์šฉํ•  ๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค ์ƒ์„ฑ์ •๋„๋งŒ ๋‹ค๋ฃฐ ์˜ˆ์ •์ด๋‹ค.

 

์‚ฌ์ „์ž‘์—…

ํœด๋Š” ํŒŒ์ด์ฌ์„ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ํ™˜๊ฒฝ๋ณ€์ˆ˜๋กœ ํŒŒ์ด์ฌ ๋ฒ„์ „์„ ์žก์•„์ค˜์•ผํ•œ๋‹ค.

ํ™˜๊ฒฝ๋ณ€์ˆ˜๋Š” .bash_profile ์— ์ถ”๊ฐ€ํ•˜์˜€๋‹ค.

ํŒŒ์ด์ฌ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์ถ”๊ฐ€

$ sudo vi ~/..bash_profile

export PYTHON_VER=python3.8

 

psycopg2 ์„ค์น˜ (์ „์— pip๋„ ์„ค์น˜๋˜์–ด ์žˆ์–ด์•ผํ•จ)

$ pip install psycopg2

$ python setup.py build

$ sudo python setup.py install

$ pip install psycopg2-binary


nodejs ์„ค์น˜ (centos7 ๊ธฐ์ค€ ์ด๋‹ค.)

 
$ sudo yum install epel-release

$ sudo yum install nodejs


hue ์—์„œ ์‚ฌ์šฉํ•˜๋Š” package ์„ค์น˜

$ sudo 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
cs


maven ์„ค์น˜

$ wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -P /tmp

$ sudo tar xf /tmp/apache-maven-3.6.3-bin.tar.gz -C /opt

$ sudo ln -s /opt/apache-maven-3.6.0 /opt/maven 

$ sudo vi ~/.bash_profile

#MAVEN

export MAVEN_HOME=/opt/maven

export M2_HOME=$MAVEN_HOME

PATH=$PATH:$M2_HOME/bin:

$ source ~/.bash_profile

$ vi /opt/maven/conf/settings.xml


mirror ์‚ฌ์ดํŠธ ์ถ”๊ฐ€ํ•˜๊ธฐ

maven build๊ฐ€ ํ•„์š”ํ•œ ์•„ํŒŒ์น˜ ์˜คํ”ˆ์†Œ์Šค๋“ค์ด ์žˆ๋Š”๋ฐ, centos์˜ ๊ฒฝ์šฐ yum install maven์‹œ 3.0.5๊ฐ€ ์„ค์น˜๋œ๋‹ค.
3.0.5๋ฒ„์ „์œผ๋กœ ๋นŒ๋“œ ์‹œ fail์ด ๋นˆ๋ฒˆํ•˜๊ธฐ๋„ํ•˜๊ณ , ๊ณต์‹์‚ฌ์ดํŠธ์—์„œ๋„ 3.3์ด์ƒ ๋ฒ„์ „ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•˜๊ธฐ ๋•Œ๋ฌธ์—
์•„ํŒŒ์น˜ ๋ฏธ๋Ÿฌ ์‚ฌ์ดํŠธ์—์„œ ์ตœ์‹ ๋ฒ„์ „ maven์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•œ๋‹ค.

postgres์— hue db, user ์ถ”๊ฐ€ํ•˜๊ธฐ

psql -U postgres

CREATE USER hue WITH PASSWORD 'hue';

CREATE DATABASE hue OWNER hue;

\l

ํœด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์™€ ์˜ค๋„ˆ ํ™•์ธํ•˜๊ธฐ

---

Solr ์„ค์น˜

https://n-a-y-a.tistory.com/m/68

 

[Solr] Apache solr 8.5.0 ์„ค์น˜ํ•˜๊ธฐ

ranger, atlas๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด ์„ ์„ค์น˜ํ•ด์•ผํ•˜๋Š” ์˜คํ”ˆ์†Œ์Šค์ด๋‹ค. https://archive.apache.org/dist/lucene/solr/8.5.0/ Index of /dist/lucene/solr/8.5.0 archive.apache.org ํ•ด๋‹น ์‚ฌ์ดํŠธ์—์„œ 8.5.0๋ฒ„์ „์„ ๋‹ค์šด ๋ฐ›..

n-a-y-a.tistory.com

---

 

ํœด ์„ค์น˜

 
$ wget https://cdn.gethue.com/downloads/hue-4.0.1.tgz

$ tar -xvzf hue-4.0.1.tgz

$ ln -s hue-4.0.0 hue

$ cd hue

$ export PREFIX=/usr/local

$ make 7$ make install

 


ํœด ์‹คํ–‰

 
$ ./build/env/bin/supervisor &

$ netstat -nltp | grep 8888

์ž…๋ ฅ์‹œ ์„œ๋น„์Šค ์˜ฌ๋ผ์˜จ ๊ฒƒ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.


***HDFS***
***HIVE***
***HBASE***
๋“ฑ ๊ฐ ์„œ๋น„์Šค๋“ค์€ ํ˜„์žฌ ์—ฐ๊ฒฐ๋œ ์ƒํƒœ๋Š” ์•„๋‹ˆ๋ฏ€๋กœ
๋งž๋Š” config๊ฐ’๋“ค์„ ์ฐพ์•„ ์ˆ˜์ •ํ•ด์ค˜์•ผํ•œ๋‹ค.


์ฐธ๊ณ ์‚ฌ์ดํŠธ
docs.gethue.com/administrator/installation/

 

Installation :: Hue SQL Assistant Documentation

docs.gethue.com

 

728x90
๋ฐ˜์‘ํ˜•

+ Recent posts