To deploy your Hortonworks stack using Ambari, you need to prepare your deployment environment:
Set Up Password-less SSH
Set Up Service User Accounts
Enable NTP on the Cluster and on the Browser Host
Check DNS and NSCD
Configuring iptables
Disable SELinux and PackageKit and check the umask Value