您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 软件工程 > Hadoop视频教程-Hadoop开发实例-04.安装Greenplum(2)
基于GreenplumHadoop分布式平台的大数据解决方案GreenplumHadoop讲师:迪伦(北风网版权所有)安装Greenplum(2)系统设置(所有节点)在Master节点上安装Greenplum软件在所有主机上初始化配置Greenplum课程目标配置/etc/security/limits.conf文件*softnofile65536*hardnofile65536*softnproc131072*hardnproc131072设置磁盘访问I/O调度策略#echodeadline/sys/block/sda/queue/scheduler#echodeadline/sys/block/fd0/queue/scheduler#echodeadline/sys/block/hdc/queue/scheduler系统设置(所有节点)设置预读块的值为16384#/sbin/blockdev--getra/dev/sda#/sbin/blockdev--setra16384/dev/sda#/sbin/blockdev--setra16384/dev/sda1#/sbin/blockdev--setra16384/dev/sda2#/sbin/blockdev--setra16384/dev/sda3修改/etc/hosts,添加如下内容192.168.136.101mdw192.l68.136.102sdw1192.168.136.103sdw2系统设置(所有节点)准备介质下载地址:解压#unzipgreenplum-db-4.2.2.4-build-1-CE-RHEL5-i386.zip安装软件#/bin/bashgreenplum-db-4.2.2.4-build-1-CE-RHEL5-i386.bin在Master节点上安装Greenplum软件安装结果greenplum_path.sh:Greenplum数据库环境变量文件GPDB-LICENSE.txt:Greenplum许可协议bin:管理工具、客户端程序及服务程序demo:示例程序docs:帮助文档etc:OpenSSL的配置示例ext:一些GP工具使用的捆绑程序inlcude:C头文件lib:库文件sbin:支持的或者内部的脚本和程序share:共享文件在Master节点上安装Greenplum软件获取环境参数#source/usr/local/greenplum-db/greenplum_path.sh创建主机文件all_hosts文件内容:mdwsdw1sdw2运行gpseginstall工具#gpseginstall-fall_hosts-ugpadmin-pgpadmin在所有主机上初始化配置Greenplum欢迎访问我们的官方网站
本文标题:Hadoop视频教程-Hadoop开发实例-04.安装Greenplum(2)
链接地址:https://www.777doc.com/doc-8638240 .html