How Do You Get a Script with Yum Commands That Rely on a Public Website to Work when you have No Access to the Internet?

Problem scenario
You have a Bash script that cannot be modified that runs yum commands.  The script runs on a RedHat distribution of Linux and uses URLs with SSL (e.g., https://continualintegration.com).  The script expects a yum repository to be set up at this URL.  This script must run without access to the Internet due to enterprise security policies.  What do you do if you are behind enough security to not need SSL to be set up properly (given that you have no Internet access) and need to get the script to work immediately?

 » Read more..

Great Software Firewall and Anti-Virus Program

Looking for a downloadable anti-virus or anti-spyware solution on Amazon?  You will not find this on Amazon: The latest Lavasoft Ad-Aware Total Security is an all-in-one solution for Windows computers.  Ad-Aware Total Security has a great OS firewall and strong anti-spyware capabilities. Its virus database and scanning technology provides great all-around protection.  To learn more about this under-rated security solution for Windows computers or to buy it, click on this link.

 » Read more..

Installing Git 2.x on CentOS and Getting Passed Two Potential Problems

Problem scenario:  When installing Git on CentOS you get this error “http-push.c … fatal error … expat.h: No such file or directory”

Solution:yum install expat-devel

Problem scenario:  When running commands to install Git on CentOS, you use the “make” command.  But you get this error:  “git-compat.util.h:…: fatal error: openssl/ssl.h  No such file or directory.”

How To Resolve “Certificate_Verify_Failed” error when trying an AWS CLI command?

Problem Scenario  You try to use an AWS CLI command, but you get an error.  The error says “[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:…)”

Possible solutions

#1  Redo the AWS configuration.  Issue this command: aws configure
Leave the AWS Access Key ID and the AWS Secret Access Key the way they are.  Look at the “Default region name.”  Verify there is no letter at the end. 

 » Read more..

How Do You Troubleshoot a Puppet Manifest When The Errors and Logging Do Not Help You?

Updated on 11/10/18

Problem scenario
A Puppet manifest is not working, but there are no obvious error messages.  When running the puppet agent command, you use the -d flag for debugging.  In your manifest, you use logoutput => true stanza.  But still, you cannot figure out why your manifest is not working.

You tried this command:  # puppet parser validate nameOfManifest.pp

The above command had no output.  

 » Read more..

What Should Be Done About the Discrepancies Between Local Group Policy Editor and the Registry Settings?

Question:  What Should Be Done About the Discrepancies Between Local Group Policy Editor and the Registry Settings?

Solution:  Nothing.  To open the Local Group Policy Editor in Windows Server 2012, either go to PowerShell and type “gpedit.msc” with not quotes or without PowerShell go to the Windows button on the desktop and go to the search field.  Search for “gpedit” with no quotes.  Click on the result (usually just one). 

 » Read more..

How do you run Windows Malicious Software Removal Tool?

Problem scenario:  You go to the Start menu and type in the box “malicious” or “Windows Malicious Software Removal Tool” and no program shows up.  You go to “Programs and Features” in the “Control Panel” but you cannot find anything with the word “Malicious” in it.  How do you run Windows Malicious Software Removal Tool?

Solution from a command prompt:  Open a command prompt (hold the Windows button and tap “r”). 

 » Read more..

How to Install Suricata on an AWS Instance of SUSE Linux

These “directions” to install Suricata on SUSE Linux include a script and how to run it.  The script was designed to install Suricata 3.1dev on an AWS instance of SUSE 12 SP1.  This script was based on these here. This script requires that your AWS SUSE Linux server is in a security group that has access to the Internet.  The script takes approximately five minutes to run.  But bandwidth and resources on your instance may vary.

 » Read more..

How Do You Get All the Security Updates and OS Updates for Your Ubuntu Server to Be Applied?

Problem scenario
When you log into Ubuntu, you see a message like this:

8 packages can be updated.
5 updates are security updates.

You run this: sudo apt-get -y update

This completes.  But next time you log in, you see the same message about 8 packages can be updated.  What do you do?

Solution
Run this command:  sudo apt-get -y upgrade

If you are looking for deploying Hadoop to Ubuntu,

 » Read more..

How to Install Suricata on an AWS Instance of Ubuntu Linux

Updated on 11/28/17

Problem scenario
You want to install Suricata on Ubuntu Linux.  How do you do this?

Solution
These directions to install Suricata include a script and how to run it.   The optional script in 2.c was based on these here.  The optional script in 2.c script requires that your AWS Ubuntu Linux server is in a security group that has access to the Internet. 

 » Read more..