Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions by Gregor Hohpe and Bobby Woolf
Instant RabbitMQ Messaging Application Development How-to by Andrew Keig
Learning RabbitMQ by Martin Toshev
Mastering RabbitMQ by Emrah Ayanoglu, Yusuf Aytas and Dotan Nahum
Production-Ready Microservices: Building Standardized Systems Across an Engineering Organization by Susan J. Fowler
RabbitMQ Cookbook by Sigismondo Boschi and Gabriele Santomaggio
RabbitMQ Essentials by David Dossot
RabbitMQ in Action: Distributed Messaging for Everyone by Alvaro Videla and Jason J. W. Williams
RabbitMQ: Questions and Answers by George Duckett
Storm Applied: Strategies for real-time event processing by Sean T. Allen, Matthew Jankowski and Peter Pathirana
Streaming Data: Understanding the real-time pipeline by Andrew Psaltis
How Do You Run (Execute) a Java Program That Compiled Successfully?
Problem scenario
You try to run a compiled Java program. You see the .class file as a result of your compilation. But when you run java ContInt.class, you get this error:
"Error: Could not find or load main class ContInt.class"
How do you run the bytecode (to have your Java program execute after compilation)?
Solution
Omit the ".class" when you run the "java" command. In other words, run this command: java ContInt
How Do You Install Ansible on an AWS Instance of RedHat Enterprise Linux?
Problem scenario
One of the following applies:
1. You want to install Ansible on an AWS instance of RHEL.
2. You want to install Ansible on a GCP server running RHEL.
How do you do either of these things?
Solution
These directions should work for other RedHat distributions of Linux (e.g., Fedora or CentOS) that are not AWS servers as long as the server has 2 GB of RAM.
Prerequisite: Create an RHEL 7.x instance with 2 GB of RAM. If you cannot afford this much memory, you could use virtual memory (aka swap space) by following the directions on this link.
Run these commands:
sudo yum -y update
sudo yum -y install gcc python-devel openssl-devel
sudo curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py
sudo pip install ansible
# Test your installation with this command: ansible --version
# If the above does not work, you may have packages configured in a special way. You may want to try this command: sudo yum -y install ansible
How Do You Install Apache Web Server with CentOS/RHEL/Fedora?
Problem scenario
You want to install Apache web server on a CentOS, Red Hat Enterprise Linux or Fedora server. What do you do to install it and have the service start running?
Solution
Run these commands:sudo yum -y update
sudo yum -y install httpd
sudo service httpd start
Where Is httpd.conf on Ubuntu Linux?
Problem scenario
You have Apache web server installed on Ubuntu. You cannot find httpd.conf. What do you do?
Solution
With Apache2 there is no httpd.conf file. This directory /etc/apache2/ has files like apache2.conf which is related.
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, Configure, Maintain (Pioneering Series) by Darren James Harkness
Apache Hadoop YARN: Moving beyond MapReduce and Batch Processing with Apache Hadoop 2 (Addison-Wesley Data & Analytics) by Arun Murthy, Vinod Vavilapalli, Douglas Eadline, Joseph Niemiec and Jeff Markham
Apache HTTP Server 2.2 Official Documentation - Volume I. Server Administration by Apache Software Foundation
Apache HTTP Server 2.4 Reference Manual 2/3 (Volume 2) by Apache Contributors
Apache HTTP Server introduction by Antun Peicevic
Apache HTTP Server: Questions and Answers by George A Duckett
Apache HTTP Server Reference Manual - For Apache Version 2.2.17 by Apache Software Foundation
The Apache Modules Book: Application Development with Apache by Nick Kew
Apache Phrasebook by Daniel Lopez and Jesus Blanco
Apache Server 2.0: A Beginner's Guide by Kate Wrightson
Apache Server 2.0: The Complete Reference by Ryan B. Bloom
Apache: The Definitive Guide (3rd Edition) by Ben Laurie and Peter Laurie
AWS Scripted: How to Automate the Deployment of Secure and Resilient Websites with Amazon Web Services VPC, ELB, EC2, RDS, IAM, SES and SNS by Christian Cerri
Beginning JSP , JSF and Tomcat Web Development: From Novice to Professional by Giulio Zambon and Michael Sekler
Build a Home Webserver Using Fedora 11 by Roy Ellwood
Course Ilt Sair Apache Web Server by Course Technology Ilt
The Definitive Guide to Apache mod_rewrite (Definitive Guides (Hardcover)) by Rich Bowen
Fedora Linux: A Complete Guide to Red Hat's Community Distribution by Chris Tyler
Hardening Apache (Expert's Voice in Open Source Books for Professionals by Pro) by Tony Mobily
Instant Apache ServiceMix How-to by Henryk Konsek
LAMP Stack for Humans: How to turn a laptop into a web server on your local network by Jay Versluis
Linux Apache Web Server Administration, Second Edition (Craig Hunt Linux Library) by Charles Aulds
Linux Web Server Development: A Step-by-Step Guide for Ubuntu, Fedora, and other Linux Distributions by Christos Karayiannis
OpenVMS with Apache, WASD, and OSU: The Nonstop Webserver (HP Technologies) by Alan Winston
Practical Ajax Projects with Java Technology (Expert's Voice) by Frank Zammetti
Preventing Web Attacks with Apache by Ryan C. Barnett
Pro Apache Beehive (Expert's Voice in Java) by Kunal Mittal and Srinivas Kanchanavally
Pro Apache (Expert's Voice) by Peter Wainwright
The Programmer's Guide to Apache Thrift by Randy Abernethy
Pro SpringSource dm Server (Expert's Voice in Open Source) by Gary Mak and Daniel Rubio
Run Your Own Web Server Using Linux & Apache: Install, Administer, and Secure Your Own Web Server by Tony Steidler-Dennison
Sair Linux and GNU Certification Level II, Apache and Web Servers: Apache and Web Servers Level 2 by Sair Development Team
Sams Teach Yourself Apache 2 in 24 Hours by Daniel Lopez Ridruejo and Ian Kallen
Sams Teach Yourself PHP, MySQL and Apache All in One (5th Edition) by Julie C. Meloni
Server Administration III: Web by Dr. Kerry Cox
Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together by Eric Filson and Erick Rosebrock
Unified Log Processing: Integrating and processing event streams by Alexander Dean
Writing Apache Modules with Perl and C: The Apache API and mod_perl by Doug MacEachern and Lincoln Stein
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: libapache2-mod-php. As root or with a "sudo " in front of this command, run:
apt-get -y install libapache2-mod-php
To install the php pgsql package on Ubuntu, you should run a command like one of these as root:
apt-get install php5-pgsql
apt-get install php7.0-pgsql
How Do You Install Apache Web Server on Ubuntu Linux?
Problem scenario
You want to install Apache web server on your Ubuntu Linux server. How do you do it?
Solution
As root, run this command: apt-get install apache2
To verify it is installed correctly run this: apache2 -l
To start the web service, run this: systemctl start apache2
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).
4. Modify one sources.list file (not /usr/share/doc/apt/examples/sources.list) to include these stanzas (from "#Universe Repos" to "...trusty-updates universe") in addition to whatever else was already in the file:
# Universe Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
###### Ubuntu Update Repos Universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
5. After you save the changes to sources.list, run these commands:
sudo apt-get -y update
sudo apt-get -y install vagrant
6. To confirm installation, run this command: vagrant version
End of this solution.
==================================================================================
Problem scenario
How do you install Vagrant 2.x on Ubuntu 16.x or higher?
Solution
Run these commands:
curl https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb > /tmp/vagrant_2.0.3_x86_64.deb
sudo dpkg -i /tmp/vagrant_2.0.3_x86_64.deb
Grammar and the Modern Age
In technical writing there is emphasis on clarity. Often grammar rules are not followed. The past tense of the verb run is "ran." The past tense of the verb come is "came." The past participle of the verb run is "run." The past participle of the verb come is "come." Do not confuse the past tense with the past participle.
So these two sentences are grammatical: The email has not come yet. The script has not run yet. These two sentences are also grammatical: The emails have not come yet. The scripts have not run yet.
Some authors say that ungrammatical published articles can ruin a reputation. We are skeptical of this, but we appreciate it when articles adhere to the rules of English. For good books on English grammar, you may want to read Strunk and White, a book by Adams Media, or The Chicago Style Manual.