How Do You Use Amazon Route 53 with a Domain Name?

Problem scenario
You have a web server with an external IP address (e.g., a VPS, an EC-2 instance, a DigitalOcean droplet, a VM in Azure or GCP).  You have a domain name, e.g., funexample.com, that you have registered.  You want to go to craft a URL foobar.funexample.com to resolve to this web server with an external IP address.  Right now when you open a web browser and go to foobar.funexample.com, nothing downloads. 

What Does the “git rebase” Command Do?

Problem scenario
You are familiar with codebases in the context of configuration management or version control.   How can you invoke “git rebase” to learn more about git?

Solution
If you use the man page for “git rebase” you see this phrase to define “git rebase”:  “Forward-port local commits to the updated upstream head”

What does “Forward-port local commits to the updated upstream head” mean?

According to 

How Do You Troubleshoot the Error “We are experiencing problems connecting to the Graylog server running on http://127.0.0.1:9000/api”?

Updated on 1/22/19

Problem scenario
You installed Graylog in a Docker container.  You open the URL for the server in a web browser.  You see this message:

” Server currently unavailable

We are experiencing problems connecting to the Graylog server running on http://127.0.0.1:9000/api. Please verify that the server is healthy and working correctly.

You will be automatically redirected to the previous page once we can connect to the server.

How Can a Bash Variable Be a String with a Multi-word Linux Command with a Space in It That Can Be Executed Independently and Correctly?

Problem scenario
You have a variable in a Bash script that helps you compose a new Bash command.  You want to create a complex and dynamic Bash command.  This variable includes one or more spaces in it.

You can echo the commands and verify that these are valid Linux commands.  You run them and they test out.  But to run automatically in a script, you are finding that it can be difficult. 

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,