zoukankan      html  css  js  c++  java
  • 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/一下,相当于格式化;

                     

  • 相关阅读:
    今天发现之前瑞乐做的登录和注册居然都是用的get请求,瞬间出了一身冷汗.
    用grunt进行前端工程化之路
    移动端开发库zepto 之我思
    构造高度自适应的textarea
    maxlength属性在textarea里奇怪的表现
    在windows下使用linux的开发环境
    移动web开发的一些坑
    [译]开始学习webpack
    完美解决移动Web小于12px文字居中的问题
    再谈移动端Web屏幕适配
  • 原文地址:https://www.cnblogs.com/gxc2015/p/4267937.html
Copyright © 2011-2022 走看看