Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have no experience with Linux. I want to install the haproxy. Where should I place the file for installation?

My position is at the root server. /root

Can I use the following procedure?

wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.20.tar.gz
gunzip haproxy-1.4.20.tar.gz
tar -xf haproxy-1.4.20.tar
cd haproxy-1.4.20
./configure
make
make install
share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can, but you probably shouldn't. EPEL has haproxy packages, and you'd be far more effective using those instead of trying to make your own build.

share|improve this answer
    
How can I install this package? –  Jenan Mar 11 '12 at 7:29
1  
@Jenan: enable epel cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo then yum install haproxy –  Iain Mar 11 '12 at 7:43
    
This error: /var/tmp/rpm-tmp.dBrmAL: not an rpm package (or package manifest): –  Jenan Mar 11 '12 at 7:55
    
@Jenan: Questions go in questions, not comments. –  womble Mar 11 '12 at 9:20
1  
More up-to-date instructions (i.e., not CentOS5 specific) on activating EPEL are available on wiki.centos.org/AdditionalResources/Repositories somewhere down the page. Just search for EPEL, and you'll have links to the RPMs to install. –  cjc Mar 11 '12 at 11:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.