sudo yum install cloudera-manager-agent cloudera-manager-daemons
上傳三個server的資源包到cdh1節點上(全部節點都要安裝)python
cloudera-manager-daemons-6.1.1-853290.el7.x86_64.rpmapi
cloudera-manager-agent-6.1.1-853290.el7.x86_64.rpmspa
安裝服務server
注意:安裝這兩個資源大多數有可能須要安裝一些依賴包,好比openssl-devel,系統通常都會提示,只要根據系統提示安裝缺失的依賴包便可。下面是列舉的部分。blog
yum install -y openssl-devel perl bind-utils libxslt cyrus-sasl-plain cyrus-sasl-gssapi portmap fuse-libs /lib/lsb/init-functions httpd mod_ssl python-psycopg2 MySQL-python
下面再安裝包ssl
rpm -ivh cloudera-manager-daemons-6.1.1-853290.el7.x86_64.rpm
rpm -ivh cloudera-manager-agent-6.1.1-853290.el7.x86_64.rpm
修改agent所在節點【cdh1,cdh2,cdh3】配置文件config.ini內容資源
sudo vi /etc/cloudera-scm-agent/config.ini server_host=cdh1 (這裏我是以cdh1做爲server節點)
啓動Clouder Managerget
在從節點 【cdh1,cdh2,cdh3】啓動 agent 服務openssl
systemctl start cloudera-scm-agent