A List of Apache Web Server Books

The Accidental Administrator: Linux Server Step-by-Step Configuration Guide by Don R Crawley
Administering Apache by Mark Allan Arnold, Clint Miller, James Sheetz and Jeff D. Almeida
Apache 2 Pocket Reference: For Apache Programmers & Administrators (Pocket Reference (O’Reilly)) by Andrew Ford
Apache Administrator’s Handbook by Rich Bowen, Daniel Lopez Ridruejo and Allan Liska
Apache Cookbook: Solutions and Examples for Apache Administration by Rich Bowen and Ken Coar
Apache Essentials: Install,

How Do You Integrate PHP with Postgresql?

Problem scenario
You want your PHP files (either a frontend web page or a purely backend script) to integrate with Postgres.  You want .php files to log into a Postgres database to run SQL commands.  How do you do this?

Solution
Install php5-pgsql or php7.0-pgsql.  It depends on your version of PHP.  Use this command to find out what version of PHP you have:  php –version

Install this module: 

How Do You Install Vagrant on an Ubuntu Linux Server?

Problem scenario
You have Ubuntu 14.04 or 16.x, and you want to install Vagrant 1.x. (If you have Ubuntu 16.0x or higher and want to install Vagrant 2.x, go to the very bottom.)  How do you do it?

Solution
1. Run this command: sudo find / -name sources.list #find the file that governs Debian packages

3.  Ignore /usr/share/doc/apt/examples/sources.list.  Make a copy of the other sources.list as a back up (in case you need to rollback).

A List of Hadoop Books

Advanced Analytics with Spark: Patterns for Learning from Data at Scale by Sandy Ryza, Uri Laserson, Sean Owen and Josh Wills
Agile Data Science: Building Data Analytics Applications with Hadoop by Russell Jurney
Apache Drill: The SQL query engine for Hadoop and NoSQL by Ted Dunning, Ellen Friedman, Tomer Shiran and Jacques Nadeau
Apache Flume: Distributed Log Collection for Hadoop -Second Edition by Steve Hoffman
Apache Hadoop YARN: Moving beyond MapReduce and Batch Processing with Apache Hadoop 2 (Addison-Wesley Data &

What Is the Difference between the Internal IP Address of a Server and the External IP Address?

Problem scenario
You want to find the external and internal IP addresses of your servers.  You are not sure which is which.  

Solution
The internal IP address is found by issuing one of these commands on Linux:

ip addr show
ifconfig

For Windows, open a command prompt and run this command:

ipconfig

For Linux servers the external IP address is found by running this command (assuming your server has access to the internet):

curl http://icanhazip.com

For Windows open a web browser and go to http://ipchicken.com

If you are using AWS and your server does not have access to the internet,

How Do You Install and Configure the NRPE Agent (to Have Nagios Monitor) on a RHEL Server in AWS?

Problem scenario
You have Nagios core installed on a server in AWS.  You want a new AWS RedHat Enterprise Linux server to have the NRPE agent.  You want thorough directions for this process to potentially automate it.  How do you install and configure the NRPE agent on a RHEL server and configure a Nagios core server to monitor it?

Solution
Prerequisites

  1. You need to know the internal IP address of 1) the Nagios core server;

How Do You Install Nagios on RedHat Linux Step-By-Step?

Problem scenario
You have a small AWS server (e.g., t2.micro with 1 GB of RAM) running RedHat Enterprise Linux.  How do you install Nagios on it?  You want thorough directions to install and configure the Nagios monitoring server on RHEL.

Solution
As root or a sudoer user, run a script with the following content:

# Written by continualintegration.com
​# This script installs Nagios.

How Do You Install and Configure the NRPE Agent on Ubuntu?

Problem scenario
You want the Nagios Core server to monitor another AWS server.  How do you install and configure the NRPE agent on Ubuntu?

Solution
Follow these step-by-step directions if you are using AWS.  If the servers are not in AWS, the directions below may still work. These directions assume that the Nagios core server is running on Ubuntu in AWS. (If you want to know how to set up Nagios core on Ubuntu,