Category: Webservers

Determine Apache Built In Modules

How can one determine what modules have been compiled into an Apache install? From the command line type:

You’ll get results similar to this:

Read More »

Determine Apache Version

How can one determine the version of Apache webserver installed on a system? From the command line type:

You’ll get results similar to this:

So in this case the version is 2.0.54. You can get similar information by requesting a non-existent page from the server with your web browser. The server version will be displayed at the end of the error message.

Read More »

OpenNMS Install

OpenNMS is a great network monitoring tool. Here’s the OpenNMS site: http://www.opennms.org In this case I’m going to do an install on to a RedHat Fedora Core 1 server. Here’s the installation guide: https://sourceforge.net/docman/display_doc.php?docid=23937&group_id=4141 The first step is to install the various prerequisites: – Java 2 SDK 1.4.2 or later from http://java.sun.com We did a stock install of the 1.4.2_07 tar/gz package to /usr/local/. Don’t forget to export the JAVA_HOME environment variable:

– Tomcat 4 from http://jakarta.apache.org/tomcat/index.html We did a standard install of the 4.1.31 tar/gz package following the instructions here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt The install was placed at /usr/local/jakarta-tomcat-4.0. We added the following lines to /etc/rc.local to start Tomcat on bootup and open the appropriate firewall ports:

At this point Tomcat was accessible at http://{myipaddress}:8080 – RRDTool from http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ We used the 1.0.49 source tar/gz package and built it using the instructions in the enclosed README file. The package

Read More »

View Contents Of SSL Certificate

When you renew an SSL certificate, you have to create a new Certificate Signing Request (CSR) with the same information as the original certificate. To get this information there are several options: 1. If the certificate authority (CA) is Verisign then you can search for the certificate on there support website and view the contents. You’ll need to know the exact domain name that was used to generate the certificate. 2. If you have the original CSR then you can use the following command to view the contents:

3. If you have the original certificate the you can use this command to view it’s contents:

Other usefull commands include: a. Show contents of private key:

b. Generate a key and csr:

Read More »

Redhat Network Config Resources

Here are some handy references about network config on redhat: /usr/share/doc/initscripts-<version>/sysconfig.txt — A guide to available options for network configuration files, including IPv6 options not covered in this chapter. /usr/share/doc/iproute-<version>/ip-cref.ps — This file contains a wealth of information about the ip command, which can be used to manipulate routing tables, among other things. Use the ggv or kghostview application to view this file. http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/ch-networkscripts.html

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.