Cdh5 on centos6

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(CM)
第6行: 第6行:
 
*[http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_install_path_c.html 使用  Cloudera Manager Tarballs 手动安装]
 
*[http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_install_path_c.html 使用  Cloudera Manager Tarballs 手动安装]
  
若你没有安装 CentOS 6,可试着安装一个虚拟机
+
==[[Vagrant]]==
 +
若你没有安装 CentOS 6,可试着安装一个虚拟机。
 
  $ mkdir vm-install
 
  $ mkdir vm-install
 
  $ cd vm-install
 
  $ cd vm-install

2015年8月13日 (四) 06:53的版本

CentOS 6上安装 Cloudera 5.4.x

安装CDH有三种方式:

目录

Vagrant

若你没有安装 CentOS 6,可试着安装一个虚拟机。

$ mkdir vm-install
$ cd vm-install
$ vagrant init chef/centos-centos-6.6

编辑 Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.box = "chef/centos-6.6"
  config.vm.network "private_network", ip: "192.168.33.10"
  config.vm.hostname = "node1"
end

Java

yum install java-1.8.0-openjdk
yum install java-1.7.0-openjdk

PostgreSQL

yum install postgresql-server

yum install http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-redhat94-9.4-1.noarch.rpm
yum install postgresql94-server postgresql94-contrib
service postgresql-9.4 initdb
chkconfig postgresql-9.4 on
若修改数据目录 /home/data/pg_data
chown -R postgres:postgres /home/data/pg_data
进入目录"/etc/sysconfig/pgsql",创建文件"postgresql-9.4"(文件名要和数据库的服务名一致)
写入内容:PGDATA=/home/data/pg_data
service postgresql-9.4 start

CM

wget http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin

仓库

/etc/yum.repos.d/cloudera-manager.repo

http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo

图集

参考

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