阅读背景:

Cloudera学习(1)------安装Cloudera Manager

来源:互联网 

操作环境

Centos 7

Cloudera manager 5.13


操作步骤

1.配置cloudera manager repo库文件

[root@centos7-mysql-196 ~]# vi /etc/yum.repos.d/cloudera-manager.repo 
[cloudera-manager]
# Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64
name=Cloudera Manager
baseurl=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/
gpgkey =https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera
gpgcheck = 1

2.安装Oracle JDK

#yum install oracle-j2sdk1.7

3.安装mariadb

# yum -y install mariadb-server mysql-connector-java

4.安装cloudera manager

#yum install cloudera-manager-daemons cloudera-manager-server

5.配置mariadb 数据库

[root@centos7-mysql-196 ~]# /usr/share/cmf/schema/scm_prepare_database.sh mysql -uroot -p --scm-host localhost scm scm scm_password

6.启动cloudera manager

[root@centos7-mysql-196 ~]# service cloudera-scm-server start
[root@centos7-mysql-196 ~]# service cloudera-scm-server status
● cloudera-scm-server.service - LSB: Cloudera SCM Server
   Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-server; bad; vendor preset: disabled)
   Active: active (exited) since Wed 2017-10-18 15:08:34 CST; 1min 34s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25339 ExecStop=/etc/rc.d/init.d/cloudera-scm-server stop (code=exited, status=0/SUCCESS)
  Process: 25386 ExecStart=/etc/rc.d/init.d/cloudera-scm-server start (code=exited, status=0/SUCCESS)

Oct 18 15:08:29 centos7-mysql-196 systemd[1]: Starting LSB: Cloudera SCM Server...
Oct 18 15:08:29 centos7-mysql-196 su[25413]: (to cloudera-scm) root on none
Oct 18 15:08:34 centos7-mysql-196 cloudera-scm-server[25386]: Starting cloudera-scm-server: [  OK  ]
Oct 18 15:08:34 centos7-mysql-196 systemd[1]: Started LSB: Cloudera SCM Server.

7.登录cloudera manager 管理页面 https://ip:7180,用户名/密码:admin/admin




分享到: