Foxit Reader: Invert All Colors of Text

Foxit Reader is a fantastic alternative to Adobe Reader.  It is straightforward, not bloated, and offers functionality that I find useful.  Having used it as a replacement for several years from time to time there is something worth customizing.  The point of this article is one of those customizations, invert the text and background from black text and white background…

Read More »

audit2allow error and explanation.

While troubleshooting some SELinux enforcement related issues using audit2allow, an ERROR message presented itself. After some research, a logical explanation was presented. The following error is an implication that there were no avc denials in the /var/log/uadit/audit.log and that the generated module was empty. That response was satisfactory and also correct for this situation. However, when running an all inclusive…

Read More »

Add a new hard disk without rebooting in Linux

Having added a virtual hard drive to a virtual machine, the fdisk -cul command doesn’t reveal any new drives.  There are a few ways to get Linux to recognize this new drive without having to reboot the computer. A tried and true method that I have used on many occasions is this approach.  The problem with this approach is that…

Read More »

Lenovo T460s won’t boot from USB

A USB thumb drive which boots successfully on any number of other computers doesn’t want to cooperate with the Lenovo Thinkpad T460s.  The T460s laptop simply refuses to boot to the USB drive. The resolution is remarkably simple. Boot the laptop to the BIOS and ensure the following two settings: On the next reboot, the USB drive successfully booted. Source

Read More »

One way to compile xtables-addons without error

There seems to be some consistency on how to compile xtables-addons.  Notice I didn’t suggest an agreement in the more popular approaches.  It seems that much of the approach is more of a copy and paste from one site to the next with some slight variation.  What generally isn’t immediately obvious is the version of CentOS used or the version…

Read More »

One way to check if USB or DVD is bootable

You may have put a lot of time creating that perfect ISO or even downloading one for use as a bootable USB or DVD.  As with many cool projects, you let this one go and moved on to something else.  Then the need to revisit that perfect ISO has returned and all those web pages you had opened are closed…

Read More »

How to create a directory with permissions in Linux

The other day I was reading through some newsgroups on how to better automate a script.  Part of the script contained an interesting command that looked promising; however, could not get it work. This is the command. While it looks interesting, a quick execution of it created three directories, icinga:icinga, 0700, and mydirectory. This was not the desired effect. Looking…

Read More »

Disable Sleep mode using powercfg

After setting a Windows 7 computer sometime ago, I started to receive complaints that it kept going to sleep.  There is a GUI way of doing things, and fortunately, Microsoft has provided us with a command. Source(s) https://community.futuremark.com/forum/showthread.php?106691-windows-7-how-do-i-disable-SLEEP-mode-via-command-line

Read More »

Elasticsearch bootstrap checks failed [RESOLVED]

After installing Elasticsearch the application failed to start with a bootstrap error. ERROR: bootstrap checks failed max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] max number of threads [1024] for user [username] is too low, increase to at least [2048] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least…

Read More »

“cannot set user id: Resource temporarily unavailable” [Resolved]

There are several servers that seemed to be setup identically with a local user account called user1 which may be found using getent passwd user1. However, for one reason or another, the account had become inaccessible and returned an error. Although a reboot of the CentOS 6 server resolved the issue, I wanted to know more. It is Linux after…

Read More »

CentOS server not found in Windows Network Neighborhood

There is a CentOS 7 file server that is accessible and works well; however, the Microsoft Windows Network Neighborhood does not display it. After some digging around, there is a simple fix for that. Edit the /etc/samba/smb.conf file and under the [global] section add/modify the following lines to look like this. Then restart the service. This integer value controls what…

Read More »

Bash History without line numbers

The history command is a command that I use daily. It can be used to list Bash’s log of the commands that you have typed. The results of that command include line numbers. Every now and again, it would be nice to execute history to retrieve a list without line numbers. This would greatly simplify the creation of script. it…

Read More »

Icinga 2 won’t start after an upgrade

A CentOS 7 server running Icinga 2 was recently updated using yum update killed the service. The service simply did not restart. The reason turned out to be quite simple. The resolution is just as simple. According to the Icinga docs, upgrading Icinga 2 is usually quite straightforward. Ordinarily the only manual steps involved are scheme updates for the IDO…

Read More »

Change Forgotten MariaDB Root Password

This article details how to reset a forgotten MariaDB root password. I am not shedding any new light to this, this is here for a quick reference for me.  The source of this excellent article is at the bottom of the page. Stop the service and start MariaDB in safe mode. There may be a slight hang, just type mysql…

Read More »

A Kernel Panic and Resolution

While performing yum updates on CentOS 7 minimal install virtual servers, I came across a problem server.  The server needed a reboot after performing a hardware change.  It did not come back up. It had a Kernel Panic error.  I did so many things to that server, I didn’t know what the cause for the panic was, but fortunately I…

Read More »

A Windows 10 Upgrade Experience

After the much advertised Microsoft deadline of July 29, 2016 for the FREE Windows 10 upgrade had passed, it turns out that there is an extension for Windows 10 free upgrade for customers who use assistive technologies. This upgrade path is still valid as of September 22, 2016, so I thought I would upgrade a Dell i3 laptop from Windows…

Read More »

Dell Latitude E6420 Supports 16GB RAM

Although it is well documented that the Dell Latitude E6420 supports up to 8GB of RAM.  Since memory prices have dropped over time, it was well worth the chance to upgrade the 8GB of RAM to 16GB of RAM.  This may not work for everyone, but, it certainly worked on one Dell Latitude E6420 laptop. Using crucial.com the memory scanner…

Read More »