in MapR, Redhat, Server_doc

How to Install MapR 5.2 on Redhat 7.2

#Setting the java

 

[root@localhost ~]# mv jdk-8u101-linux-x64.tar.gz /opt

[root@localhost opt]# tar zxvf jdk-8u101-linux-x64.tar.gz

[root@localhost opt]# alternatives –install jdk1.8.0_101 jdk1.8.0_101/bin/javac 2

[root@localhost opt]# alternatives –install /usr/bin/java java /opt/jdk1.8.0_101/bin/java 2

 

[root@localhost opt]# alternatives –config java

There are 3 programs which provide ‘java’.

Selection    Command
———————————————–
1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre/bin/java
*  2           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java
+ 3           /opt/jdk1.8.0_101/bin/java

Enter to keep the current selection[+], or type selection number: 3

 

#Setting the OS Repository

[root@localhost ~]# mkdir /rhel7repo

[root@localhost ~]# mount rhel-server-7.2-x86_64-dvd.iso /rhel7repo

[root@localhost ~]# vi /etc/yum.repos.d/rhel7.repo

[rhel7_dvd]
gpgcheck = 0
enabled = 1
baseurl = file:///rhel7repo
name = rhel7repo

 

#Setup the MapR web Installer

[root@localhost tmp]# wget http://package.mapr.com/releases/installer/mapr-setup.sh -P /tmp

[root@localhost tmp]# wget http://package.mapr.com/releases/v5.2.0/redhat/mapr-v5.2.0GA.rpm.tgz -P /tmp/

[root@localhost tmp]# wget http://package.mapr.com/releases/installer/redhat/mapr-installer-v1.3.201608232032.rpm.tgz -P /tmp/

[root@localhost tmp]# wget http://package.mapr.com/releases/MEP/MEP-1.0.0/redhat/mapr-mep-v1.0.0.201608161134.rpm.tgz -P /tmp/

[root@localhost tmp]# bash ./mapr-setup.sh -a /tmp/mapr-installer-v1.3.201608232032.rpm.gz /tmp/mapr-mep-v1.0.0.201608161134.rpm.gz /tmp/mapr-v5.2.0GA.rpm.gz

 

MapR Distribution Initialization and Update

Copyright 2016 MapR Technologies, Inc., All Rights Reserved

http://www.mapr.com

Install required packages? [Y]: Y

Installing package dependencies (curl nss python-pycurl openssh-clients openssh-server openssl sshpass sudo wget which)

 

Package curl-7.29.0-25.el7.x86_64 already installed and latest version
Package nss-3.19.1-18.el7.x86_64 already installed and latest version
Package python-pycurl-7.19.0-17.el7.x86_64 already installed and latest version
Package openssh-clients-6.6.1p1-22.el7.x86_64 already installed and latest version
Package openssh-server-6.6.1p1-22.el7.x86_64 already installed and latest version
Package 1:openssl-1.0.1e-42.el7_1.9.x86_64 already installed and latest version
Package sshpass-1.05-5.el7.x86_64 already installed and latest version
Package sudo-1.8.6p7-16.el7.x86_64 already installed and latest version
Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version
Package which-2.20-7.el7.x86_64 already installed and latest version

 

…Success

 

Testing for JDK 7 or higher …

 

Ensuring existing JDK 1.8 is up to date

 

No Match for argument: /opt/jdk1.8.0_101/bin/javac
No Match for argument: is
No Match for argument: not
No Match for argument: owned
No Match for argument: by
No Match for argument: any
No Match for argument: package

…Success Continue reading

Increase Solaris 11 Swap

Increase swap size on Solaris 11 without rebooting. Check the default swap list # swap -l swapfile             dev    swaplo   blocks     free /dev/zvol/dsk/rpool/swap 124,2         8  2097144  2097144 Check the rpool swap size # zfs get volsize rpool/swap NAME        PROPERTY  VALUE    SOURCE rpool/swap  volsize   1G       local Delete the default swap # swap -d /dev/zvol/dsk/rpool/swap Check the swaplist […]