amabri offline install (암바리 오프라인 설치)
================
local repository 만들 서버에
==================
yum install -y httpd.x86_64
systemctl start httpd
systemctl enable httpd
make -p /var/www/html
cd /vat/www/html
wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.2.0/ambari-2.6.2.0-centos7.tar.gz
tar zxvf ./ambari-2.6.2.0-centos7.tar.gz
cd ambari-2*/centos7
mv ./2*/* ./
wget http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0/HDP-2.6.5.0-centos7-rpm.tar.gz
tar zxvf ./HDP-2.6.5.0-centos7-rpm.tar.gz
wget http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7/HDP-UTILS-1.1.0.22-centos7.tar.gz
tar zxvf ./HDP-UTILS-1.1.0.22-centos7.tar.
wget http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0/HDP-GPL-2.6.5.0-centos7-gpl.tar.gz
tar zxvf ./HDP-GPL-2.6.5.0-centos7-gpl.tar.gz
=========================
하둡 설치할 서버에 (클러스터 모두에)
============================
/etc/yum.repos.d/ambari.repo
[Updates-Ambari-2.6.2.0]
name=Ambari-2.6.2.0-Updates
baseurl=http://ip/ambari/centos7
gpgcheck=1
gpgkey=http://ip/ambari/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
아래 영역은 셋팅안하고 암바리 UI 설치때 리파짓 토리 주소를 주면 될 것 같음
http://IP/HDP/centos7/2.6.5.0-292
http://IP/HDP-UTILS/centos7/1.1.0.22
#vi /etc/yum.repos.d/ambari-hdp-1.repo
#
#[HDP-2.6-repo-1]
#name=HDP-2.6-repo-1
#baseurl=http://ip/HDP/centos7/2.x/updates/2.6.5.0
#
#path=/
#enabled=1
#gpgcheck=0
#[HDP-UTILS-1.1.0.22-repo-1]
#name=HDP-UTILS-1.1.0.22-repo-1
#baseurl=http://ip/HDP-UTILS-1.1.0.22/repos/centos7
#
#path=/
#enabled=1
#gpgcheck=0
================
yum install yum-plugin-priorities -y
vi /etc/yum/pluginconf.d/priorities.conf
[main]
enabled=1
gpgcheck=0
===========================
yum repolist
===============
하둡 1번서버에서 설치 시작
이후는 암바리 하둡 설치를 참고
yum install -y ambari-server.x86_64
댓글
댓글 쓰기