Identify a workspace directory that will have all the software installation files.
In the PowerShell instructions in this section, the WORKSPACE
environment variable refers to the full path of the workspace directory where the
installer is located; for example:
setx WORKSPACE "c:\workspace" /m
After setting the environment variable from the command prompt using
setx
, restart PowerShell. Alternately, if you are using a script you
might want to set WORKSPACE
as a standard PowerShell variable to avoid
having to restart PowerShell.
Ensure that you install the following software on every host machine in your cluster:
Python 2.7.X
To manually install Python in your local environment:
Download Python from here into the workspace directory.
Install Python and update the
PATH
environment variable.From the PowerShell window, as the Administrator, enter:
$key = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” $currentPath = (Get-ItemProperty -Path $key -name Path).Path + ';' $pythonDir = "c:\Python\" msiexec /qn /norestart /l* $env:WORKSPACE\python_install.log /i $env:WORKSPACE\python-2_7_5_amd64.msi TARGETDIR=$pythonDir ALLUSERS=1 setx PATH "$currentPath$pythonDir" /m
Note If the downloaded Python MSI name is different from
python-2_7_5_amd64.msi,
substitute the correct MSI file name.
Microsoft Visual C++ 2010 Redistributable Package (64-bit)
Use the instructions provided here to download Microsoft Visual C++ 2010 Redistributable Package (64-bit) to the workspace directory.
From PowerShell, as Administrator, enter:
& "$env:WORKSPACE\vcredist_x64.exe" /q /norestart /log "$env:WORKSPACE\ C_2010_install.log"
Microsoft .NET framework 4.0
Use the instructions provided here to download Microsoft .NET framework 4.0 to the workspace directory.
From PowerShell, as Administrator, enter:
& "$env:WORKSPACE\NDP451-KB2858728-x86-x64-AllOS-ENU.exe" /q /norestart /log "$env:WORKSPACE\NET-install_log.htm"
JDK version 7
Check which version of Java is currently installed. From a command shell or PowerShell window, enter:
java -version
If the JDK version is less than v1.6 update 31, uninstall the Java package.
Go to the Oracle Java SE Downloads page and download the JDK installer to the workspace directory.
From PowerShell, as Administrator, enter:
$key = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” $currentPath =(Get-ItemProperty -Path $key -name Path).Path + ';' $javaDir = "c:\java\jdk1.7.0_51\" & "$env:WORKSPACE\jdk-7u51-windows-x64.exe" /qn /norestart /log "$env:WORKSPACE\jdk-install.log"INSTALLDIR="c:\java "ALLUSERS=1 setx JAVA_HOME "$javaDir" /m setx PATH "$currentPath$javaDir\bin" /m
where
WORKSPACE
is an environment variable for the directory path where the installer is located andc:\java\jdk1.7.0_51\
is the path where java will be installed. Ensure that no white space characters are present in the installation directory's path. For example,c:\Program
[space]Files
is not allowed.Verify that Java installed correctly and that the Java application directory is in your
PATH
environment variable.From a command shell or PowerShell window, enter:
java -version
The system should display:
java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)