Ambari安装
2015-06-26 19:21
639 查看
Ambari是Apache的一个开源项目,专门用来安装和管理hadoop环境,并提供GUI的WEB页面。
安装过程非常简单,只有几步。
以在CentOS6上操作为例
1、下载repo信息
cd /etc/yum.repos.d/
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo
2、安装
yum install ambari-server
3、本地配置
ambari-server setup
Total 218 kB/s | 93 MB 07:18
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 07513cad: NOKEY
Retrieving key from http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins Importing GPG key 0x07513CAD:
Userid: "Jenkins (HDP Builds) <jenkin@hortonworks.com>"
From : http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : postgresql-libs-8.4.20-2.el6_6.x86_64 1/8
Updating : postgresql-8.4.20-2.el6_6.x86_64 2/8
Installing : postgresql-server-8.4.20-2.el6_6.x86_64 3/8
Installing : ambari-server-2.0.1-45.noarch 4/8
Updating : postgresql-devel-8.4.20-2.el6_6.x86_64 5/8
Cleanup : postgresql-devel-8.4.18-1.el6_4.x86_64 6/8
Cleanup : postgresql-8.4.18-1.el6_4.x86_64 7/8
Cleanup : postgresql-libs-8.4.18-1.el6_4.x86_64 8/8
Verifying : ambari-server-2.0.1-45.noarch 1/8
Verifying : postgresql-8.4.20-2.el6_6.x86_64 2/8
Verifying : postgresql-devel-8.4.20-2.el6_6.x86_64 3/8
Verifying : postgresql-server-8.4.20-2.el6_6.x86_64 4/8
Verifying : postgresql-libs-8.4.20-2.el6_6.x86_64 5/8
Verifying : postgresql-devel-8.4.18-1.el6_4.x86_64 6/8
Verifying : postgresql-libs-8.4.18-1.el6_4.x86_64 7/8
Verifying : postgresql-8.4.18-1.el6_4.x86_64 8/8
Installed:
ambari-server.noarch 0:2.0.1-45
Dependency Installed:
postgresql-server.x86_64 0:8.4.20-2.el6_6
Dependency Updated:
postgresql.x86_64 0:8.4.20-2.el6_6 postgresql-devel.x86_64 0:8.4.20-2.el6_6 postgresql-libs.x86_64 0:8.4.20-2.el6_6
4、启动本地ambari服务器
ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
7、使用浏览器进行确认
http://hostname:8080
默认用户是admin,密码admin
安装过程非常简单,只有几步。
以在CentOS6上操作为例
1、下载repo信息
cd /etc/yum.repos.d/
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo
2、安装
yum install ambari-server
3、本地配置
ambari-server setup
Total 218 kB/s | 93 MB 07:18
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 07513cad: NOKEY
Retrieving key from http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins Importing GPG key 0x07513CAD:
Userid: "Jenkins (HDP Builds) <jenkin@hortonworks.com>"
From : http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : postgresql-libs-8.4.20-2.el6_6.x86_64 1/8
Updating : postgresql-8.4.20-2.el6_6.x86_64 2/8
Installing : postgresql-server-8.4.20-2.el6_6.x86_64 3/8
Installing : ambari-server-2.0.1-45.noarch 4/8
Updating : postgresql-devel-8.4.20-2.el6_6.x86_64 5/8
Cleanup : postgresql-devel-8.4.18-1.el6_4.x86_64 6/8
Cleanup : postgresql-8.4.18-1.el6_4.x86_64 7/8
Cleanup : postgresql-libs-8.4.18-1.el6_4.x86_64 8/8
Verifying : ambari-server-2.0.1-45.noarch 1/8
Verifying : postgresql-8.4.20-2.el6_6.x86_64 2/8
Verifying : postgresql-devel-8.4.20-2.el6_6.x86_64 3/8
Verifying : postgresql-server-8.4.20-2.el6_6.x86_64 4/8
Verifying : postgresql-libs-8.4.20-2.el6_6.x86_64 5/8
Verifying : postgresql-devel-8.4.18-1.el6_4.x86_64 6/8
Verifying : postgresql-libs-8.4.18-1.el6_4.x86_64 7/8
Verifying : postgresql-8.4.18-1.el6_4.x86_64 8/8
Installed:
ambari-server.noarch 0:2.0.1-45
Dependency Installed:
postgresql-server.x86_64 0:8.4.20-2.el6_6
Dependency Updated:
postgresql.x86_64 0:8.4.20-2.el6_6 postgresql-devel.x86_64 0:8.4.20-2.el6_6 postgresql-libs.x86_64 0:8.4.20-2.el6_6
4、启动本地ambari服务器
ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
7、使用浏览器进行确认
http://hostname:8080
默认用户是admin,密码admin
相关文章推荐
- 从源码安装Mysql/Percona 5.5
- Centos6 编译安装Python
- 硬盘安装CentOS 6.2以及添加GRUB启动菜单
- CentOS 6.2实战部署Nginx+MySQL+PHP
- 在 AppImage、Flathub 和 Snapcraft 平台上搜索 Linux 应用
- CentOS 7系统配置上的变化解析
- 解决vc中unable to connect to the MKS:Internal error问题
- 杰奇一些安装详细说明文件,比官方更细
- 无线网卡安装DIY
- 网卡安装常见问题精解
- DB2数据库的安装
- CentOS下DB2数据库安装过程详解
- ghost安装系统软件硬盘安装器 安装ghost图文教程
- CentOS 6.3下编译安装Ruby 2.0笔记
- FREEBSD安装POSTGRESQL笔记
- Redis总结笔记(一):安装和常用命令