Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Centos 7 install/deploy Cloudera Manager and CDH using local repository and CDH local parcel
- prepare work
a. make cm node can ssh to all nodes without password
ssh-genkey, ssh-copy-id
b. hostname mapping
c. mysql server
d. postgresql
e. ntp
systemctl disable chrony
centos7 default enable chrony server, even enable ntpd, cuase chrony started, ntpd will not started
this will cause CDH ntp error, so need to disable chrony.
following f,g step required if enable kerberos security
f. install kdc
g. yum install krb5-workstation -y on all cluster node
- install cm with local CLoudera Manager repo
http://www.cloudera.com/documentation/enterprise/5-6-x/topics/cdh_ig_yumrepo_local_create.html
-- create cloudera manager local repo
1. download the correct repo file to /etc/yum.repos.d
https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/cloudera-cdh5.repo
2. yum install yum-utils createrepo
3. reposync -r cloudera-cdh5
4. createrepo .
5. publish just create repo using any http server
6. edit /etc/yum.repos.d/cloudera-manager.repo, change the url to your local url
-- install cm
1. yum install cloudera-manager-daemons cloudera-manager-server
2. modify /etc/cloudera-scm-server/db.properties to point to correct db
3. yum install -y mysql-connector-java
or download mysql-connector-java.jar and put it to /usr/share/java/
4. systemctl restart cloudera-scm-server
http://cm.ip:7180
deafult: admin/admin
- install CDH with local parcel
-- create CDH local parcel
http://www.cloudera.com/documentation/enterprise/5-3-x/topics/cm_ig_create_local_parcel_repo.html
-- open cm web ui in browser
http://cm.ip:7180
deafult: admin/admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.