Actions

Help

Difference between revisions of "Install:OpenLiteSpeed with SPDY Installation Notes"

From OpenLiteSpeed Wiki

(OpenSSL 1.0.1)
Line 1: Line 1:
== Enabling SPDY ==
+
== Install OpenSSL 1.0.1 ==
SPDY is disabled by default. To enable SPDY, before installation, run the configure script in the OpenLiteSpeed installation directory with the following option:
+
SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the [http://www.openssl.org/source/ OpenSSL site]. For CentOS 5 & CentOS 6 users, you need to manually install OpenSSL 1.0.1.
<blockquote><code>./configure --enable-spdy</code></blockquote>
 
 
 
== OpenSSL 1.0.1 ==
 
SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the [http://www.openssl.org/source/ OpenSSL site].
 
  
 
Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed 1.1.
 
Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed 1.1.
  
<blockquote><code>./config --prefix=/usr/local --openssldir=/usr/local/openssl</code></blockquote>
+
<blockquote><pre>
<blockquote><code>make</code></blockquote>
+
cd openssl-1.0.1e
<blockquote><code>make install</code></blockquote>
+
./config --prefix=/usr/local --openssldir=/usr/local/openssl
 +
make
 +
make install
 +
</pre></blockquote>
  
 
The above series of commands directs OpenLiteSpeed to look for the copy of OpenSSL in /usr/local/. You can customize this to wherever you wish.
 
The above series of commands directs OpenLiteSpeed to look for the copy of OpenSSL in /usr/local/. You can customize this to wherever you wish.
 +
 +
== Enabling SPDY ==
 +
SPDY is disabled by default. To enable SPDY, before installation, run the configure script in the OpenLiteSpeed installation directory with the following option:
 +
<blockquote><code>./configure --enable-spdy</code></blockquote>
  
  

Revision as of 14:01, 19 June 2013

Install OpenSSL 1.0.1

SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the OpenSSL site. For CentOS 5 & CentOS 6 users, you need to manually install OpenSSL 1.0.1.

Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed 1.1.

cd openssl-1.0.1e
./config --prefix=/usr/local --openssldir=/usr/local/openssl
make
make install

The above series of commands directs OpenLiteSpeed to look for the copy of OpenSSL in /usr/local/. You can customize this to wherever you wish.

Enabling SPDY

SPDY is disabled by default. To enable SPDY, before installation, run the configure script in the OpenLiteSpeed installation directory with the following option:

./configure --enable-spdy