### Install Instructions: Applying Oracle OutsideIn Patch (January 2016) - Oracle Patch #22387118

# Use the chart below to determine which patch you need for your particular installation.  If your platform is not similar to one of those listed below, these instructions may not be applicable.  However, if the EXPORTER_DIR exists and the uploaded file previews work on your server, then these steps should still be applied to get the benefits of the security patch.

	-------------------------------------------------------------------------------------------------------
	|Patch File Name		|	CLM Supported Platform - Please note that this applies to the following platforms
	|------------------------------------------------------------------------------------------------------
	|aix-ppc-32.tar 		| AIX 6.1 POWER System - Big Endian - 64 bit and future os fixpacks
	|aix-ppc-32.tar 		| AIX 7.1 POWER System - Big Endian - 64 bit and future os fixpacks
	|linux-x86-64.tar 		| Red Hat Enterprise Linux (RHEL) Server 6 x86-64 and future OS fixpacks
	|linux-x86-64.tar		| Red Hat Enterprise Linux (RHEL) Server 7 x86-64 and future OS fixpacks
	|linux-x86-64.tar		| SUSE Linux Enterprise Server (SLES) 11 x86-64 and future OS fixpacks
	|win-x86-64.zip			| Windows Server 2008 R2 Enterprise and Standard Editions and future OS fixpacks
	|win-x86-64.zip			| Windows Server 2012 Datacenter and Standard Editions and future OS fixpacks
	|win-x86-64.zip			| Windows Server 2012 R2 Datacenter and Standard Editions and future OS fixpacks
	-------------------------------------------------------------------------------------------------------

# Constants:
	-INSTALL_DIR = Absolute file location where RDNG 6.0.1 is located.
	-EXPORTER_DIR = INSTALL_DIR/server/conf/rm/exporter -> This is the location of the OutsideIn shared libraries that RDNG uses for image generation.  You will replace several of these libraries with updated versions.
	-PATCH_ZIP_FOLDER = The folder containing this README after performing the initial extraction.  This folder should contain README.txt, aix-ppc-32.tar, linux-x86-64.tar, and win-x86-64.zip.

# Steps:
	0. (Optional):  It would be wise to backup your EXPORTER_DIR in another location in case something goes wrong in the process. Also, you may want to confirm that image generation works before applying this patch, by uploading a new file (do not use one already on the server) that supports image generation and confirming that images are generated for it.  This will assure us that if something goes wrong after applying the patch, that it is due to the process here.
	1. Consult the chart near the top of this README file.  Determine your "CLM Supported Platform" name.  To the left of the platforms column is a column that indicates the appropriate file/patch that contains the new library bits that you should replace in your RDNG server's OutsideIn directory.  
	2. Now extract the contents of this zip file to a temporary location if you haven't already done so.
	3. Now you need to extract the contents of the patch file that is appropriate for your platform (determined in step 1).  In this step, you will extract the contents of that archive file to the EXPORTER_DIR.  When completed, there should be multiple libraries overwritten in your EXPORTER_DIR.  Here are commands that you should be able to adjust for your system:

		Windows:
			You will need to extract the zip file contents to EXPORTER_DIR.  Use an application such as 7-zip or the built-in windows extraction tool.

		Unix-Like:
			1. Navigate to your PATCH_ZIP_FOLDER via 'cd' command.
			2. Perform the extraction:
				-Linux: Run "tar xpf linux-x86-64.tar -C EXPORTER_DIR" (excluding quotes)
				-AIX: "tar xpf aix-ppc-32.tar -C EXPORTER_DIR"	(excluding quotes)

	4. You should now be finished.  These changes take effect immediately.  No server restart is required.  
	5. It would be wise to now upload a file to the server that supports image generation to confirm that the image generation facility still functions appropriately.  If there is an issue now, just restore your backup of EXPORTER_DIR.