AWS安装CDH5.3-CentOS6.4中关键操作步骤
1、在AWS masternode 上下載cloudera-manager-installer.bin安裝包
???? [root@ip-172-21-42-114 ~]# wget http://archive.cloudera.com/cm5/installer/latest/coludera-manager-installer.bin
???? 此時會提示:-bash: wget: command not find
? 所以要現安裝wget命令
? [root@ip-172-21-42-114 ~]# yum install wget ? /*因為在masternode上,所以不需要sudo*/
2、鏈接AWS上instance機器
??? ssh -i Desktop/AWS/littlesuccess-aws-mem.pem root@54.149.75.95??? /*the ip can be changes*/
3、關閉SELINUX
? ? vi /etc/selinux/config ?
? ? 將SELINUX=enforcing改為SELINUX=disabled;
4、關閉防火墻
[root@ip-172-31-42-114 ~]# chkconfig iptables off
? ? ? 此處關閉防火墻的幾個命令:service iptables stop/start/restart
5、重復2,3,4步驟,修改其他兩個instances上的配置,到AWS上reboot每個機器,key:is reboot,not terminate;
6、在masternode上安裝步驟一下載好的cloudera-manager-installer.bin包,執行命名 ./cloudera-manager-installer.bin,
?會提示權限不夠,我們ls -l 一下,會發現安裝包沒有執行權限,所以我們要賦予執行權限:
? ? chmod 744?cloudera-manager-installer.bin之后,再執行安裝命令即可;
7、finnaly we come to the CM,run url 54.187.193.80:7180 in your brower,note : the ip changes depends on the masternode'ip,
? ? but the port is the same;
8、other notes : 將秘鑰文件首先從本地拷貝到masternote上,scp Desktop/AWS/littlesuccess-aws-mem.pem ;
? ? ? ? ? ? ? ? ? ? ? ? df一下,會看到instance上空間使用情況,然后要resize2fs /dev/xvde/一下,相當于格式化;
? ? ? ? ? ? ? ? ?
?
轉載于:https://www.cnblogs.com/gxc2015/p/4267937.html
總結
以上是生活随笔為你收集整理的AWS安装CDH5.3-CentOS6.4中关键操作步骤的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 添加远程链接MySQL的权限
- 下一篇: Foundation框架: 5.常用结构