Install CentOS 7 on a GPT labeled disk

For one reason or another it was difficult to find the "complete" answer to installing CentOS 7 on a GPT labeled disk.  For the most part the answer was too complicated, incomplete, or inaccurate. After some trial and error the answer turns out to be a simple one. Process Basically, insert your CD/DVD for the install When presented with this...Read More »

Extend the swap logical volume size

Extend the swap size in a logical volume may be needed.  Assume that there is a swap partition that requires an additional 1G of space.  The following process should work on a CentOS 7 Linux install. Assuming that the disk space is available, use lvextend will add 1G, disable and flush out the existing swap space.  It may take some...Read More »

Root Login Permission Denied on CentOS7

A system that was a fresh installation of CentOS 7 Linux was just completed. After all the updates, the user began to install an application. After some time, the user logged out of the system and could not log back into it. As a root user, the administrator was unable to access the virtual machine even via console. This eliminated…

Read More »

Add a GUI to Microsoft Windows 2012 R2 Core / Standard

There was a server with Microsoft Windows 2012 R2 Standard installed with GUI, for some unknown reason the GUI was uninstalled along with PowerShell.  To reinstall or install these "features", the install.wim file is needed.  Using a mounted Windows 2012 R2 Standard ISO is one such way. These are the steps to "recover" the GUI and PowerShell.  Since PowerShell is...Read More »

SELinux: Compile a policy package

You have generated a SELinux human readable .te file and want to compile it into a .pp policy file.     Create a policy The first command will read through the audit.log file to generate both a .te and .pp file. The .te is human readable. The .pp is compiled. The second command installs that policy. ausearch -c 'avc' --raw...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.  These are the steps. Enjoy Tomcat Check the Cert You can check the cert by using your browser. Conclusion This is a basic Tomcat install, future considerations should include log rotation and SeLinux.Read More »

keytool -list displays “JKS” for a PKCS12 keystore [work-a-round]

A server with Tomcat powered by OpenJDK 8 is using a keystore that is PKCS12 and not JKS. However, the keytool shows that the keystore type is JKS. I have accidentally discovered a work-a-round to this. The JAVA version openjdk version “1.8.0_191” OpenJDK Runtime Environment (build 1.8.0_191-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode) The Test Keystore type: jks…

Read More »

Are you a robot? Epic Fail!

That age old and yet annoying reCAPTCHA question, “Are you a robot?” is one that must be answered before you, a human, can continue along your merry way.  As one would expect, the reCAPTCHA process evolves.  The other day, I had to navigate through intentionally blurred and obscured images; but today’s image is a new one for me, Select all…

Read More »