How to harden Apache Web Server on Centos 7

Apache is the most popular web server used in the internet. It is ideal for most situations and allows flexibility for shared environments through the use of .htaccess file. This…

Read More »

ERROR: sudo: pam_open_session: System error sudo: policy plugin failed session initialization

I got this error when trying to run a few commads with sudo right after I set password expiration on my RHEL7 box. Immediately after, I couldn’t use sudo for…

Read More »

How to create a perfect Mail Server using CWP

Normally, when we send emails, we expect them to reach within a few seconds to the recipient’s inbox. However, it is not obvious that your email reaches your recipients inbox….

Read More »

Configuring date and time in RHEL 7/Centos 7

Knowing how to manage time via the command line is a useful skill to acquire. To best understand time, we need to understand the two types of clocks specified in…

Read More »

Generate CSR for your domain from Terminal in Centos 7

To obtain an SSL certificate, a Certificate Signing Request (CSR) must be generated. This can be done using openssl on Linux based servers. The procedure is as follows: 1. Install…

Read More »