0、登录官网先看下资料
https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/setup_options.html
1、准备好安装包(ambari安装包)(要用root用户最好)
https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/ambari_repositories.html
https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/hdp_31_repositories.html
下载链接:
ambari-2.7.3.0 http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.7.3.0/ambari-2.7.3.0-ubuntu16.tar.gz
HDP http://public-repo-1.hortonworks.com/HDP/ubuntu16/3.x/updates/3.1.0.0/HDP-3.1.0.0-ubuntu16-deb.tar.gz
HDP-UTILS http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu16/HDP-UTILS-1.1.0.22-ubuntu16.tar.gz
HDP-GPL http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu16/3.x/updates/3.1.0.0/HDP-GPL-3.1.0.0-ubuntu16-gpl.tar.gz
2、安装JDK1.8,配置环境变量
# JDK1.8 下载地址
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
# 配置环境变量
vi /etc/profile
#JDK
export JAVA_HOME=/usr/local/lib/jdk1.8.0_152
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=.:${JAVA_HOME}/bin:$PATH
3、安装python2.7
sudo apt-get update
sudo apt-get install python2.7
sudo apt update
sudo apt install python-pip
pip install --upgrade pip
4、配置 hosts (节点名与IP地址)
vi /etc/hosts
# 加入自己的IP
192.168.1.113 node01
192.168.1.114 node02
192.168.1.115 node03
5、配置免密登录(root用户)
# 这是我参考的网址
https://www.cnblogs.com/shireenlee4testing/p/10366061.html
6、禁用防火墙 :sudo ufw status
7、安装ntp : apt-get install -y ntp
8、安装mysql
# 这是我的参考
https://blog.youkuaiyun.com/qq_42881421/article/details/91981918
9、最后附上官网的上地址,安装要注意些什么
https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/prepare_the_environment.html
本文详细介绍使用Ambari进行Hadoop集群部署的过程,包括安装准备、环境配置、软件安装等关键步骤,并提供官方文档及参考资料。
4355

被折叠的 条评论
为什么被折叠?



