Last active
December 28, 2017 07:21
-
-
Save nctiggy/a6f72436a1aeaa30a5a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y update | |
yum -y install net-tools | |
echo kernel.shmmax=209715200 >> /etc/sysctl.conf | |
yum -y install libaio numactl sysfsutils unzip wget | |
cd /opt/ | |
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.tar.gz" | |
tar xzf jdk-8u112-linux-x64.tar.gz | |
cd /opt/jdk1.8.0_112/ | |
alternatives --install /usr/bin/java java /opt/jdk1.8.0_112/bin/java 2 | |
alternatives --config java | |
alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_112/bin/jar 2 | |
alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_112/bin/javac 2 | |
alternatives --set jar /opt/jdk1.8.0_112/bin/jar | |
alternatives --set javac /opt/jdk1.8.0_112/bin/javac | |
java -version | |
export JAVA_HOME=/opt/jdk1.8.0_112 | |
export JRE_HOME=/opt/jdk1.8.0_112/jre | |
export PATH=$PATH:/opt/jdk1.8.0_112/bin:/opt/jdk1.8.0_112/jre/bin | |
cd | |
wget ftp://ftp.emc.com/Downloads/ScaleIO/ScaleIO_RHEL6_Download.zip | |
unzip ScaleIO_RHEL6_Download.zip | |
cd ScaleIO_1.32_Gateway_for_Linux_Download | |
SIO_GW_KEYTOOL=/opt/jdk1.8.0_112/bin GATEWAY_ADMIN_PASSWORD=password rpm -U --nodeps EMC-ScaleIO-gateway-1.32-402.1.noarch.rpm | |
cd ../ScaleIO_1.32_RHEL7_Download/ | |
rpm -U EMC-ScaleIO-mdm-1.32-402.1.el7.x86_64.rpm | |
rpm -U EMC-ScaleIO-callhome-1.32-402.1.el7.x86_64.rpm | |
rpm -U EMC-ScaleIO-lia-1.32-402.1.el7.x86_64.rpm | |
rpm -U EMC-ScaleIO-sdc-1.32-402.1.el7.x86_64.rpm | |
rpm -U EMC-ScaleIO-sds-1.32-402.1.el7.x86_64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment