In this Tutorial you will learn to install cloneable installation of SUSE 11 and then installing hdp2.5 on it.
Please follow below steps while watching session.
==============================================
in this tutorial you will understand how we can setup hdp2.5 on SUSE 11 SP 30
download link for suse 11 sp3, you need to create a login and then download the iso.
https://www.suse.com/eval/download/?e...
Download ambari 2.4 repo for suse 11
http://public-repo-1.hortonworks.com/...
download link for hdp2.5 and HDP utils tar.gz
http://public-repo-1.hortonworks.com/...
http://public-repo-1.hortonworks.com/...
###suse installatoion setup networs
cd /etc/sysconfig/network
vi ifcfg-eth0 (no change required)
vi ifcfg-eth1
BOOTPROTO='static'
ONBOOT='yes'
IPADDR='192.168.56.131'
NETMASK='255.255.255.0'
make the firewall off so that putty can connect
run yast2
#and search for firewall
and make it off and disable it for all times
#then search for ntp
and then make it on "now and boot"
============================
##install the apache2 httpd service from yast2
cd /etc/apache2/
vi /etc/apache2/httpd.conf
change as below
forbid access to the entire filesystem by default
Directory /
Options +FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
/Directory
use .htaccess files for overriding,
AccessFileName .htaccess
and never show them
Files ~ "^\.ht"
Order allow,deny
allow from all
/Files
List of resources to look for when the client requests a directory
#DirectoryIndex index.html index.html.var
=======================
change the below file from Options None to Options +FollowSymLinks
vi default-server.conf
Options +FollowSymLinks
=========================================
restart the apache2
sudo service apache2 restart
Zypper refresh
zypper refresh
#########################
##setup ambari
master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # vi setup_repo.sh
master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # sh setup_repo.sh
[WARNING] FollowSymLinks has not been enabled in the /etc/apache2/default-server.conf. Please enable FollowSymLinks and restart Apache/HTTPD Server before accessing the repository.
AMBARI-2.4.2.0 Repo file successfully created at /etc/zypp/repos.d/ambari.repo.
Use http://master2.cluster.com/AMBARI-2.4... to access the repository.
Zypper refresh
zypper refresh
=============================================
##set up the hdp.repo in zypp/repos
cd /etc/zypp/repos.d
cp /srv/www/htdocs/repo/HDP-2.5.3.0-suse11sp3-rpm/HDP/suse11sp3/hdp.repo /etc/zypp/repos.d/
Zypper refresh
zypper refresh
===============================
##password less ssh
ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
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:
ff:61:e2:c0:12:91:60:30:5b:5c:a6:87:82:7a:14:bc [MD5] root@master2
The key's randomart image is:
+--[ RSA 2048]----+
| .+o+.o |
| ..*.= . |
|. +.o + |
|..E. . . |
|. . . S |
| . o . |
| . o o o |
| . o + . |
| . . |
+--[MD5]----------+
##copy id_rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub master2
The authenticity of host 'master2 (192.168.56.131)' can't be established.
ECDSA key fingerprint is 3e:09:6a:0b:2d:7b:b4:b1:ad:3d:70:5b:c7:8e:5f:f4 [MD5].
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'master2'"
and check to make sure that only the key(s) you wanted were added.
master2:~ # ssh master2
Last login: Thu Feb 8 20:33:11 2018 from 192.168.56.1
master2:~ # exit
===================================================================
sudo zypper install ambari-server
service ambari-server setup