George McKinney Adventures in Software Development

September 26, 2020

Follow Linket

Filed under: Mobile — georgemck @ 9:26 am

Linket Cat



[ Jill Gamer ]

Your Guest can play at[
Jill Gamer ]

September 12, 2020

Updating AWS CLI on Linux from Version 1 to Version 2

Filed under: Amazon — georgemck @ 3:32 am

Amazon Linux 1 and 2 AMI used for EC2 have AWS CLI pre-installed but if it is version 1 and you want to update to version 2, do this.


Step 1. First check which version you have currently installed:

aws –version

will output something like this:

aws-cli/1.14.39 Python/3.7.3 Linux/4.14.193-113.317.amzn1.x86_64 exe/x86_64.amzn.2018


Step 2. Optionally, you can review its configuration with:

aws configure


AWS Access Key ID [****************AU4L]:
AWS Secret Access Key [****************cFa+]:
Default region name [us-east-1]:
Default output format [json]:


Step 3. Uninstalling depends on which version of Python you have associated with AWS CLI. Check the AWS version previously displayed to be sure. Here is a link to the documentation

For Python 2, the command is:

pip uninstall awscli

For Python 3, the command is:

pip3 uninstall awscli


Step 4. Installing version 2 according to:

   curl “” -o “”
   sudo ./aws/install


Step 5. Upon installation of the version 2, it will probably not be in the same place the operating system is expecting and it will be necessary to update the path according to the output of Step 4.

export PATH=$PATH:/usr/local/bin/aws


Now check the version

aws –version


aws-cli/2.0.48 Python/3.7.3 Linux/4.14.193-113.317.amzn1.x86_64 exe/x86_64.amzn.2018


Step 6. Optionally, rerun the configure option in order to make sure everything is still there and you will be good to go.

   aws configure


AWS Access Key ID [****************AU4L]:
AWS Secret Access Key [****************cFa+]:
Default region name [us-east-1]:
Default output format [json]:


This shows how straightforward updating this valuable tool can be. As one of the three ways of managing Amazon Web Services resources (AWS Console, AWS SDKs and AWS CLI), you will be ready for the task at hand.

September 8, 2020

Using Chrome as a Local Web Server

Filed under: Chrome Browser — georgemck @ 2:52 am

Nifty trick from

Chrome version 65+ can double as a local static web server



        <h1>This is</h1>

Powered by WordPress