Category Archives: Guides

Installing Tomcat on CentOS 8

By | 2019-11-24

I couldn’t find a Tomcat package in the standard repositories or EPEL, so I will walk you through installing Tomcat on CentOS 8. It is a relatively straightforward process. The latest version available at the time of writing (2019 November 23) is 9.0.29, so that is the version I will use in the examples. All… Read More »

Installing HAProxy From Source on CentOS 8

By | 2019-11-21

The CentOS 8 repositories provide HAProxy version 1.8.15. You may want or need features in newer versions. Fortunately, installing HAProxy 2.0.9 (Latest stable version as of 2019 November, 21) 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… Read More »

Listing Installed Packages With DNF

By | 2019-10-21

Listing installed packages with dnf is straightforward. Unlike rpm, dnf also shows you the repository packages were installed from. The following example demonstrates listing all packages installed on a system. # dnf list installed Installed Packages acl.x86_64 2.2.53-1.el8 @anaconda audit.x86_64 3.0-0.10.20180831git0047a6c.el8 @anaconda audit-libs.x86_64 3.0-0.10.20180831git0047a6c.el8 @anaconda The left column displays the name of the package along… Read More »

How To Add a User to Sudoers

By | 2019-10-12

To add a user to sudoers, edit the file /etc/sudoers. Many systems come with a /etc/sudoers file that gives permission to a specific group. If your /etc/sudoers has a line that looks like one of these, you can allow a user to use sudo by adding the user to that group. %sudo ALL=(ALL:ALL) ALL %sudo… Read More »

Symbolic Links vs Hard Links

By | 2019-10-06

On Linux and UNIX systems, there are two types of links. Both types are created with the ln command. They function similarly but have some differences. First, you need to understand a little bit about how filesystems work. Filesystems store meta data such as permissions, modification times, and the location of the file’s data on… Read More »