admin管理员组文章数量:1624796
1 关闭防火墙 systemctl stop firewalld
systemctl disable firewalld
2 ssh 免密
每个节点上 ssh-keygen
然后每个节点 ssh-copy-id user@ip
expect -c "
set timeout -1;
spawn ssh-keygen
expect {
\"*Enter file*\" {send \"\r\"; exp_continue}
\"*Enter passphrase*\" {send \"\r\"; exp_continue}
\"*Enter same passphrase*\" {send \"\r\"; exp_continue}
\"*The key fingerprint*\" {send \"\r\"; exp_continue}
}"
3 安装ambari-server
ambari 默认使用pstgresql 可配置成mysql
安装mysql
后期可配置mysql 密码 以及允许root远程登录
alter user 'root'@'localhost' identified by 'your_password';
开启root 远程访问 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456'
flush privileges;
4 配置本地源 因为 如果在线安装的话,非常大,近10G
//开启http服务,以便其他机器可以通过网络下载具体目录为 /var/www/html
yum install httpd
systemctl start(enable) httpd
离线下载 (我一般选用最新版的)
在下面这个网址里
https://docs.hortonworks/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/ambari_repositories.html
ambari https://docs.hortonworks/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/ambari_repositories.html
需要注意的是需要下载 tar.gz 包
HDP https://docs.hortonworks/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/hdp_25_repositories.html
注意 需要下载 HDP 和HDP-utils 对应的linux版本
解压 HDP HDP-UTILS ambari
cp * /var/www/html
配置yum 源
cat ambari.repo
#VERSION_NUMBER=2.4.1.0-22
[Updates-ambari-2.7.3.0]
name=ambari-2.7.3.0
baseurl=http://ip/ambari/centos7/2.7.3.0-139
gpgcheck=1
gpgkey=http://ip/ambari/centos7/2.7.3.0-139/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
本文标签: HDP
版权声明:本文标题:HDP安装以及遇到的一些坑 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1725280434a1016425.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论