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

搭建本地parcel仓库

时间:2019-08-13 13:51:59      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:direct   package   安装   ras   down   blog   yum   界面   mkdir   

参考:
https://www.cloudera.com/documentation/enterprise/6/6.2/topics/cm_ig_create_local_parcel_repo.html#download_publish_parcel_repo

https://www.cnblogs.com/yinzhengjie/articles/11029566.html

一 建parcel仓库

1/ 建本地web服务器:
yum install httpd

vim /etc/httpd/conf/httpd.conf
#后边添加.parcel
AddType application/x-gzip .gz .tgz .parcel

2 /下载manifest.json and the parcel files:
mkdir -p /var/www/html/cloudera-repos
wget --recursive --no-parent --no-host-directories https://archive.cloudera.com/cdh6/6.2.0/parcels/ -P /var/www/html/cloudera-repos
wget --recursive --no-parent --no-host-directories https://archive.cloudera.com/gplextras6/6.2.0/parcels/ -P /var/www/html/cloudera-repos
sudo chmod -R ugo+rX /var/www/html/cloudera-repos/cdh6
sudo chmod -R ugo+rX /var/www/html/cloudera-repos/gplextras6

 

在CDH安装界面中配置:
http://195.189.142.89/cloudera-repos/cdh6/6.2.0/parcels/


配置local包仓库:
https://www.cloudera.com/documentation/enterprise/6/6.2/topics/cm_ig_create_local_package_repo.html

搭建本地parcel仓库

标签:direct   package   安装   ras   down   blog   yum   界面   mkdir   

原文地址:https://www.cnblogs.com/hongfeng2019/p/11345057.html

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