1.5.2、CDH 搭建Hadoop在安装之前(定制安装解决方案---使用内部包存储库)
本主题描述如何在Cloudera Manager部署中创建内部包存储库和直接主机以使用该存储库。您可以创建永久或临时存储库。
完成这些步骤后,您可以安装特定版本的Cloudera Manager或在未连接到Internet的主机上安装Cloudera Manager。
继续阅读:
创建永久内部存储库
安装Apache HTTP Server
| OS | Command |
|---|---|
| RHEL compatible | sudo yum install httpd |
| SLES | sudo zypper install httpd |
| Ubuntu |
sudo apt-get install httpd
|
| OS | Command |
|---|---|
| RHEL compatible | sudo service httpd start |
| SLES | sudo service apache2 start |
| Ubuntu | sudo service apache2 start |
下载Tarball和发布存储库文件
- 从中下载适用于您的操作系统分发的tarball repo-as-tarball 档案:
- Cloudera经理5: https://archive.cloudera.com/cm5/repo-as-tarball/
- CDH 5: https://archive.cloudera.com/cdh5/repo-as-tarball/
- Cloudera Navigator密钥受托服务器
- Cloudera Navigator Key HSM
- Cloudera Navigator Key Trustee KMS
- Cloudera Navigator加密
创建临时内部存储库
您可以快速创建临时远程存储库以部署包一次。在运行Cloudera Manager的同一主机或网关角色上执行此操作非常方便。在此示例中,将从您选择的目录中使用Python SimpleHTTPServer。
- 从中下载适用于您的操作系统分发的tarball 回购作为-tar包 档案:
- Cloudera经理5: https://archive.cloudera.com/cm5/repo-as-tarball/
- CDH 5: https://archive.cloudera.com/cdh5/repo-as-tarball/
- 对于Cloudera Navigator数据加密组件,请转到每个组件的下载页面,选择您的操作系统版本,然后单击下载:
- 解压缩tarball并修改文件权限。例如:
cd / tmp tar xvfz cm5.14.0-centos7.tar.gz sudo chmod -R ugo + rX / tmp / cm
- 确定系统未侦听的端口(例如,端口8900)。
- 在当前目录中启动Python SimpleHTTPServer:
python -m SimpleHTTPServer 8900
在0.0.0.0端口8900上提供HTTP服务...
- 确认您可以转到此托管软件包存储库 HTTP://<web_server>:8900/在您的浏览器中。您应该看到托管文件的链接。
修改客户端以使用内部存储库
| OS | Procedure |
|---|---|
| RHEL compatible | Create /etc/yum.repos.d/cloudera-repo.repo files on cluster hosts with the following content, where <web_server> is the hostname of the web server:
[cloudera-repo]name=cloudera-repobaseurl=http://<web_server>/cm/5enabled=1gpgcheck=0 |
| SLES | Use the zypper utility to update client system repo information by issuing the following command:
zypper addrepo http://<web_server>/cm <alias> |
| Ubuntu | Create /etc/apt/sources.list.d/cloudera-repo.list files on all cluster hosts with the following content, where <web_server> is the hostname of the web server:
deb http://<web_server>/cm <codename> <components> You can find the <codename> and <components> variables in the ./conf/distributions file in the repository. After creating the .list file, run the following command:
sudo apt-get update
|
1.5.2、CDH 搭建Hadoop在安装之前(定制安装解决方案---使用内部包存储库)的更多相关文章
- 1.5.1、CDH 搭建Hadoop在安装之前(定制安装解决方案---使用内部包裹存储库)
使用内部包裹存储库 您可以通过托管内部存储库或手动将存储库文件复制到Cloudera Manager主机来为Cloudera Manager创建parcel存储库. 继续阅读: 托管内部包裹存储库 配 ...
- 2.1、CDH 搭建Hadoop在安装(为Cloudera Manager配置存储库)
步骤1:为Cloudera Manager配置存储库 使用包管理工具安装Cloudera Manager yum 对于RHEL兼容系统, zypper对于SLES,和 apt-get对于Ubuntu. ...
- 1.5、CDH 搭建Hadoop在安装之前(定制安装解决方案)
Cloudera托管两种类型的软件存储库,您可以使用它们来安装诸如Cloudera Manager或CDH-parcel存储库和软件包存储库之类的产品. 在大多数情况下,这些存储库是有效的解决方案,但 ...
- 2.6、CDH 搭建Hadoop在安装(安装CDH和其他软件)
第6步:安装CDH和其他软件 设置Cloudera Manager数据库后,启动Cloudera Manager Server,然后登录Cloudera Manager Admin Console: ...
- 1.5.3、CDH 搭建Hadoop在安装之前(定制安装解决方案---创建群集主机的虚拟映像)
创建群集主机的虚拟映像 您可以使用预先部署的Cloudera软件创建虚拟机映像,例如PXE启动映像,Amazon AMI和Azure VM映像,这些映像可用于快速启动虚拟机.这些图像使用parcel来 ...
- 1、CDH 搭建Hadoop在安装之前(存储空间规划)
Cloudera Manager的存储空间规划 最低要求角色: 完全管理员 Cloudera Manager跟踪许多后台进程中的服务,作业和应用程序的度量标准.所有这些指标都需要存储.根据组织的大小, ...
- 使用Windows Azure的VM安装和配置CDH搭建Hadoop集群
本文主要内容是使用Windows Azure的VIRTUAL MACHINES和NETWORKS服务安装CDH (Cloudera Distribution Including Apache Hado ...
- 2.2、CDH 搭建Hadoop在安装(安装Java Development Kit)
第2步:安装Java Development Kit 要安装Oracle JDK,您可以使用Cloudera Manager安装Cloudera提供的版本,也可以直接安装Oracle的其他版本. 继续 ...
- 1.5.7、CDH 搭建Hadoop在安装之前(定制安装解决方案---配置单用户模式)
配置单用户模式 在传统的Cloudera Manager部署中,管理每台主机上的Hadoop进程的Cloudera Manager Agent以root用户身份运行.但是,某些环境会限制对root帐户 ...
随机推荐
- Java并发编程:Java Thread 的 run() 与 start() 的区别
1. sleep 和 wait 方法解释 sleep()方法是Thread类里面的,主要的意义就是让当前线程停止执行,让出cpu给其他的线程,但是不会释放对象锁资源以及监控的状态,当指定的时间到了之后 ...
- tkinter widget
tkinter messagebox
- 获取手机浏览器IP的函数
function GetIP() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { //如果变量是非空或非零的值,则 empty()返回 FALSE. $IP = ...
- 代码:PC HTML——图片列表
图片列表: 2016-6-12 可作为图片列表的规范性写法.这个例子只处理了单行的模式.( 一行多列 ) <link href="css/common.css" rel=&q ...
- 《算法》第二章部分程序 part 5
▶ 书中第二章部分程序,加上自己补充的代码,包括利用优先队列进行多路归并和堆排序 ● 利用优先队列进行多路归并 package package01; import edu.princeton.cs.a ...
- yarn 日志查看
1. yarn 日志列表 yarn application -list 2. impala-shell impala-shell -q 'invalidate metadata' ## impala ...
- 混合式应用真机调试(Android Studio + Chrome)
如何在chrome上调试混合式APP https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ Get Sta ...
- python大法好——
1.字符串 字符串是 Python 中最常用的数据类型.我们可以使用引号('或")来创建字符串. Python的字符串内建函数 Python 的字符串常用内建函数如下: 1.大小写转换: & ...
- spring data jpa update
一:在controller 加上: @Controller @RequestMapping("/user") public class UserController { @Aut ...
- Mac安装Mysql-python _mysql.c:44:10: fatal error: 'my_config.h' file not found
解决步骤 brew install mysql brew unlink mysql brew install mysql-connector-c sed -i -e /bin/mysql_config ...