Hi,

2016-02-11 8:31 GMT+01:00 Baptiste <bed...@gmail.com>:

> On Thu, Feb 11, 2016 at 6:12 AM, Hemanth Abbina
> <heman...@eiqnetworks.com> wrote:
>
> > By default, ‘yum’ is installing with 1.5.2 version.
> >
> > We would like a way to run the HAProxy as service, as against the
> standalone
> > invocation.
>

> Well, if I were about to create a service based on HAProxy, I would
> consider building the package myself!
> At least, you would know what your service relies on....


I personnally build it from source each time, with OpenSSL lib builtin :
OpenSSL is never up to date on generic distribution (only security
patches), so this is a good way to choose which openssl version I want to
run with.

To achieve this, download openssl source and compile it with :
./config --prefix=/tmp/staticlibssl no-shared && make && make install_sw

Then compile HAProxy with :
export STATICLIBSSL=/tmp/staticlibssl
make USE_OPENSSL=1 USE_PCRE=1 USE_TFO=1 TARGET=linux2628 CPU=native
SSL_INC=$STATICLIBSSL/include SSL_LIB=$STATICLIBSSL/lib ADDLIB=-ldl

And use ./haproxy binary file generated this way.


Olivier

Reply via email to