informatica:linux:haproxy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
informatica:linux:haproxy [2012/10/16 07:01] – javi | informatica:linux:haproxy [2012/12/20 07:15] – javi | ||
---|---|---|---|
Line 4: | Line 4: | ||
http:// | http:// | ||
+ | |||
===== Instalacion ===== | ===== Instalacion ===== | ||
+ | |||
+ | ==== Paquete debian ==== | ||
sudo aptitude update; sudo aptitude install haproxy | sudo aptitude update; sudo aptitude install haproxy | ||
Line 11: | Line 14: | ||
+ | ==== Fuentes ==== | ||
+ | |||
+ | Importante para obtener soporte SSL | ||
+ | |||
+ | 1. (Opcional) Instalar dependencias: | ||
+ | |||
+ | sudo aptitude update; sudo aptitude install build-essential libpcre3-dev libssl-dev | ||
+ | |||
+ | 2. Descargar: | ||
+ | |||
+ | cd /usr/local; sudo wget -c --tries=0 http:// | ||
+ | |||
+ | 3. Descomprimir | ||
+ | |||
+ | sudo tar xvfz haproxy-1.5-dev15.tar.gz; | ||
+ | |||
+ | 4. Compilar: | ||
+ | cd / | ||
+ | sudo make install | ||
===== Config ===== | ===== Config ===== | ||
Line 188: | Line 210: | ||
</ | </ | ||
+ | |||
===== Estadisticas ===== | ===== Estadisticas ===== | ||
Line 215: | Line 238: | ||
Listado completo de comandos en la seccion '9.2. Unix Socket commands' | Listado completo de comandos en la seccion '9.2. Unix Socket commands' | ||
+ | |||
+ | ==== Deshabilitar/ | ||
+ | |||
+ | Requiere tener las estadisticas habilitadas y ser root. | ||
+ | |||
+ | **Deshabilitar**: | ||
+ | |||
+ | clear;echo " | ||
+ | |||
+ | **Habilitar**: | ||
+ | |||
+ | clear;echo " | ||
+ |
informatica/linux/haproxy.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1