Install haproxy on centos 7 digitalocean3/31/2024 If you want an explanation of the make arguments or wish to alter them, see the Lua 5.3 readme page for details. Lua can be compiled and installed with a single command: lua-5.3.5]# make INSTALL_TOP=/opt/lua-5.3.5 linux install Installing the latest version of Lua should only take a few minutes.Ĭhange your working directory to the directory created by tar when you extracted the archive: ~]# cd lua-5.3.5 The latest versions of HAProxy need a version of Lua that is newer than the one provided in the yum repositories. ~]# ~]# curl > ~]# curl > haproxy-1.9.7.tar.gzĮxtract the source archive files: ~]# tar xf ~]# tar xf haproxy-1.9.7.tar.gz Install Lua 5.3.5 The version of Lua in the CentOS 7 repositories is too old for HAProxy 1.9.7. Use the commands below to download HAProxy 1.9.7 and Lua 5.3.5. Run the following command as root to do so: ~]# yum install gcc openssl-devel readline-devel systemd-devel make pcre-devel Download and Extract Source Code In order to compile HAProxy, you will need to ensure a few packages from the standard repositories are installed. Enable HAProxy to start automatically on bootĪll commands in this guide should be executed as the root user.Fortunately, installing HAProxy 1.9.7 from source is relatively straightforward. You may want or need features in newer versions. The CentOS 7 repositories provide HAProxy version 1.5.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |