• 集群搭建
  • 设置 Web 服务器
  • 启动 ClouderManager
  • 登入 Cloudera Manager

 

引言

这部份是一个补充资料,记录如何安装 Cloudera 服务器

  

集群搭建

  1. 查看你主机的 IP 地址并且设置静态 IP,这里显示的是 192.168.80.145
    ifconfig -a
    

    [补充资料] 手动搭建 Cloudera 集群
    用图型界面来设置静态 IP
    [补充资料] 手动搭建 Cloudera 集群

  2. 修改 network 文件来修改 HOSTNAME 
    vim /etc/sysconfig/network
    hostname elephant
    service network restart
    [补充资料] 手动搭建 Cloudera 集群
  3. 修改 /etc/hosts 文件
    192.168.80.145  elephant
    192.168.80.146  monkey 

 

设置 Web 服务器

  1. 首先是关掉防火墙
    service iptables stop
    chkconfig iptables off
    vim /etc/selinux/config
    setenforce 0
    
  2. 查看 httpd 服务和启动状况,如果发现没有安装 httpd 服务,请先安装 sudo yum -y install httpd
    [enmoedu@elephant softwares]$ rpm -qa | grep httpd
    httpd-2.2.15-59.el6.centos.x86_64
    httpd-tools-2.2.15-59.el6.centos.x86_64
    rpm -qa | grep httpd

相关文章: