A Linux and Cybersecurity expert in Australia. RHCE, Linux+, Sec+, CySA+, CASP+, CISM
All HowTo's

Puppet err: Could not retrieve catalog from remote server: hostname was not match with the server certificate

This article explains the error “err: Could not retrieve catalog from remote server: hostname was not match with the server certificate”. This error suggests that the Puppet servers SSL certificate’s name is not when the Puppet client expect. On the Puppet server, issue the command: puppet cert print $(puppet master

Read more
All HowTo's Ansible & Terraform Automation Linux Redhat, Fedora and CentOS Linux Web Servers

Install Puppet Server & Client on Redhat & CentOS 6

This article explains how to install the Puppet server (also known as the PuppetMaster) and client on a Redhat or CentOS server. Note that Puppet uses TCP ports 8140, 61613, and 443. First add the Puppet repo on both the puppet client and server systems. The following link has several

Read more
All HowTo's Linux Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux Web Servers

Configure Varnish Cache for Multiple Domains – CentOS/Redhat 6

This article applies to Varnish 3. This article explains how to configure the Varnish Cache to cache for multiple domains on the same backend server. I’ve used CentOS 6.2 for this example. In this example, Varnish is listening on TCP port 80. The DNS “www” “A” record for the domains

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

MySQL Database Replication Example

This article explains how to install MySQL 5.1 on Redhat/CentOS and configure replication to a slave MySQL server. In this article, the master host has the IP address “192.168.122.7” and the slave has IP address “192.168.122.6”. Remember to restart the MySQL server if and when you make changes to the

Read more