Child pages
  • Server OS and Third Party Software Setup - 6.*

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download the latest JavaSE 1.6 SDK JDK -rpm.bin Package for your architecture from Sun.
    IU is currently running Java version 1.6.0_24.
  • Run:
    sh jdk-6u25-linux-i586x64-rpm.bin
    and accept the license agreement.
  • Create /etc/profile.d/java.sh with this content:
    No Format
    export JAVA_HOME=/usr/java/jdk1.6.0_25
    export PATH=$JAVA_HOME/bin:$PATH
    
    Note

    Check that your JAVA_HOME location and version matches your installation

  • Modify the file $JAVA_HOME/jre/lib/security/java.policy by adding the lines listed below to the grant block. Modify the IP addresses and machine names to those of the machine for your Variations server. These additions are necessary to get the Variations servers to work. For example:

    Example IP

    Server

    Example DNS Name

    129.79.184.181

    Variations Webserver (device eth0:0)

     

    129.79.184.188

    host machine (device eth0)

    Server1.dlib.indiana.edu

    No Format
    permission java.net.SocketPermission "129.79.184.181:80",     "connect,resolve";
    permission java.net.SocketPermission "Server1.dlib.indiana.edu", "resolve";
    permission java.net.SocketPermission "129.79.184.188:1024-",  "connect,accept,resolve";
    permission java.util.PropertyPermission "dml.client.url.userguidebase", "read";
    permission java.util.PropertyPermission "dml.leaseManager.*", "read";
    permission java.util.PropertyPermission "dml.login.loginHandler", "read";
    permission java.util.PropertyPermission "user.dir", "read";
    permission java.util.PropertyPermission "variations2.dir", "read";
    permission java.io.FilePermission "<<ALL FILES>>", "read,execute";
    permission java.io.FilePermission "/home/dmlserv/content/-", "read,execute,delete";
    permission java.io.FilePermission "/home/dmlserv/public_html/score-leases/-", "read,execute,delete";
    permission java.lang.RuntimePermission "setFactory";
    

...