Installing Retain on a Linux Server That Doesn't Have Connection to the Internet

  • 7023342
  • 10-Sep-2018
  • 10-Sep-2018

Environment

Retain Unified Archiving 4.x+

Situation

How do you install Retain on a Linux server that does not have connection to the internet? 

When installing Retain on a Linux server that doesn't have connection to the internet, it fails when downloading JAVA. Retain is inaccessible. 

Resolution

JAVA is one of the main components for Retain to be able to connect to the webserver, and the database in order for Retain to function. JAVA must be manually installed and set in order for Retain to be able to communicate and connect. Follow these steps to manually install JAVA and install Retain without having to connect to the internet. 
  1. Download and Install Retain
    Download, copy the Retain install files to the server, and install Retain as normal. It will fail when trying to install JAVA. Even though it may ask for a path the installation will fail. This step is to create the preliminary directory structure for Retain in order to proceed to the next steps. 
  2. Create java8 directory
    Create the java8 directory under the /opt/beginfinite/retain directory. 
    Assign the java8  directory the correct tomcat ownership: chown -R tomcat:tomcat java8
  3. Download, copy and extract JAVA 8
    Download the JAVA8 tar file for linux and copy it to the server. 
    Copy the tar file to the java8 directory. 
    Untar the file: tar --xzvf  server-jre-8u60-linux-x64.tar. This will create the directory for JAVA that
            Retain will need to connect to the JAVA directory binaries in order to run correctly. 
  4.  Edit the RetainInstall.sh
    In the Retain Installation directory edit the RetainInstall.sh
            Look for the line that reads: "CHECKJAVA=`ls $APPDIR/java8/jdk* 2> /dev/null`" and remark it out (add a # to the front of the line. Save the file. 
  5. Run the Retain Install again. This will install the rest of Retain, including Tomcat which will be required to hook into JAVA and the WEB Server. This will start tomcat automatically. Stop tomcat: rcretain-tomcat8 stop
  6. The next step is to go to the /etc/opt/beginfinite/retain/tomcat8 directory and edit the j2ee file
    Find the JAVA_HOME and add in the path to the java directory: /opt/beginfinite/retain/java8/jdk1.8.0_162
  7.  Start Tomcat (rcretain-tomcat8 start) 

    This will allow you to install Retain without having to connect to the internet.