Tiny Core Linux
Tiny Core Extensions => TCE News => TCE 2.x => Topic started by: Jason W on October 16, 2009, 01:19:54 PM
-
Thanks to evofx for:
Title: haproxy.tcz
Description: HAProxy - Layer 7 Load Balancer
Version: 1.3.21
Author: Willy Tarreau
Original-site: http://haproxy.1wt.eu/
Copying-policy: GPL v2
Size: 128KB
Extension_by: evofx
Comments: ipvs-2.6.29.1-tinycore is optional improve perfromance via tcp splicing.
This extension is PPI Compatible.
HAProxy is a free, very fast and reliable solution offering high availability,
load balancing, and proxying for TCP and HTTP-based applications.
It is particularly suited for web sites crawling under very high loads while
needing persistence or Layer7 processing. Supporting tens of thousands of
connections is clearly realistic with todays hardware. Its mode of operation
makes its integration into existing architectures very easy and riskless, while
still offering the possibility not to expose fragile web servers to the Net.
Change-log: 2009/10/16 Original
Current: 2009/10/16 Original
-
Is HAProxy still available on TCL? It's good to have it in my TCL lab.
tc@box:~$ tce-load -wi haproxy.tcz
/usr/bin/tce-load: line 212: can't create /tmp/appserr: Permission denied
Downloading: haproxy.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: haproxy.tcz.md5.txt: No such file or directory
Error on haproxy.tcz
/usr/bin/tce-load: line 273: can't create /tmp/appserr: Permission denied
tc@box:~$
-
Hi Adam
This extension announcement was for TC2. The TC4 repository contains the same extension as it was originally released.
Seeing as it has no dependencies, you could try downloading it from:
http://tinycorelinux.net/4.x/x86/tcz/haproxy.tcz
and see if it runs for you.
-
Hi Adam
This extension announcement was for TC2. The TC4 repository contains the same extension as it was originally released.
Seeing as it has no dependencies, you could try downloading it from:
http://tinycorelinux.net/4.x/x86/tcz/haproxy.tcz
and see if it runs for you.
Thanks Rich. It works :)
tc@box:~$ wget http://tinycorelinux.net/4.x/x86/tcz/haproxy.tcz
Connecting to tinycorelinux.net (89.22.99.37:80)
haproxy.tcz 100% |******************************************************************************************************************| 144k 0:00:00 ETA
tc@box:~$
tc@box:~$ tce-load -i haproxy.tcz
/usr/bin/tce-load: line 212: can't create /tmp/appserr: Permission denied
haproxy.tcz: OK
tc@box:~$
tc@box:~$ haproxy
HA-Proxy version 1.3.21 2009/10/12
Copyright 2000-2009 Willy Tarreau <w@1wt.eu>
Usage : haproxy [-f <cfgfile>]* [ -vdVD ] [ -n <maxconn> ] [ -N <maxpconn> ]
[ -p <pidfile> ] [ -m <max megs> ]
-v displays version ; -vv shows known build options.
-d enters debug mode ; -db only disables background mode.
-V enters verbose mode (disables quiet mode)
-D goes daemon
-q quiet mode : don't display messages
-c check mode : only check config files and exit
-n sets the maximum total # of connections (2000)
-m limits the usable amount of memory (in MB)
-N sets the default, per-proxy maximum # of connections (2000)
-p writes pids of all children to this file
-de disables epoll() usage even when available
-ds disables speculative epoll() usage even when available
-dp disables poll() usage even when available
-sf/-st [pid ]* finishes/terminates old pids. Must be last arguments.
tc@box:~$ haproxy -v
HA-Proxy version 1.3.21 2009/10/12
Copyright 2000-2009 Willy Tarreau <w@1wt.eu>
tc@box:~$
-
posted to tc-8.x x86 repo
-
posted to tc-8.x x86 repo
Thanks Juanito. Other extension normally will be there even after reboot. But this is not the case for haproxy.
Please let me know how to keep it there permanently. Thanks
-
Hi Adam
My guess is that it's not listed in your onboot.lst file.
-
Hi Adam
My guess is that it's not listed in your onboot.lst file.
Yeah, initially it's not there. But even if I add it to onboot.lst and backup it, HAproxy apps is still not there after reboot.
BEFORE REBOOT
user@box:~$ haproxy
-sh: haproxy: not found
user@box:~$
user@box:~$ tce-load -i haproxy.tcz
/usr/bin/tce-load: line 212: can't create /tmp/appserr: Permission denied
haproxy.tcz: OK
user@box:~$
user@box:~$ haproxy -v
HA-Proxy version 1.3.21 2009/10/12
Copyright 2000-2009 Willy Tarreau <w@1wt.eu>
user@box:~$ sudo slocate haproxy
/home/user/haproxy.tcz
/usr/local/sbin/haproxy
/usr/local/share/man/man1/haproxy.1
/usr/local/tce.installed/haproxy
user@box:~$
user@box:~$ grep haproxy /mnt/sda1/tce/onboot.lst
haproxy.tcz
user@box:~$
AFTER REBOOT
user@box:~$ cat /mnt/sda1/tce/onboot.lst
openssh.tcz
file.tcz
slocate.tcz
tzdata.tcz
nmap.tcz
tcpdump.tcz
curl.tcz
iptables.tcz
haproxy.tcz
user@box:~$
user@box:~$ haproxy
-sh: haproxy: not found
user@box:~$
user@box:~$ sudo slocate haproxy
/home/user/haproxy.tcz
user@box:~$
-
That's because it's not in the correct directory. Loading it with "tce-load -i" worked because you were in the same directory, and it saw that.
Move it to your tce/optional directory.
-
That's because it's not in the correct directory. Loading it with "tce-load -i" worked because you were in the same directory, and it saw that.
Move it to your tce/optional directory.
Thanks curaga.
I've tried to move it to your tce/optional directory, however the haproxy will be gone after reboot.