24小时接单的黑客

联系黑客,怎么找黑客,黑客怎么找,黑客接单,破解系统

qq免密码登录版(免密码登录器)

Apache Ambari是一种基于Web的工具,支持Apache Hadoop集群的供应、管理和监控。Ambari目前已支持大多数Hadoop组件,包括HDFS、MapReduce、Hive、Pig、 Hbase、Zookeper、Sqoop和Hcatalog等。

前期环境准备

1

1.安装epel源

2.安装pdsh

yum -y installpdsh

3.在master和slave上配置hosts

cat /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.40.217 ambari

192.168.40.216 slave

4.设置免密码登录

ssh -keygen -t rsa

Generating public /private rsa key pair.

Enter file in which to save the key ( /root/ . ssh /id_rsa ):

Enter passphrase (empty for no passphrase): #输入空格

Enter same passphrase again: #输入空格

Your identification has been saved in /root/ . ssh /id_rsa .

Your public key has been saved in /root/ . ssh /id_rsa .pub.

The key fingerprint is:

展开全文

01:f9:c3:e6:e2:cc:46:1c:55:68:c4:2d:2b:eb:77:09 root@localhost.localdomain

The key's randomart image is:

+--[ RSA 2048]----+

| .+.+. |

| ..* . |

| =.o |

| o *. |

| . *S. |

| = E |

| * . . . |

| * . o |

| . . . |

+-----------------+

[root@ambari ~] # cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

[root@ambari ~] # scp ~/.ssh/authorized_keys master:/root/.ssh/

[root@ambari ~] # scp ~/.ssh/authorized_keys slave:/root/.ssh/

5.关闭selinux 和防火墙

安装Ambari

2

1.配置yum源

[root@ambari ~] # wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo

[root@ambari ~] # mv ambari.repo /etc/yum.repos.d/

2.安装ambari-server

[root@ambari ~]# yum -y install ambari-server #过程比较慢,ambari-server包有80M大小

3.本地配置

[root@ambari ~] # ambari-server setup

Using python /usr/bin/python2 .6

Setup ambari-server

Checking SELinux...

SELinux status is 'disabled'

Customize user account for ambari-server daemon [y /n ] (n)? y

Enter user account for ambari-server daemon (root):

qq免密码登录版(免密码登录器)

Adjusting ambari-server permissions and ownership...

Checking iptables...

Checking JDK...

[1] Oracle JDK 1.7

[2] Oracle JDK 1.6

[3] - Custom JDK

==============================================================================

qq免密码登录版(免密码登录器)

Enter choice (1): 1

JDK already exists, using /var/lib/ambari-server/resources/jdk-7u67-linux-x64 . tar .gz

Installing JDK to /usr/jdk64/

Successfully installed JDK to /usr/jdk64/

Downloading JCE Policy archive from http: //public-repo-1 .hortonworks.com /ARTIFACTS/UnlimitedJCEPolicyJDK7 .zip to /var/lib/ambari-server/resources/UnlimitedJCEPolicyJDK7 .zip

UnlimitedJCEPolicyJDK7.zip... 100%

Successfully downloaded JCE Policy archive to /var/lib/ambari-server/resources/UnlimitedJCEPolicyJDK7 .zip

Installing JCE policy...

Completing setup...

Configuring database...

Enter advanced database configuration [y /n ] (n)? y

Configuring database...

==============================================================================

Choose one of the following options:

[1] - PostgreSQL (Embedded)

[2] - Oracle

[3] - MySQL

[4] - PostgreSQL

==============================================================================

Enter choice (1):

Database name (ambari):

Postgres schema (ambari):

Username (ambari):

Enter Database Password (bigdata):

Default properties detected. Using built- in database.

Configuring ambari database...

Checking PostgreSQL...

Running initdb: This may take upto a minute.

Initializing database: [ OK ]

About to start PostgreSQL

Configuring local database...

Connecting to local database... done .

Configuring PostgreSQL...

Restarting PostgreSQL

Extracting system views...

..ambari-admin-2.0.1.45.jar

.

Adjusting ambari-server permissions and ownership...

Ambari Server 'setup' completed successfully.

###这里由于下载jdk速度过慢。我提前把jdk下载下来放到了/var/lib/ambari-server/resources/目录

[root@ambari ~] # cd /var/lib/ambari-server/resources/

[root@ambari resources] # mv /root/jdk-7u67-linux-x64.tar.gz .

4.启动服务

[root@ambari ~] # ambari-server start

Using python /usr/bin/python2 .6

Starting ambari-server

WARNING: The hostname was not found in the reverse DNS lookup. This may result in incorrect behavior. Please check the DNS setup and fix the issue.

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

启动ambari报错

WARNING: The hostname was not found in the reverse DNS lookup. This may result in incorrect behavior. Please check the DNS setup and fix the issue. ‘

这个问题是由于没有把主机名已经对应的ip加到 /etc/hosts 导致的。

5.访问web

http://ip:8080 默认用户是admin,密码admin

本文转载自 “不抛弃!不放弃” 博客http://thedream.blog.51cto.com/6427769/1902609

《运维前线》新书发布,十三位前线运维专家倾力奉献,现场送出30本。云技术社区、华章书院、优云联手倾力精彩奉献!现场另有云技术社区定制数据线、北极熊袋子等精美礼品!2017年首场专业运维会议,一线专家解密当前运维前线,扫码或者点击阅读原文立即报名!

《运维前线》一书是十三位一线运维专家的深度实践,云技术社区历经整整一年多策划出品,想要得到免费的《运维前线》,请来参加“运维之春---2017运维前线解密”沙龙。同时,《运维前线》下一本书也开始邀请作者加入,如果有意向分享自己的运维实践经验,请加微信:xiaolikvm。

加入云技术社区技术交流微信群,联系北极熊微信:hadxiaer(加的时候请备注:姓名-城市-公司)

交流 分享 提升

云技术社区成立于2014年,国内最大的云技术交流平台,分享在云计算/虚拟化项目实施中的资讯、经验和技术,坚持干货。旗下运营:云技术实践、云技术、桌面云之云潮涌动等公众号,以及相关的微信群和QQ群,覆盖云计算领域的技术人群,加入云技术社区微信、QQ群请点击订阅号菜单“群和活动”。

发表评论:

Powered By

Copyright Your WebSite.Some Rights Reserved.