LoginSignup
3
3

More than 5 years have passed since last update.

CentOS6でSSL対応HAProxy 1.5.3のrpmを作成する

Posted at
SSL対応HAProxyのRPMを作成
rpmdev-setuptree
sudo yum -y install pcre-devel openssl-devel
cd ~/rpmbuild/SOURCES
curl -L -O http://www.haproxy.org/download/1.5/src/haproxy-1.5.3.tar.gz
tar zxf haproxy-1.5.3.tar.gz
cp -p haproxy-1.5.3/examples/haproxy.spec ../SPECS/haproxy153.spec
sed -i 's/USE_PCRE=1 /USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 /' ../SPECS/haproxy153.spec
rpmbuild -bb ../SPECS/haproxy153.spec
HAProxyをインストール
sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/haproxy-1.5.3-1.x86_64.rpm
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3