Ambari安装
#
配置Yum仓库#
本地You can use every webserver. In this section we will use an httpd server.
-
Install httpd
yum install httpd
-
Download the archive of HDP repository,For example x86 verison:
http://x86.repo.hdp.link/ambari/centos7/2.7.6.0-0/repos-ambari.tar.gz
-
Extract the archive in
/var/www/html
(default installation folder for httpd) -
Configure the yum repository on your servers. Edit
/etc/yum.repos.d/ambari.repo
-
Clean your yum cache
yum clean all
-
Check that the repository is set correctly
yum repolist
#
远程If your servers have direct access to internet you can use directly our repository.
-
Configure the yum repository on your servers. Edit
/etc/yum.repos.d/ambari.repo
-
Clean your yum cache
yum clean all
-
Check that the repository is set correctly
yum repolist
#
Ambari Server Installation#
RequirementsAs we said before, the current stack is only compatible with CentOS 7.X
-
Packages needed :
scp, curl, unzip, tar, wget, gcc, python (2.7.12 < ), python-devel, openssl (1.01 build16 <)
-
Minimum recommended ulimit is 10000 or more. To set the ulimit use
ulimit -n 10000
-
Password less ssh if you want to let Ambari-Server install the ambari-agent manually on your servers, or go directly to "Ambari Agent > Manuel Installation"
-
Disable Selinux permanently. Set
SELINUX=disable
in/etc/selinux/config
-
If you installation contains Packagekit, disable it by setting
enabled=0
in/etc/yum/pluginconf.d/refresh-packagekit.conf
-
Time synchronization : Install/configure NTP/Chrony(whatever) to synchronize time on your cluster
-
Databases requirements
TO BE COMPLETED
#
Installation- Configure the Ambari yum repository => Create Ambari repository
#
Ambari Agent InstallationManual installation
-
Configure the Ambari yum repository => Create Ambari repository
-
RHEL/CentOS :
yum install ambari-agent
-
Edit
/etc/ambari-agent/conf/ambari-agent.ini
and set the hostname of your Ambari-Server
上级主题: : HiDataPlus(HDP)安装参考文档
下一主题: : 使用Ambari UI安装HiDataPlus(HDP)