ambari1.7安装
来源:互联网 发布:ubuntu iso安装教程 编辑:程序博客网 时间:2024/06/06 19:05
1 下载repo
根据hdp的文档http://zh.hortonworks.com/hdp/downloads/
按照上面说的下载两个
wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/ambari-1.7.0-centos6.tar.gzwget -nv http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0/hdp.repo -O /etc/yum.repos.d/HDP.repo
2 安装
yum install yum-utils createrepomkdir -p /var/www/html/yum install epel-releaseyum repolist[root@master ~]# yum install ambari-server已加载插件:fastestmirror, product-id, refresh-packagekit, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.设置安装进程Loading mirror speeds from cached hostfile * epel: epel.mirror.srv.co.ge解决依赖关系--> 执行事务检查---> Package ambari-server.noarch 0:1.7.0-169 will be 安装--> 完成依赖关系计算依赖关系解决=================================================================================================== 软件包 架构 版本 仓库 大小===================================================================================================正在安装: ambari-server noarch 1.7.0-169 Updates-ambari-1.7.0 96 M事务概要===================================================================================================Install 1 Package(s)总下载量:96 MInstalled size: 123 M确定吗?[y/N]:y下载软件包:ambari-server-1.7.0-169.noarch.rpm | 96 MB 05:36 运行 rpm_check_debug 执行事务测试事务测试成功执行事务 正在安装 : ambari-server-1.7.0-169.noarch 1/1 Verifying : ambari-server-1.7.0-169.noarch 1/1 已安装: ambari-server.noarch 0:1.7.0-169 完毕![root@master ~]# ambari-server setupUsing python /usr/bin/python2.6Setup ambari-serverChecking SELinux...SELinux status is 'enabled'SELinux mode is 'enforcing'Temporarily disabling SELinuxWARNING: SELinux is set to 'permissive' mode and temporarily disabled.OK to continue [y/n] (y)? yCustomize user account for ambari-server daemon [y/n] (n)? yEnter user account for ambari-server daemon (root):adminAdjusting ambari-server permissions and ownership...Checking firewall...Checking JDK...[1] - Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7[2] - Oracle JDK 1.6 + Java Cryptography Extension (JCE) Policy Files 6[3] - Custom JDK==============================================================================Enter choice (1):1To download the Oracle JDK and the Java Cryptography Extension (JCE) Policy Files you must accept the license terms found at http://www.oracle.com/technetwork/java/javase/terms/license/index.html and not accepting will cancel the Ambari Server setup and you must install the JDK and JCE files manually.Do you accept the Oracle Binary Code License Agreement [y/n] (y)? yDownloading JDK from http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-7u67-linux-x64.tar.gz to /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gzJDK distribution size is 142376665 bytesjdk-7u67-linux-x64.tar.gz... 100% (135.8 MB of 135.8 MB)Successfully downloaded JDK distribution to /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gzInstalling JDK to /usr/jdk64Successfully installed JDK to /usr/jdk64/jdk1.7.0_67Downloading JCE Policy archive from http://public-repo-1.hortonworks.com/ARTIFACTS/UnlimitedJCEPolicyJDK7.zip to /var/lib/ambari-server/resources/UnlimitedJCEPolicyJDK7.zipSuccessfully downloaded JCE Policy archive to /var/lib/ambari-server/resources/UnlimitedJCEPolicyJDK7.zipCompleting setup...Configuring database...Enter advanced database configuration [y/n] (n)? y==============================================================================Choose one of the following options:[1] - PostgreSQL (Embedded)[2] - Oracle[3] - MySQL[4] - PostgreSQL==============================================================================Enter choice (1): 1Database Name (ambari): Postgres schema (ambari): Username (ambari): Enter Database Password (bigdata): Re-enter password: Default properties detected. Using built-in database.Checking PostgreSQL...Running initdb: This may take upto a minute.正在初始化数据库:[确定]About to start PostgreSQLConfiguring local database...Connecting to local database...done.Configuring PostgreSQL...Extracting system views...ambari-admin-1.7.0.169.jar..Adjusting ambari-server permissions and ownership...Ambari Server 'setup' completed successfully.[root@master ~]# ambari-serverambari-server ambari-server.py [root@master ~]# ambari-serverUsing python /usr/bin/python2.6Usage: /usr/sbin/ambari-server {start|stop|restart|setup|upgrade|status|upgradestack|setup-ldap|sync-ldap|setup-security|refresh-stack-hash} [options] Use usr/sbin/ambari-server <action> --help to get details on options available. Or, simply invoke ambari-server.py --help to print the options.ambari-server start
HDP安装
安装hadoop的过程中需要使用本地yum源,无奈公司用代理上网但是本地源就不能用代理。安装中遇到错误就得切换到代理源把需要用到的组件先安好了再用ambari retry一下。不知道是不是因为我用了red hat 6.4的原因。系统默认会将所有组件安装到/boot/efi/目录下。这个特别提醒需要将所有该配置都换个地方。 0 0
- ambari1.7安装
- Ambari1.7.0安装
- virtualbox centos6.5 ambari1.7 单机安装hdp2.2相关笔记
- virtualbox centos6.5 ambari1.7 单机安装hdp2.2相关笔记
- CentOS6.5 Ambari1.4.4安装配置实战
- Ambari1.7.0 + HDP2.1安装记录
- 安装虚拟机 & 安装CenOS 7
- 通过免安装版(安装文件)安装Mysql5.7
- Windows 7 IIS安装,IIS安装启用
- eclipse3.7在线安装hibernate tools安装
- Windows 7安装.net framework 4 安装
- java安装:jdk1.7的安装
- CentOS 7 最小化安装之后安装Mysql
- 安装centos 7 体验安装过程
- mysql5.7免安装版,安装启动
- centos 7 安装JDK (Linux安装jdk)
- Centos下安装python2.7 安装工具
- 【软件安装】CentOS 7二进制安装mysql
- http://linux.linuxidc.com/
- Android的第一天
- PKI入门级介绍
- EBS 接口开发
- IIS6部署web service完整过程
- ambari1.7安装
- SQL语句error
- __builtin__、__builtins__和builtins的那些事
- FileOpenDialogEx扩展
- 微信公众平台开发,微信JS-SDK对接invalid signature报错解决
- Intel® Integrated Performance Primitives(IPP)的配置方法及函数库初探(Image Processing)
- 通过一个翻译程序复习下 抓数据、正则表达式等
- sublime中Zen Coding插件快捷编码
- ZigZag Conversion