Actions

Help

Difference between revisions of "Install:Dependencies"

From OpenLiteSpeed Wiki

(CentOS 5, 6 and 7)
Line 9: Line 9:
 
<blockquote><pre>
 
<blockquote><pre>
 
yum install epel-release
 
yum install epel-release
yum install gcc gcc-c++ make autoconf glibc
+
yum install gcc gcc-c++ make autoconf glibc rcs
 
yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel
 
yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel
 
</pre></blockquote>
 
</pre></blockquote>
Line 18: Line 18:
 
sudo apt-get update
 
sudo apt-get update
 
sudo apt-get install build-essential
 
sudo apt-get install build-essential
sudo apt-get install libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl
+
sudo apt-get install rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl
 
</pre></blockquote>
 
</pre></blockquote>
 +
 
== FreeBSD ==
 
== FreeBSD ==
  
Line 29: Line 30:
 
cd /usr/ports/textproc/expat2; make install clean; rehash;
 
cd /usr/ports/textproc/expat2; make install clean; rehash;
 
cd /usr/ports/security/openssl; make install clean; rehash;
 
cd /usr/ports/security/openssl; make install clean; rehash;
 +
cd /usr/ports/devel/rcs; make install clean; rehash;
 
</pre></blockquote>
 
</pre></blockquote>
 +
 
== Mac OS X ==
 
== Mac OS X ==
  
Line 36: Line 39:
 
# Install MacPorts from http://www.macports.org/install.php#pkg
 
# Install MacPorts from http://www.macports.org/install.php#pkg
 
<blockquote><pre>
 
<blockquote><pre>
sudo port install pcre expat openssl libgeoip zlib
+
sudo port install pcre expat openssl rcs libgeoip zlib
 
</pre></blockquote>
 
</pre></blockquote>
  
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 20:45, 5 November 2014

OpenLiteSpeed requires the following packages: pcre, expat, openssl, geoip, zlib.

Below you will find instructions for installing the packages depending on your system.

CentOS 5, 6 and 7

You may need to enable EPEL repository to get access to some of these packages.

yum install epel-release
yum install gcc gcc-c++ make autoconf glibc rcs
yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel

Ubuntu/Debian

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl

FreeBSD

Use pkg_add or ports. Here are some examples using ports.

cd /usr/ports/devel/pcre; make install clean; rehash;
cd /usr/ports/net/GeoIP; make install clean; rehash;
cd /usr/ports/textproc/expat2; make install clean; rehash;
cd /usr/ports/security/openssl; make install clean; rehash;
cd /usr/ports/devel/rcs; make install clean; rehash;

Mac OS X

  1. Install Xcode from https://developer.apple.com/xcode/ (This requires registering with your AppleID.)
  2. Download Command Line Tools for Xcode from the Apple Developer page above.
  3. Install MacPorts from http://www.macports.org/install.php#pkg
sudo port install pcre expat openssl rcs libgeoip zlib