- 集群搭建
- 设置 Web 服务器
- 启动 ClouderManager
- 登入 Cloudera Manager
引言
这部份是一个补充资料,记录如何安装 Cloudera 服务器
集群搭建
-
查看你主机的 IP 地址并且设置静态 IP,这里显示的是 192.168.80.145
ifconfig -a
用图型界面来设置静态 IP -
修改 network 文件来修改 HOSTNAME
vim /etc/sysconfig/network hostname elephant service network restart
-
修改 /etc/hosts 文件
192.168.80.145 elephant 192.168.80.146 monkey
设置 Web 服务器
-
首先是关掉防火墙
service iptables stop chkconfig iptables off vim /etc/selinux/config setenforce 0
-
查看 httpd 服务和启动状况,如果发现没有安装 httpd 服务,请先安装 sudo yum -y install httpdrpm -qa | grep 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