Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #on each server
- 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
- #on ambari-server
- yum -y install ambari-server ambari-agent
- ambari-server setup -s
- #install mpack vto ambari-server
- 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
- #answer yes to the purge
- ambari-server install-mpack --mpack=hdf-ambari-mpack-3.1.1.0-35.tar.gz --purge --verbose
- ambari-server restart
- #on other servers
- yum -y install ambari-agent
- #on all servers
- sed -i 's/hostname=localhost/hostname=kafka-apache-upgrade-test01.socialgist.local/' /etc/ambari-agent/conf/ambari-agent.ini
- # vi /etc/ambari-agent/conf/ambari-agent.ini file and adding the following configuration property to the security section:
- ```
- [security]
- force_https_protocol=PROTOCOL_TLSv1_2
- ```
- #restart all ambari-agents
- ambari-agent restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement