Tag Archives: CentOS

Installing HAProxy From Source On CentOS 7

By | 2019-04-27

The CentOS 7 repositories provide HAProxy version 1.5. You may want or need features in newer versions. Fortunately, installing HAProxy 1.9.7 from source is relatively straightforward. The steps to do so are: Install required packages Download the Lua source code Download the HAProxy source code Compile and install Lua Compile and install HAProxy Create an… Read More »

How To Install an RPM on CentOS

By | 2019-01-15

There are several ways to install an RPM on CentOS. This guide covers the command line programs yum and rpm. There are GUI tools, such as PackageKit, to manage packages, but since the command line tools will always be available, those are what I will cover. In most cases, you probably want to use yum.… Read More »

Disable SELinux on CentOS 7

By | 2018-09-22

To temporarily disable SELinux on CentOS 7, run this command as root: root@centos7 ~]# setenforce 0 If you want to turn it back on, use the command: root@centos7 ~]# setenforce 1 This will not persist across a reboot. If you want it to be disabled when the system boots, edit /etc/sysconfig/selinux and replace this line:… Read More »