码迷,mamicode.com
首页 > 其他好文 > 详细

CDH:cdh5环境搭建

时间:2018-11-15 11:04:17      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:环境   bsp   pod   html   manifest   http   需要   文件   htm   

其中出现警告解决方案参考:http://www.cnblogs.com/fujiangong/p/5620050.html

安装环境三台centos7 vmw:
cdh-141 192.168.0.141 [主节点]
cdh-142 192.168.0.142 [从节点]
cdh-143 192.168.0.143 [从节点]

1)[各节点]使用本地yum repo进行安装时:
需要在各个节点(192.168.0.141,192.168.0.142,192.168.0.143)上设置本地repo(/etc/yum.repos.d/)
mkdir backup
mv *.repo ./backup
echo ‘[cloudera-manager]
name = Cloudera Manager, Version 5.13.0
baseurl = http://192.168.0.141/cm5/
gpgcheck = 0
‘> cloudera-manager.repo

echo ‘[myrepo]
name=myrepo
baseurl=http://192.168.0.141/cm5/
enabled=1
gpgcheck=0‘> myrepo.repo

2)[主节点]需要安装httpd,并在/var/www/html下创建cm5存放cm安装源,从http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.0/下载源文件到该(/var/wwww/html/cm5)路径下;
[root@cdh-141 bin]$ cd /var/www/html/
[root@cdh-141 html]$ ls
cdh5 cm5
[root@cdh-141 html]$ cd cm5/
[root@cdh-141 cm5]$ ls
mirror repodata RPMS

3)[主节点]需要下载cdh5的安装源(
http://archive.cloudera.com/cdh5/parcels/5.13.0/CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel
http://archive.cloudera.com/cdh5/parcels/5.13.0/CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel.sha1
http://archive.cloudera.com/cdh5/parcels/5.13.0/manifest.json
)到/val/www/html/cdh5/下
[root@cdh-141 ~]$ cd /var/www/html/
[root@cdh-141 html]$ ls
cdh5 cm5
[root@cdh-141 html]$ cd cdh5/
[root@cdh-141 cdh5]$ ls
CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel.sha manifest.json

 

CDH:cdh5环境搭建

标签:环境   bsp   pod   html   manifest   http   需要   文件   htm   

原文地址:https://www.cnblogs.com/yy3b2007com/p/9962099.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!