Unable to update ca-certificates

Working on an early install of CentOS 6 and trying to update the system, the update failed. Even an attempt to update the ca-certificates failed. It turns out that the EPEL repository was the cause of this. To work past the offending EPEL repository and upgrade the ca-certificates, the following command works. yum upgrade ca-certificates –disablerepo=epel Upon completion, a simple,…

Read More »
MySQL

How to install a specific version of MySQL (or other app) via yum

To install an alternate version of, in this case, MySQL, rather than to accept the version that is available via the base and update yum repositories for CentOS, there are several ways of going about this.  You could install via tar.gz or download RPMs and yum install them directly; however, adding the official MySQL repository will work too.  It is…

Read More »
SpamAssassin Logo

Use an RESL with SpamAssassin to Greatly Reduce Spam

Emailreg.org provides the Registered Email Send List (RESL) as a free lookup to anyone that would like to use it. It is also provided to those who have registered a domain here at EmailReg.org. The RESL is provided using a system that is similar to a DNS lookup. It is even more similar to a DNSRBL lookup. The RESL, however,…

Read More »

Add SMTP STARTTLS Support in Sendmail

Configure Sendmail email server to use SSL encryption for sending/receiving email. This is an example of using a CA certificate rather than a self-signed certificate.  This article assumes that the CA certificate is already in place and ready to go. Modify the /etc/mail/sendmail.mc file.  Find the section with similar variables that is commented out and copy this under it. define(`confCACERT_PATH’,…

Read More »

Add Java JDK 8 Support to Confluence 5.6.1

Since the release of Atlassian Confluence 5.7, Java JDK 8 is officially supported. However, legacy versions of Confluence, in this particular case, version 5.6.1 is only officially supported through Java JDK 7.  From my reading only supported through Java JDK 7 Build 75. From java 7u767 and Java 8 onward, -Xloggc no longer accepts filenames with a “:” in it. …

Read More »

Create a logon banner in Linux

One file that may be edited is the /etc/motd file. To create a nice custom /etc/motd using ASCII / ANSI fonts, there is a little gem that can be installed on the local Linux box to allow you create some spectacular fonts, it is called figlet. Once you have added the epel repository to your system, it is as simple…

Read More »

How to Build the latest mod_jk RPM

mod_jk is an Apache module used to connect the Tomcat servlet container with web servers such as Apache. It has come increasingly difficult to find a an apache2-mod_jk-1.2.37-4.1.src.rpm or apache2-mod_jk-1.2.37-4.1.rpm as some of the links are now dead.  However, after tracking down a copy of the apache2-mod_jk-1.2.37-4.1.src.rpm, a modification or two to the .spec file along with the official .tar.gz…

Read More »

How to Build a Better haproxy RPM

There are several RPM builds of haproxy that can be found throughout the Internet.  There are GitHub repositories with customized .spec files to build your own RPM.  In fact, there is an haproxy.spec file that may be found in the official .tar.gz file under examples.  However, here is a unique way to build one as close to the original, haproxy-1.5.4-2.el6.rpm,…

Read More »

How to escape double quotes in sed

A recent attempt to replace a string within double quotes “string value” while using sed resulted in much trial and error. A quick Internet search revealed a working answer.  It is here for my reference. I wanted to replace “this value” with “that one” in a file, we’ll call testfile.  According to multiple sources, the sed command allows the use…

Read More »

SSLPoke Revisited

SSLPoke tests against the truststore to determine if it contains the right certificates.  It will let you connect to a SSL service, send a byte of input, and prints the response.  The tool should be simple enough to use, however, over the years there have been modifications made to it that effected it’s ability to simply work.  In some cases,…

Read More »

Install VMware tools on CentOS

There is a great deal of material on this subject.  However, this guide is a simplistic one for my reference.  If anyone should find it useful, that would be great too. Here are the steps to install VMware tools on Linux CentOS 6 and Linux CentOS 7. CentOS 6: Install VMware tools From within the VMware  vSPhere Client: navigate Home…

Read More »

RDP into CentOS 7 with XRDP

From the man page, xrdp is a remote desktop protocol (RDP) server. Unlike Windows, xrdp will not display a Windows desktop but an X window desktop to the user. To install on a CentOS 7 Linux box with a GUI installed, turns out to be quite simple. A prerequisite will be the EPEL repository. yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm Now that EPEL…

Read More »
MySQL

Change Forgotten root password in MySQL 5.7.10

After trying several iterations from multiple websites, a combined effort between them made it possible to change the root password to a MySQL install for MysQL 5.7.10 which has changed over the more recent versions.  Anyway, if you were unsuccessful using other approaches, maybe you found this because you didn’t give up.  Hopefully, it will work for you as it…

Read More »

ScreenFetch

ScreenFetch is a Bash Screenshot Information Tool, that generates terminal information and ASCII distribution logos.  After seeing it somewhere, I thought I would have to try it out.  I’m glad I did. There are several ways that this can be installed, here is one I elected to use. yum install -y git cd /opt git clone https://github.com/KittyKatt/screenFetch.git cd screenFetch/ chmod…

Read More »

Monitor multiple logs simultaneously

One way to monitor multiple logs simultaneous is to use tail.  Although this works, and works well, if the logs are modified frequently, they seem to scroll endlessly and messily.  What is meant by messily. As a log file is modified, it takes precedence over the previous log as it updates the terminal. One way around this is with multitail….

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. yum install -y epel-release yum…

Read More »