Tag: apache

Install Apache Tomcat 9 Complete with Updated Scripts

In this exercise, Tomcat 9 will be installed with OpenJDK 8 using a self-signed certificate using the http2.Http2Protocol protocol.  I’ve updated and simplified the script since my last attempt at a similar Tomcat 9 installation.  I have also added SELinux context, log rotation, and speed! Enjoy Tomcat Screenshot from an earlier version, but the end result is the same.

Read More »

Apache Tomcat 9 – SSL/TLS Configuration HOW-TO

In this exercise, Tomcat 9 will be installed with OpenJDK 8 using a self-signed certificate in a PKS12 keystore on a clean CentOS 7 Linux server using the Http11NioProtocol protocol.  These are the steps. Enjoy Tomcat Check the Cert You can check the cert by using your browser. http2.Http2Protocol Alternately, you can use the http2.Http2Protocol protocol.  However, there is one prerequisite…

Read More »

nginx, Apache 2 and subversion – 502 Bad Gateway error

All subversion checkouts, commits and other basic operations work as expected, but when attempting to copy, move or tag (copy) a (502 Bad Gateway) error presents itself. The error may be similar to the one presented below. Setup There is a machine running nginx on port 80 (and 443 SSL) that serves as a reverse proxy for among other things…

Read More »

Real time Web Log analyzer using GoAccess

Scrolling through log files is unrealistic.  Using ‘awk’, ‘grep’, ‘sed’, and ‘cut’ to parse through them can be quite a chore – and still has it’s place for specific searches.  However, here is an interesting tool called GoAccess.  GoAccess is a real time web log analyzer tool. Running a CentOS 6, minimal installation, to install. To use, for example to…

Read More »

Create an nginx load balancer

I wanted to play with a simple load balancer with powerful implications. A load balancer using nginx as the front end and two apache servers on the backend. server1 – apache – 192.168.1.89 (CentOS 6) yum -y install httpd echo server1 /var/www/html/index.html lokkit -s http -s https chkconfig httpd on && service httpd restart server2 – apache -192.168.1.90 (CentOS 6)…

Read More »

Subversion on CentOS 5.4 installation guide

Subversion is an open source version control system. This article will detail an installation of Subversion on a CentOS 5.x / Red Hat Enterprise Linux (RHEL) 5.x workstation. Subversion used for this article is version 1.6.911. Install rpmforge repository RPMforge.net release file. This package contains apt, yum and smart configuration for the RPMforge RPM Repository, as well as the public…

Read More »