Create VM in Microsoft Azure.
Open ports:
sudo vi /etc/sysctl.conf
fs.file-max = 65536
sudo vi /etc/security/limits.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
sudo vi /etc/security/limits.d/90-nproc.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
sudo reboot
ssh-keygen
sudo chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
sudo yum install ntp
sudo chkconfig ntpd on
sudo hostname xxxxxxxxxxxx.cloudapp.net
hostname -f
sudo vi /etc/hosts
100.73.40.57 xxxxxxxxxxxx.cloudapp.net
sudo vi /etc/sysconfig/network
NETWORKING_IPV6=yes
sudo chkconfig iptables off
sudo /etc/init.d/iptables stop
setenforce 0
sudo vi /etc/selinux/config
SELINUX=disabled
sudo vi /etc/profile
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo
sudo cp ambari.repo /etc/yum.repos.d/
sudo yum install ambari-server
sudo ambari-server setup
sudo ambari-server start
sudo ambari-server status
sudo chkconfig iptables off
sudo /etc/init.d/iptables stop
Access to Ambari web: http://ambari.server.host:8080/
Follow the wizards to create your cluster.
They will ask for the list of nodes that you want to setup, use their FQDN to enter.
Open ports:
sudo vi /etc/sysctl.conf
fs.file-max = 65536
sudo vi /etc/security/limits.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
sudo vi /etc/security/limits.d/90-nproc.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
sudo reboot
ssh-keygen
sudo chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
sudo yum install ntp
sudo chkconfig ntpd on
sudo hostname xxxxxxxxxxxx.cloudapp.net
hostname -f
sudo vi /etc/hosts
100.73.40.57 xxxxxxxxxxxx.cloudapp.net
sudo vi /etc/sysconfig/network
NETWORKING_IPV6=yes
sudo chkconfig iptables off
sudo /etc/init.d/iptables stop
setenforce 0
sudo vi /etc/selinux/config
SELINUX=disabled
sudo vi /etc/profile
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo
sudo cp ambari.repo /etc/yum.repos.d/
sudo yum install ambari-server
sudo ambari-server setup
sudo ambari-server start
sudo ambari-server status
sudo chkconfig iptables off
sudo /etc/init.d/iptables stop
Access to Ambari web: http://ambari.server.host:8080/
Follow the wizards to create your cluster.
They will ask for the list of nodes that you want to setup, use their FQDN to enter.
No comments:
Post a Comment