​How Do You Troubleshoot This Error “Docker-Engine : Depends: Libsystemd-journal0 (>= 201)”?

Problem scenario
You are trying to install docker-engine on Ubuntu Linux, but you get this error:
"docker-engine : Depends: libsystemd-journal0 (>= 201)" 

Solution
This solution assumes your Ubuntu Linux server has access to the Internet.

1.  Run this command exactly once:

echo 'deb http://cz.archive.ubuntu.com/ubuntu trusty main' >> /etc/apt/sources.list.d/docker.list

2.  Try to install docker-engine again.

Why Am I getting This Error “Cannot connect to the Docker daemon at unix:///var/run/docker.sock.”?

Problem scenario
You are using Linux (Ubuntu 14.04) and trying to run Docker for the first time.  You run docker ps or docker version and you see this message:

"Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

How do you fix this problem to get Docker to work?

Solution
Run this command:

cat /var/log/upstart/docker.log | grep -i docker | grep -i linux

If you see this: ' level=fatal msg="Your Linux kernel version 2.6.32-042stab116.2 is not supported for running docker. Please upgrade your kernel to 3.10.0 or newer."' then you need to upgrade the kernel of the Linux machine or move to a different server. 

"It is strongly recommended that you run Docker on a modern release of your preferred Linux distribution. … Generally a 3.8 or later kernel is required…" (Page 27 of Docker Up & Running by Matthias & Kane, O'Reilly Press, 2015.) Docker's website as of 3/20/18 shows that kernel version 3.10 or higher is recommended.

How Do You Deploy a Stack (a Collection of Infrastructure Resources) with AWS CloudFormation Using the Console?

Problem scenario
You want to use CloudFormation in AWS.  You want to create a server or multiple servers with CloudFormation. How do you use CloudFormation with no CLI to create a stack (a collection of infrastructure or application resources) in AWS?

Solution
Here is a simple example to answer the question.

1.  Go to https://console.aws.amazon.com/cloudformation/home
2.  Click "Create new stack" button
3.  Click the drop down menu option below "Select a sample template" and under "Single instance samples" choose  "LAMP Stack".  Then click "Next" in the lower right hand corner
4.  Fill out the details and parameters however you like.  Then click "Next" in the lower right hand corner.
5. You may or may not want to configure options.  When you are done, or if you have no options to configure, click "Next" in the lower right hand corner.
6.  Review the settings and click "Create" in the lower right hand corner.

How Do You Set up (Install and Configure) AWS CloudWatch?

Update 11/22/17

Problem scenario

You want to use CloudWatch.  What steps do you need to take initially to have it work on a Linux server?

Solution
Prerequisites
Prerequisite #1  The server must be an EC-2 instance (not a non-AWS server) with AWS CLI installed (but not necessarily configured).  For directions on installing AWS CLI, see this link.

Prerequisite #2  One of the following (a or b) must be met:

a)  AWS CLI is configured on this Linux server.

OR

b)  You must have your default region name, AWS Access Key ID, and AWS Secret Access Key ready.  If you know these values, start with step #1 below.  Otherwise to retrieve the region name, in the console find the portion of the URL that is to the right of the "=" sign.  For example, "us-east-1" is to the right of the "=" sign.  To find the AWS Access Key ID and AWS Secret Access Key, in the AWS console, click on your name in the upper right hand corner. Click on "My Security Credentials."  Click "Create New Access Key." Then click "Show Access Key."

End of prerequisites.

Procedures
Step #1  On the Linux server, run this command:

wget https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.py

Step #2  Run this command but replace "us-east-1" with the region of your choice:

sudo python ./awslogs-agent-setup.py --region --us-east-1

#  Follow the prompts.  If the AWS CLI was already configured, you should be able to accept the defaults.

Step #3  In a few moments, you'll be able to view the logs.  In a regular web browser open this URL after you modify it by replacing "us-east-1" to be the region you chose in the above command: 

https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logs:

Step #4  You are done.

FYI
Several months after this posting above was published, AWS published an article about CloudWatch.  It helps given an overview of this monitoring service.

How Do You Start an .Ova for a 64 Bit Guest Server When You Get an Error about Not Having a 64 Bit Processor?

Problem scenario:   You imported an .ova file.  But when you start the new VM (from the imported .ova file) you get this error: 

"VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot."

What do you do?

Root cause:  VT-x has not been enabled.

Solution
Enable VT-x.  Follow these directions.

When Using Lynx, How Can You See the Underlying URL?

Problem Scenario:  You use Lynx to browse the web.  You want to see the complete URL when using Lynx (e.g.,for posterity) of a given web page.  What do you do? 

Solution
1.  Use Lynx and browse to a given web page.  Browse as normal and stop when you are on the page for which you want to find the URL.
2.  Type "o" (with no quotes).
3.  Select the "User mode" option.  Press Enter.
4.  Change the setting to "Advanced" and press Enter.
5.  Press the down arrow until you get to the last line.  Put the cursor on "Accept Changes" and Press "Enter."

How Do You Troubleshoot Not Seeing 64 Bit Options in The “Version” Drop down Menu in Oracle VirtualBox?

Problem scenario:  Using Oracle VirtualBox on a 64 bit version of Windows, you go to create a new virtual machine as a guest server.  You want it to run a 64 bit version of Linux. You start to build the new machine using Oracle VirtualBox. You choose the "Version" and only see 32 bit options.  You have a processor (hardware) that is 64 bit.  The Windows OS is 64 bit.  But you do not see 64 bit options for the OS choices.  How do you install a 64 bit version of Linux as a guest server?

Solution
Enable VT-x (Virtual Technology VTx) in the BIOS.  One example of how to do this is here (but it is for an HP Probook only).

How Can Web Browsing Be Sped up (or Quickened) When Using Windows 7?

Problem scenario: The Internet seems sluggish and unreliable when using Firefox on Windows 7.  You Internet speed is medium slow, and your laptop has decent hardware specifications by 2017 standards.  What can you do?

Solution:  Use Chrome.  You can download it here.

Our research and investigation has confirmed that Chrome will be faster.  There are other reasons besides speed for choosing different web browsers.  If speed is the primary concern, we recommend Chrome as of March 2017.

DigitalTrends has articles corroborating our own findings. This website http://www.itpro.co.uk/web-browsers/24796/which-is-the-best-browser-chrome-vs-firefox-vs-internet-explorer-4/page/0/3 used to have more information.

Caveat:  Historically web browsers change rapidly (as do all things in I.T.).  It should be no surprise if things are different in one year from now.