This guide assumes you are running as root or user has sudo access.
2. Create your local repository directory to be used to serve the RPMs
mkdir -p /var/www/repos
3. Extract the Directory Structure/RPMs from the BOTH the Ambari and the IOP tarballs to the local repository directory
NOTE: Your filenames will be different depending on which tarballs you downloaded in Step 1.
tar -zxvf [FILENAMES OF TARBALLS IN STEP 1] -C /var/www/repos
Example : tar -zxvf IOP-4.1-Spark-1.5.1-20151210_1028.el6.x86_64.tar.gz -C /var/www/repos
4. Refresh the Metadata for the Yum utility
NOTE: May need to install the createrepo utility if not installed already
yum install createrepo
Run the following command afterwards:
NOTE: Change RHEL6 and x86_64 in the command to reflect the correct Operating System and Architecture Tarball you downloaded in Step 1.
e.g RHEL6=Red Hat v6, RHEL7=Red Hat v7, x84_64=64 bit X/Intel, ppc64le=Power 64-bit Little Endian
5. Install Apache Web Server
yum install httpd
6. Edit the Apache configuration file
Edit the DocumentRoot and Directory to â€ś/var/wwwâ€ť
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the â€śdefaultâ€ť to be a very restrictive set of
# Note that from this point forward you must specifically allow
# particular features to be enabled â€“ so if somethingâ€™s not working as
# you might expect, make sure that you have specifically enabled it
# This should be changed to whatever you set DocumentRoot to.
Save the configuration file and exit.
7. Start Apache
service httpd start
8. In a browser, navigate to the web server URL to verify that the RPMs are available.
9. Copy the ambari.repo definition file to the local YUM utility definition directory.
cp /var/www/repos/Ambari/rhel/6/x86_64/2.1.x/Updates/2.1.0_Spark-1.5.1/ambari.repo /etc/yum.repos.d/
10. Edit the ambari.repo definition file to point to the newly created repository.
Change both the baseurl and the gpgkey parameters to the following:
11. Clean your YUM utility cache
yum clean all
12. Install IBM Open Platform as directed per the Knowledge Center
NOTE: START on Step (5) …but STOP when you reach Step (14) in the following link, and continue with this guide
IBM Knowledge Center : Ambari Installation
13. In the Launch Wizard, the page after naming your cluster, click on the Advanced Repository Options and modify the â€śIOP-4.1â€ł URL to the newly created Apache repository
14. Proceed with the rest of the installation as normal with Step 15 in the Knowledge Center Guide. Ambari should now pick up the IOP stack w/Spark 1.5.1 from the local repository we just created.