#### hue本地安装
> [参考官网](http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/)
### Dockerfile 源代码
```dockerfile
FROM ubuntu:trusty
MAINTAINER The Hue Team "https://github.com/cloudera/hue"
RUN apt-get update -y
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get update -y
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
RUN apt-get install -y oracle-java8-installer
RUN apt-get update -y
RUN apt-get install --fix-missing -q -y \
git \
ant \
gcc \
g++ \
libkrb5-dev \
libmysqlclient-dev \
libssl-dev \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libsqlite3-dev \
libtidy-0.99-0 \
libxml2-dev \
libxslt-dev \
libffi-dev \
make \
maven \
libldap2-dev \
python-dev \
python-setuptools \
libgmp3-dev \
libz-dev
RUN git clone https://github.com/cloudera/hue.git
WORKDIR hue
RUN make apps
EXPOSE 8888
VOLUME /hue/desktop/
CMD ["build/env/bin/hue", "runserver_plus", "0.0.0.0:8888"]
```
#### hue配置文件
```powershell
$ vi $HUE_HOME/desktop/conf/pseudo-distributed.ini
```
#### hue部署在单机docker
```powershell
$ docker run -tid --name hue8888 \
--hostname cnode1.domain.org -p 8888:8888 \
-v /home/hzy/Dockerfile/hue/hue/desktop/conf/pseudo- distributed.ini:/hue/desktop/conf/pseudo-distributed.ini \ # 挂载hue的配置文件
gethue/hue:latest \
./build/env/bin/hue runserver_plus 0.0.0.0:8888 # 容器内运行hue服务
```
> hue在docker单机部署成功,后继用swarm部署多台机子。
- Docker
- Docker入门
- docker管理UI
- 封装各大数据组件
- 自主封装
- 封装hadoop
- 封装spark
- 官方封装
- 封装hue
- 封装jenkins
- Swarm
- Swarm入门
- Zookeeper on swarm
- Hue on swarm
- Grafana
- influxDB
- Prometheus
- cAdvisor
- kubernetes
- k8s入门
- k8s部署dashboard
- minikube
- 手动搭建k8s的高可用集群
- 01环境准备
- 02部署etcd集群
- 03配置kubelet
- 04部署flannel网络
- 05部署master集群
- 06配置高可用
- 07部署node节点
- 08验证集群
- Monitor
- swarm 监控
- influxDB+Grafana
- Prometheus+Grafana