A List of Hyper-V Books

Designing Hyper-V Solutions by Saurabh Grover
Hyper-V 2008 R2 Essentials by Neil Smyth
Hyper-V 2016 Best Practices by Benedict Berger and Romain Serre
Hyper-V Best Practices by Benedict Berger
Hyper-V for VMware Administrators: Migration, Coexistence, and Management by Brien Posey
Hyper-V Network Virtualization Cookbook by Ryan Boud
Hyper-V Replica Essentials by Vangel Krstevski
Hyper-V Security by Eric Siron and Andy Syrewicze

How Do You Install an Older Version of Ansible on an AWS Instance of Red Hat Linux?

Problem scenario
You are using Red Hat Enterprise Linux in AWS.  You need to install an older version of Ansible — not the newest.  The pip command and other supported ways of deploying Ansible automatically use the newest version.  You also want to install Maven. 

Run this script as root.  The server must be in a Security Group with access to the internet.

 » Read more..

A Long List of Azure Books

15 minute Azure Installation: Set up the Microsoft Cloud Server by the Numbers by Barrett Leibe
A Guide to Claims-Based Identity and Access Control: Authentication and Authorization for Services and the Web (Microsoft patterns & practices) by Dominick Baier, Vittorio Bertocci, Keith Brown, Scott Densmore, Eugenio Pace and Matias Woloski
The Art of Windows Azure by Phoebe Parry
The Art of Windows Azure Sql Reporting by Sterling Sims
Automating Microsoft Azure Infrastructure Services: From the Data Center to the Cloud with PowerShell by Michael Washam

How Do You Install Vagrant on an AWS Instance of RedHat Linux?

Problem scenario
You are using a RHEL (RedHat Enterprise Linux) server in AWS.  You want to install Vagrant. What do you do?

Assume the root user by issuing this command: sudo su –
Run these commands:
yum -y install wget
cd /tmp
wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm 
yum -y localinstall vagrant_1.8.1_x86_64.rpm

To verify the installation, run this command: vagrant version

Alternative Solution
If you do not want to install wget and curl commands will work for retrieving https locations,

 » Read more..

A Long List of AWS (Amazon Web Services) Books

2015 AWS Cloud Dictionary & Handbook: Reccomnded for Associate Architect and Solution AWS Certifications. by Tony M’aash
Amazon Cloud Computing With C#/.Net (Amazon Cloud Computing With ‘X’) by Aditya Yadav
Amazon EC2 Linux AMI Quick Setup Guide: Get LAMP (Linux, Apache, MySQL, PHP) running in no time. by J. Lee
Amazon Virtual Private Cloud (AWS VPC): Getting started with AWS VPC by Nicholas Brown
Amazon Web Services For Dummies by Bernard Golden
Amazon Web Services in Action by Andreas Wittig  and Michael Wittig

How Do You Install Maven on an AWS Instance of RHEL?

Problem scenario
You are using RedHat Enterprise Linux 7.x or 8.x in AWS.  How do you install Maven?

Make sure Java has been installed. See this link if you need assistance.

1.  Create a file named maven.sh with this as the content:

curl http://ftp.wayne.edu/apache/maven/maven-3/$version/binaries/apache-maven-$version-bin.tar.gz /bin/apache-maven-$version-bin.tar.gz

md=$(md5sum /bin/apache-maven-$version-bin.tar.gz | awk ‘{print $1}’)
if [ $md -ne ’35c39251d2af99b6624d40d801f6ff02′ ]
echo “Installation of Maven has failed.  » Read more..

How Do You Troubleshoot the Java Error “class … is public, should be declared in a file named foobar.java”?

Problem scenario
You copied a Java program from the Internet.  You named the file foobar.java.  You try to compile it (e.g., with “javac foobar.java”), but you get this error:

foobar.java:6: error: class ContInt is public, should be declared in a file named ContInt.java
public class ContInt
1 error

What do you do?

Rename foobar.java to be ContInt.java.

 » Read more..

A Long List of RESTful API Books

API Management: An Architect’s Guide to Developing and Managing APIs for Your Organization by Brajesh De
APIs: A Strategy Guide: Creating Channels with Application Programming Interfaces by Daniel Jacobson, Greg Brail and Dan Woods
ASP.NET Web API: Build RESTful web applications and services on the .NET framework by Joydip Kanjilal
Build APIs You Won’t Hate: Everyone and their dog wants an API, so you should probably learn how to build them by Phil Sturgeon
Building a RESTful Web Service with Spring by Ludovic Dewailly
Building RESTful Python Web Services by Gaston C. Hillar

What Do You Do If You Run an Ansible Command and You Receive an Error “Failed to connect to the host via ssh: OpenSSH_6.6.1, OpenSSL 1.0.1e”?

Problem scenario
You run an Ansible command.  But you get an error like this:

” UNREACHABLE! => { “changed”: false, “msg”: “Failed to connect to the host via ssh: OpenSSH_6.6.1, OpenSSL 1.0.1e
-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56:”

What should you do?

On the Ansible control server find the ansible.cfg file (find / -name ansible.cfg).  If you not using Mac OS, this stanza should not be in your ansible.cfg file:

How Do You Create a New User on a Windows 2016 Server with PowerShell?

Problem scenario
You want to use PowerShell to create a local user on the server.  What command do you run to do this?

1.  Open PowerShell as Administrator.
2.  Run this (but replace “jane” with the username you want):   New-localuser -Name jane
# respond to the pop-up GUI with a password that is reasonably strong.