相信不少童鞋在使用CDH的时候,难免会遇到困难, 

安装的困难,国外源更新速度满且失败那么今天分享以下在centos 中搭建本地源的一些。


第一检查有没有安装httpd,如下图所示,通常centos系统会自带

centos 搭建cdh本地源

查看httpd的运行状态:

centos 搭建cdh本地源


开启启动;

sudo chkconfig httpd on


将文件放入以下路径:

centos 搭建cdh本地源

centos 搭建cdh本地源

成功后应该是这个样子的:

centos 搭建cdh本地源


配置源 yum源。

centos 搭建cdh本地源


需要在 hosts文件中配置对应的映射。

这样本地源就按照好了。




相关文章:

  • 2022-12-23
  • 2022-01-16
  • 2021-07-10
  • 2022-12-23
  • 2021-08-19
  • 2021-11-20
  • 2021-04-05
  • 2021-05-19
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案