All HowTo's Cybersecurity Linux Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Sudo Without a Password & Restricted Commands/Groups – CentOS and Redhat

This article explains how to use SUDO without being prompted for the password. We can restrict which users and/or groups can do this. As root, edit the file “/etc/sudoers”. Add the line: agix ALL=(ALL) NOPASSWD: ALL The above means that the user “agix” can use sudo without being prompted for

Read more
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