Advertisement
josephxsxn

hdf 3.1.1 install

Jan 7th, 2019 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #on each server
  2. wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
  3.  
  4. #on ambari-server
  5. yum -y install ambari-server ambari-agent
  6. ambari-server setup -s
  7.  
  8. #install mpack vto ambari-server
  9. wget http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.1.1.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.1.1.0-35.tar.gz
  10.  
  11. #answer yes to the purge
  12. ambari-server install-mpack --mpack=hdf-ambari-mpack-3.1.1.0-35.tar.gz --purge --verbose
  13.  
  14. ambari-server restart
  15.  
  16.  
  17. #on other servers
  18. yum -y install ambari-agent
  19.  
  20.  
  21. #on all servers
  22. sed -i 's/hostname=localhost/hostname=kafka-apache-upgrade-test01.socialgist.local/' /etc/ambari-agent/conf/ambari-agent.ini
  23.  
  24.  
  25. # vi /etc/ambari-agent/conf/ambari-agent.ini file and adding the following configuration property to the security section:
  26.  
  27. ```
  28. [security]
  29. force_https_protocol=PROTOCOL_TLSv1_2
  30. ```
  31.  
  32. #restart all ambari-agents
  33. ambari-agent restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement