Tag Archives: Linux

Installing HAProxy From Source on Debian Stretch

By | 2019-04-28

The Debian Stretch repositories provide HAProxy version 1.7. 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 HAProxy source code Compile and install HAProxy Create an unprivileged service account Create a SystemD unit file Create… Read More »

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 Check Linux Disk Space

By | 2019-04-17

Checking disk space in Linux can done with the command line progams df and du. df is used to show usage at the filesystem level, while du can be used to show how much space individual files and directories use. If you aren’t familiar with how Linux presents storage devices, you will probably want to… Read More »

Linux Filesystem Hierarchy

By | 2019-04-14

Unlike Windows, Linux doesn’t use drive letters to distinguish storage devices. It uses a single hierarchy starting at /. Storage devices are associated with directories within this hierarchy through a process called mounting. I’ll cover mounting and mount points more later on. The term Linux filesystem hierarchy refers to this tree structure. The Root Directory… Read More »

Mounting a Windows Share on Linux

By | 2019-02-15

Mounting a Windows share on Linux is pretty straight forward. You need a Windows user that can access the shares, the name of the work group or domain, and the name of the share. First, make sure you have mount.cifs installed, then create a credentials file, and finally mount the share. You can also add… 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 »

How To Delete a File In Linux

By | 2019-01-10

There are two main ways to delete a file on a Linux based operating system. Keep in mind that removing a file as described in this guide just removes references to the underlying storage system. Forensic tools may be able to recover their contents. There are ways to delete files that prevent their recovery, but… Read More »