ambari-agent

Ambari-agent镜像制作

  1. 基础镜像-----sweetfly123/ubuntu:18.04v2

  2. 在 /etc/apt/sources.list.d/ 下添加ambari.list和hdp相关的镜像源

    wget http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0/hdp.gpl.list
    
    wget http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0/hdp.list
    
    wget http://public-repo-1.hortonworks.com/ambari/ubuntu18/2.x/updates/2.7.3.0/ambari.list
    
  3. 安装gnupg2,与ambari的镜像源有关

    apt-get install -y gnupg2
    
  4. 安装ambari的key

    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
    
  5. 执行update

    apt-get update
    
  6. 安装ambari-agent

    apt-get install ambari-agent -y
    
  7. 安装ntp服务

    apt-get install ntp -y
    #选择6 Asia
    #选择70 shanghai
    service ntp start
    

猜你喜欢

转载自blog.csdn.net/m0_38015372/article/details/105789513