You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/08/25 04:40:23 UTC

svn commit: r1377186 - in /incubator/ambari/branches/branch-0.9: CHANGES.txt docs/src/site/apt/install.apt

Author: yusaku
Date: Sat Aug 25 02:40:23 2012
New Revision: 1377186

URL: http://svn.apache.org/viewvc?rev=1377186&view=rev
Log:
AMBARI-686. Update documentation for RHEL/CentOS 6 install steps and a more streamlined procedure in general (Contributed by yusaku)

Modified:
    incubator/ambari/branches/branch-0.9/CHANGES.txt
    incubator/ambari/branches/branch-0.9/docs/src/site/apt/install.apt

Modified: incubator/ambari/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/CHANGES.txt?rev=1377186&r1=1377185&r2=1377186&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/CHANGES.txt (original)
+++ incubator/ambari/branches/branch-0.9/CHANGES.txt Sat Aug 25 02:40:23 2012
@@ -6,6 +6,9 @@ characters wide.
 
 Release 0.9.0 - unreleased
 
+  AMBARI-686. Update documentation for RHEL/CentOS 6 install steps and a more streamlined
+  procedure in general (yusaku)
+
   AMBARI-675. Make puppet generate more logs on command failures (hitesh)
 
   AMBARI-673. Going back to step 3 from step 5 in UI breaks DB

Modified: incubator/ambari/branches/branch-0.9/docs/src/site/apt/install.apt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/docs/src/site/apt/install.apt?rev=1377186&r1=1377185&r2=1377186&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/docs/src/site/apt/install.apt (original)
+++ incubator/ambari/branches/branch-0.9/docs/src/site/apt/install.apt Sat Aug 25 02:40:23 2012
@@ -14,19 +14,16 @@ Supported Operating Systems
 
   * Ambari currently supports:
   
-    * 64-bit RHEL 5.*
-    
-    * 64-bit CentOS 5.*
-
-  RHEL/CentOS 6.* support is coming shortly.
+    * RHEL/CentOS 5.*, 64-bit version
 
+    * RHEL/CentOS 6.*, 64-bit version
 
 Getting Ambari
 
-  The source can be checked out anonymously from SVN with this command:
+  The source can be checked out anonymously from SVN with the following command:
   
 +--
-$ svn checkout http://svn.apache.org/repos/asf/incubator/ambari/trunk ambari
+$ svn checkout http://svn.apache.org/repos/asf/incubator/ambari/branches/branch-0.9 ambari
 +--
 
 How to build Ambari
@@ -35,122 +32,94 @@ How to build Ambari
 
 +--
 $ yum install rpm-build
-$ cd hmc/package/rpm
+$ cd ambari/hmc/package/rpm
 $ ./create_hmc_rpm.sh
 
-$ cd mon_dashboard/package/rpm
+$ cd ambari/mon_dashboard/package/rpm
 $ ./create_dashboard_rpm.sh
 +--
 
   When this succeeds, you will find following RPMs inside the ambari directory:
 
-  1) hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-0.9.0-1.noarch.rpm
+  1) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-0.9.0-1[.el6].noarch.rpm
 
-  2) hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-0.9.0-1.noarch.rpm
+  2) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-0.9.0-1[.el6].noarch.rpm
 
-  3) mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.1-2.noarch.rpm
+  3) ambari/mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.1-2.noarch.rpm
 
 
-Steps to run before you use Ambari to install Hadoop on your cluster
+Installing Ambari
   
   We will refer to the node running the Ambari server as <Ambari master>
   and the nodes to which Hadoop services will be installed as <cluster nodes>.
 
   1) Set up password-less SSH for root on all your cluster nodes.
 
-    * Copy root's SSH public key to all the cluster nodes in the <authorized_keys> file.
+    * Copy root's SSH public key to all the cluster nodes in the .ssh/authorized_keys file.
 
     * Save the corresponding SSH private key file locally.  You will be prompted by Ambari UI to upload it during cluster installation.
 
-  2) Install ambari-agent-0.9.0-1.noarch.rpm on each of the cluster nodes by running:
+  2) Install ambari-agent on each of the cluster nodes.
 
-+--
-$ sudo rpm -Uvh ambari-agent-0.9.0-1.noarch.rpm ( or use yum install to pull in required dependencies )
-+--
-  
-    * To install ambari-agent, you may need to install puppet beforehand or point to the freely accessible HDP repo
-as it contains the required dependencies to allow the ambari-agent rpm to install successfully. To install the HDP repo, run:
- 
-+--
-$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.13/repos/centos5/hdp-release-1.0.13-1.el5.noarch.rpm
-+--
+    * To install ambari-agent, point to the freely accessible HDP repo
+that contains the required dependencies (e.g., Puppet).  Then use yum to install ambari-agent RPM and all of its dependencies.
 
