iFolder requires that you install Linux as a server. You must also install the Apache 2 Web server, Java, and SSL. You must complete all of the procedures in this section in order for these products to be configured correctly for iFolder.
If you are installing Solaris, skip the next two tasks (Installing Linux 7.2 and Installing Java) and compelete the rest of the tasks in this section, beginning with Creating Keys and Certificates.
Install Linux 7.2 with the following settings:
Continue with the next section, "Installing Java ."
If you don't have Java installed on your Linux server, go to the Java Web site and download the Red Hat Linux RPM shell script for J2SE version 1.3 or later.
After the shell script is downloaded, self extract the .rpm file from the .bin file by entering
sh filenamerpm.bin
HINT: The X's in this example will be replaced by the version numbers of the actual filename.
Accept the licensing agreement and run the package manager by entering
rpm -iv filename.rpm
Do one of the following:
PATH="$PATH:/usr/java/jrex.x.x_xx/bin"
HINT: Replace the X's with the appropriate version numbers from the Java file you downloaded.
PATH="$PATH:/usr/java/jrex.x.x_xx/bin"
Continue with the next section, Creating Keys and Certificates.
Installing OpenSSL is not required, but it is recommended in order to make the certificate and keys required for HTTPS access to the iFolder Management Console.
If you have a previous installation of Apache on your server, it is likely that you already have the required server.crt and server.key files. These files are usually located in the /etc/httpd/conf/ssl.crt/ and /etc/httpd/conf/ssl.key/ directories.
If you already have a certificate file (server.crt) and a key file (server.key), skip this procedure and continue with the next section, Installing Apache 2.
If you do not have these files, follow these instructions to download and install the OpenSSL engine.
Go to the OpenSSL Web site.
Download the openssl-engine-0.9.xx.tar.gz file and then extract the following files:
gzip -d openssl-engine-0.9.xx.tar.gz
tar xvf openssl-engine-0.9.xx.tar
HINT: The XX should be replaced with the appropriate file version.
Configure OpenSSL by entering the following at the server console:
cd openssl-engine-0.9.xx
sh config \
no-idea \
no-threads \
-fPIC
Compile OpenSSL by entering the following at the server console:
make
Make sure that OpenSSL is configured and compiled by entering the following at the server console:
make test
Install OpenSSL by entering the following at the server console:
make install
Run the OpenSSL engine to create the server.key and server.crt files.
For more information on creating the server.key and obtaining the server.crt file certificate for your key by creating and using your own Certificate Authority, see the instructions at the Apache Web site.
Continue with the next section, Installing Apache 2.
If it does not already exist, create a directory named /export
Download the httpd-2.0.39-i686-pc-linux-gnu.tar.gz or the httpd-2.0.39-sparc-sun-solaris2.8.tar.gz file that shipped with the iFolder software into the /export directory.
Extract the .gz and .tar files to the /export directory.
NOTE: This version of Apache is a UNIX Binary Distribution that has been built with the following two switches: --with-mpm=worker and --enable-ssl.
gzip -d httpd-2.0.39-i686-pc-linux-gnu.tar.gz
tar xvf httpd-2.0.39-i686-pc-linux-gnu.tar
gzip -d httpd-2.0.39-sparc-sun-solaris2.8.tar.gz tar xvf httpd-2.0.39-sparc-sun-solaris2.8.tar
Run the installation script by entering the following at the server console:
cd httpd-2.0.39
sh ./install-bindist.sh
Continue with the next section, "Copying SSL Keys and Certificates."
In order for iFolder to use the server.key and server.crt files, you must copy them to the appropriate directory on your server.
On your server, copy your server.crt file into this directory:
/export/httpd-2.0.39/bindist/conf/ssl.crt/
On your server, copy your server.key into this directory:
/export/httpd-2.0.39/bindist/conf/ssl.key/
You are now finished with the iFolder preconfiguration. Continue with the next section, Things You Should Know during the Installation.