Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Pound reverse proxy installation with PCRE and google perftools

Pound reverse proxy installation with PCRE and google perftools

Ratings:

5.0

(1)
|Views: 634|Likes:
Published by Syed Atif Ali
This is a step by step Installation document to install Pound reverse proxy load balancer using PCRE and google performance tools libraries.
This is a step by step Installation document to install Pound reverse proxy load balancer using PCRE and google performance tools libraries.

More info:

Published by: Syed Atif Ali on May 23, 2007
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

01/01/2013

pdf

text

original

 
Pound installation on redhat enterprise Linux 4 x86_64Syed Atif Ali
Introduction :
 The
Pound
program is a reverse proxy, load balancer and HTTPS front-endfor Web server(s).
Pound
was developed to enable distributing the load amongseveral Web-servers and to allow for a convenient SSL wrapper for those Webservers that do not offer it natively.
Pound
is distributed under the GPL - nowarranty, it's free to use, copy and give away.I will install pound to serve many asp's on single IP . and use pound and reverseproxy and load balancer.
Software :
Pound-2.3.2PCRE-devel ( Highly recommended)Google perftools 0.8( Highly recommended )I am performing this installation on an AMD Opteron dual core machine with3 GB of memory
Installation :
I would be installing pound against PCRE and tcmalloc thread allocation libraryprovided by google. Pound README suggests this about these requirements" The PCRE package is strongly recommended .... If the PCRE package is availablePound will link against it. This will provide a significant performance boost. "
PCRE-devel installation :
 
# yum install pcre-devel
Google perftools installation :
# mkdir ~/software# cd ~/software# wget http://google-perftools.googlecode.com/files/google-perftools-0.8.tar.gz# tar xzf .tar.gz# cd google-perftools-0.8# ./configure --prefix=/home/atif/googlelib# makeit gave an error
 
src/base/linux_syscall_support.h:339: error: invalid conversion from `long int' to`void*'make: *** [libtcmalloc_minimal_la-malloc_hook.lo] Error 1
open src/base/linux_syscall_support.h and edit line 338Change thisTo thisstatic inline _syscall6(void*,sys_mmap, void*, s,size_t, l,int, p,int, f, int,d,static inline _syscall6(long int,sys_mmap, void*, s,size_t, l,int, p,int, f, int,d,after that# make clean# make# mkdir /home/atif/googlelib# make installI also added in LD_LIBRARY_PATH the location /home/atif/googlelib/lib , in fact ieven added it in /etc/ld.so.conf and ran# ldconfig( assuming that pound configure will find these , but it didn't happen u will seelater )
Pound installation :
# cd ~/software# wget http://www.apsis.ch/pound/Pound-2.2.7.tgz# tar xzf Pound-2.2.7.tgz# cd Pound-2.2.7# ./configure --prefix=/home/atif/poundAlthough PCRE-devel was installed with rpm and googlelib was in ld_library_pathand ld.so.conf , configure script of pound could not find both and was not linkingagainst these libraries.So i had to export LDFLAGS and CPPFLAGS before running configure script whichthan found both libraries and linked against them .

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Naoto Gohko liked this
Dan liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->