-  3) Stop iptables on the Ambari master:
+    On RHEL/CentOS 5:
 
 +--
-$ sudo service iptables stop
+$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
+$ sudo yum install epel-release
+$ sudo yum install ambari-agent-0.9.0-1.noarch.rpm --nogpgcheck
 +--
 
-
-How to install Ambari
-
-  Ambari has several external runtime dependencies.  Major dependencies are:
-
-  1) puppet
-
-  2) php
-
-  3) ruby
-
-  To simplify the installation of the dependencies, you should enable the following
-  yum repos. To do that, you can simply install the corresponding RPMs.
-
-  1) EPEL repo
-
-  2) Puppet Passenger
-
-  3) Hadoop repo
-
-  You should run the following at the command line on Ambari master:
-  
-+--  
-
-$ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
-$ sudo rpm -Uvh http://passenger.stealthymonkeys.com/rhel/5/passenger-release.noarch.rpm 
-$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.13/repos/centos5/hdp-release-1.0.13-1.el5.noarch.rpm
+    On RHEL/CentOS 6:
 
 +--
+$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos6/hdp-release-1.0.1.14-1.el6.noarch.rpm
+$ sudo yum install epel-release
+$ sudo yum install ambari-agent-0.9.0-1.el6.noarch.rpm
++--
+
+  3) Stop iptables on Ambari master:
 
-  To install necessary PHP modules on Ambari master:
+    * Run the following command on the Ambari master:
 
 +--
-$ sudo yum install php-pecl-json  # version 1.2.1 compatible with php-5.1 or php-5.2
-$ sudo yum install php-pdo
-$ php -m | grep posix
+$ sudo service iptables stop
 +--
 
-   If the posix module is not found, run:
+  4) Install Ambari server on Ambari master:
 
-+--   
-$ sudo yum install php-process
-+--
+    * To install Ambari server, point to the freely accessible HDP repo that contains the required dependencies (e.g., Puppet, PHP, Ruby, etc).  Then use yum to install Ambari RPMs and all of the dependencies.
+
+    On RHEL/CentOS 5:
 
-  Depending on which packages you have already installed, you may need to run following on Ambari master:
-  
 +--
-$ sudo yum install pdsh
-$ sudo yum install httpd-devel
-$ sudo yum install mod_passenger
-$ sudo yum install puppet-2.7.9
-$ sudo yum install ruby-devel
+$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
+$ sudo yum install epel-release
+$ sudo yum install php-pecl-json
+$ sudo yum install ambari-0.9.0-1.noarch.rpm --nogpgcheck
+$ sudo yum install hdp_mon_dashboard-0.0.1-2.noarch.rpm --nogpgcheck
 +--
 
-  To install Ambari on Ambari master:
+    On RHEL/CentOS 6:
 
 +--
-$ sudo rpm -iv ambari-0.9.0-1.noarch.rpm 
-$ sudo rpm -iv hdp_mon_dashboard-0.0.1-2.noarch.rpm
+$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos6/hdp-release-1.0.1.14-1.el6.noarch.rpm
+$ sudo yum install epel-release
+$ sudo yum install ambari-0.9.0-1.el6.noarch.rpm
+$ sudo yum install hdp_mon_dashboard-0.0.1-2.noarch.rpm
 +--
 
-  Hadoop requires JDK.  You can download following files from the Oracle website: 
-  {{{http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html} http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html}}
-  After accepting the license and downloading the files, copy them to /var/run/hmc/downloads/ directory on the 
-  Ambari master (Note: Upon download, these files may have .sh extension, so make sure you remove the .sh extension 
-  from the filenames and also set the execute permission on them)
+    * Hadoop requires JDK.  You can download following files from the Oracle website:
+      {{{http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html} http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html}}
+      After accepting the license and downloading the files, copy them to /var/run/hmc/downloads/ directory on the
+      Ambari master (Note: Upon download, these files may have .sh extension, so make sure you remove the .sh extension
+      from the filenames and also set the execute permission on them)
 
-  1) jdk-6u26-linux-x64.bin
+      1) jdk-6u26-linux-x64.bin
 
-  2) jdk-6u26-linux-i586.bin
+      2) jdk-6u26-linux-i586.bin
 
 
 How to run Ambari