In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment OS:Ubuntu1804haproxy: http://www.haproxy.org/download/2.0/src/haproxy-2.0.4.tar.gzlua:http://www.lua.org/ftp/lua-5.3.5.tar.gzIP:192.168.7.182 installation step 1. Prepare to compile and install HAProxy's base environment # apt install make gcc build-essential libssl-dev zlib1g-dev libpcre3 libpcre3-dev libsystemd-dev libreadline-dev-y2. Compile and install lua to support functional extensions based on HAProxy. Note: the minimum lua required by HAProxy is 5.32.1 download and install lua# wget-P / usr/local/src/ http://www.lua.org/ftp/lua-5.3.5.tar.gz# cd / usr/local/src/# tar xf lua-5.3.5.tar.gz# cd lua-5.3.5/src/# make linux2.2 to view the compiled version #. / lua- vLua 5.3.5 Copyright (C) 1994-2018 Lua.org PUC-Rio3. Compile and install haproxy3.1 extract and install # cd / usr/local/src/# tar xf haproxy-2.0.4.tar.gz# cd haproxy-2.0.4# make-j `lscpu | awk 'NR==4 {print $2}' `ARCH=x86_64 TARGET=linux-glibc USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 USE_SYSTEMD=1 USE_CPU_AFFINITY=1 USE_LUA=1 LUA_INC=/usr/local/src/lua-5.3.5/src/ LUA_LIB=/usr/local/src/lua-5.3. 5/src/ PREFIX=/apps/haproxy & & make install PREFIX=/apps/haproxy3.2 view compiled and installed version information #. / haproxy-vHA-Proxy version 2.0.4 2019-08-06-https://haproxy.org/4. Write haproxy startup script # cat > / lib/systemd/system/haproxy.service / etc/haproxy/haproxy.cfg
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 282
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.