Use htop to determine which processor a process is loaded

Running Linux on virtual machines makes life so much easier when it comes to adding virtual hardware to a vm.  In one case, I added 4 CPUs to a virtual machine, and wondered if I needed to restart the applications to utilize the newly added CPUs. htop is an interactive system-monitor process-viewer and process-manager. It is designed as an alternative…

Read More »
VMWare Logo

VMware Expand Hard Drive Size and Extend in CentOS 7 Linux

One approach to adding space to an existing Linux hard drive that is using Linux LVM is to add space to the drive. This can easily be accomplished in VMware. This has been tested using VMware vSphere Client for Windows with CentOS 7.5 (minimal install). To demonstrate a before and after, here are a few commands that can be used…

Read More »

Apache httpd log rotation does not compress the logs

A CentOS 7 installation with a simple yum install of httpd also creates a logrotation script.  The script does log rotate files, however, there is no compression.  A quick look at the script indicates that some compression settings are put into place, but as experience indicates, not enough to do the job. By default, this is the logroation script as…

Read More »

Install certbot-auto on CentOS 6 with Python 3.6.x

This is a simplified process for installing and running certbot-auto on CentOS 6 with Python 3.6.x. I have tried several different approaches to this and this method took the least amount of effort. yum install -y centos-release-SCL yum install -y epel-release yum clean all yum install -y rh-python36 curl -o /usr/local/bin/certbot-auto http://dl.eff.org/certbot-auto chmod +x /usr/local/bin/certbot-auto scl enable rh-python36 bash certbot-auto…

Read More »

Memory Utilization High in Linux VM

Utilities such as htop, top, and the command free -mh all report a high usage of memory.  The thing is nothing was running.  It turns out to be explainable. Using the following commands, it was determined that VMware virtual server has enabled the vmw_balloon. [root@server1~]# lsmod | grep balloon vmw_balloon 18190 0 [root@server1~]# vmware-toolbox-cmd stat balloon 17960 MB VMware Tools…

Read More »

Google Chrome Font Rendering Looks Terrible and How To Fix It

I was beginning to think it was my computer. I had Cleartype enabled and went through the process again to ensure that the settings were correct or not corrupt. I then thought it was the monitors or one of them. Then I realized that the fonts look fine in everything but Google Chrome. Here is a snippet from one page,…

Read More »

Install LXC on Ubuntu

Linux Containers (“LXC”) is an operating-system-level virtualization method for running multiple isolated Linux systems on a control host using a single Linux kernel. LXC is the well known set of tools, templates, library and language bindings. It’s pretty low level, very flexible and covers just about every containment feature supported by the upstream kernel. LXC is production ready with LXC…

Read More »

VMware Workstation loses bridged network

VMware Workstation loses bridged network and it does not want to come back following the usual methodologies.  I restarted the VMware Workstation services, used the Network Manager, and reboot the computer all to no avail.  In the end, it was something that wasn’t a problem before. Problem On a Microsoft Windows 10 workstation running VMware Workstation 12 for many months…

Read More »

VMware Workstation loses bridged network

VMware Workstation loses bridged network and it does not want to come back following the usual methodologies.  I restarted the VMware Workstation services, used the Network Manager, and reboot the computer all to no avail.  In the end, it was something that wasn’t a problem before. On a Windows 10 workstation running VMware Workstation 12 for many months without issue,…

Read More »

Add comments to ZIP files with zipnote

Never having given it much thought before, I wanted to know of a way to add a comment to my zip files in Linux.  I used to do this sort of thing many years back with pkzip in the DOS days.  There turns out to be nice little utility, called zipnote. To check for comments in a zipfile.  The command…

Read More »

Apply an SSL to MySQL

There is a MySQL 5.6.x install that works wonderfully.  However, a cert was purchased and applied to everything else, so why not apply to the MySQL install too. I ran into a pitfall or two while attempting this, so I am going to write this up in the effort to avoid those pitfalls. The Key file Determine the version of…

Read More »

Firefox has blocked parts of this page that are not secure

Firefox has blocked parts of this page that are not secure started to appear recently.  I tried cleaning up any insecure links, such as http, and yet this message continues to plague.  Tried several WordPress plugins to no avail.  It turns out to be something less sinister. The Firefox version was version 57.  After an upgrade to version 59.  All…

Read More »

Upgrade PCRE from 7.8 to 8.x on CentOS 6

A WordPress plugin required PCRE 8.x for it to work. The following instructions were taken from the source cited below and worked flawlessly. The step below determined the version of PCRE and whether there was PHP support for it. [root@server]# pcretest -C PCRE version 7.8 2008-09-05 Compiled with   UTF-8 support   Unicode properties support   Newline sequence is LF…

Read More »

Resize an Encrypted LUKs filesystem with LVM on Linux

There is a CentOS 6 server that needed additional diskspace. I had no idea, that this server had an encrypted filesystem for one of it’s mount points. I thought the worst for procedures, but I found this one article that worked and worked well. The situation was a VM on an ESXi server contained a LVM mount called for example,…

Read More »

VMware vSphere Client incorrectly displays Guest OS version for CentOS 7.4

The vSphere Client (desktop) Version 5.5.0 correctly displayed the CentOS 7.x point releases until version CentOS 7.4. Where it once displayed, Guest OS: CentOS 4/5/6/7 (64-bit) under the Summary tab of the virtual machine, the display is Guest OS: Linux 3.10.0-693.17.1.x86-x64 CentOS Linux release 7.4.1708 (Core). As I once thought that this was problematic, I found a discussion in Gitlab…

Read More »

Synology Diskstation DS1812+ Suddenly Dies and Resolution

I had a negative experience that turned out to have a positive ending. Sharing this experience may hopefully help someone else. A Synology Diskstation DS1812+ NAS has served well for several years, until one day it was found turned off. I pressed the power button in an attempt to turn it back on as there was no prior indication of…

Read More »

Certbot Requires Python 2.7

This article describes how to use certbot with Python 2.7.  The assumption is that you have already installed certbot. At the bottom of this article, is a related post on how to install Python 2.7.  After installing Python, install/run certbot. A shortcut, run a command within a temporary environment, like this functional example below. scl enable python27 ‘/opt/certbot-auto help’ To…

Read More »