How Do You Troubleshoot the Message “error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory”?

Problem scenario
You are using a Red Hat derivative of Linux (e.g., CentOS/RHEL/Fedora).  When trying to run a MongoDB command you receive this message: “error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory”

What should you do?

Solution
Get different installation media.  If you try to install a .tgz file for Ubuntu on CentOS/RHEL/Fedora, you will get this message. 

How Do You Troubleshoot the Python Error “NameError: name is not defined” When Using Boto3?

Problem scenario
You are running a Python program with Boto and you get an error like this:

  ” aws_access_key_id=AKIAJfoobar9999, NameError: name ‘AKIAfoobar9999’ is not defined”

What should you do?

Solution
Put single quotes around the aws_access_key_id value.

What Does the “git branch” Command Do?

Problem scenario
You have seen “git branch” and heard of branching strategies.  What does “git branch” actually do?  How can you use “git branch”?

Solution
In the context of version control or configuration management, branching is a fork of a codebase. 
(Forking is the creation of an independent copy of a repository; a branch is the same except it is a copy of a repository within the same repository for the purpose of merging with the main or “trunk” branch.

How Do You Install and Configure Gulp?

Problem scenario
You want to use Gulp the automation tool (https://gulpjs.com/).  How do you install it and get it to work on Linux (either a Debian distribution or a Red Hat distribution)?

Solution
1.  If you are using CentOS, Red Hat Enterprise Linux, or Fedora, run these two commands:

sudo yum -y install nodejs npm  # *
sudo npm install -g gulp

If you are using Debian or Ubuntu Linux,

How Do You Use the screen Program in Linux?

Problem scenario
You would rather not create duplicate terminal windows in your Linux desktop or with PuTTy in Windows.  This may be an enforced security policy rather than a preference.  Some Linux systems only allow one log on session.  Perhaps you want the systems administrator to use the “who” or “w” command to see which users are logged in without seeing more than one session for your user.

How Do You Trace the Route of a Network Path from One Server to an IP address elsewhere on the Network?

Problem scenario
You want to see the path that network traffic takes from one server to another network endpoint.  How do you find the intermediate path from the server your are on to a reachable IP address?

Solution
Use a tracing utility.  If your server is running Windows, use tracert.  Here is an example of how to use it:  tracert 8.8.8.8

If your server is running Linux,

How Do You Install MongoDB on a Debian/Ubuntu Linux Server?

Problem scenario
You want to install MongoDB on an Ubuntu/Debian Linux server.  How do you do this?

Solution
1.  If you know your distribution of Linux, go to step #2.  Otherwise try this command:  cat /etc/*-release

2.  Do one of the following that corresponds to your distribution of Linux:

On Debian:  sudo apt-get -y install mongodb mongodb-server

On Ubuntu 16.x or Ubuntu 17.x run these two commands (that may span three lines):

curl http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.4_amd64.deb >