Atlassian JIRA support for unsupported OpenJDK

Atlassian JIRA does not support OpenJDK. Oracle has changed it licensing for Oracle JDK.  With that in mind, the goal is to use OpenJDK as a replacement for the Oracle JDK. This is possible and easy to do. Search for your jira install %JIRA_HOME/jira/bin/check-java.sh.  On the line that contains “java version” change it to “openjdk version“, then restart your install…

Read More »

pihole becomes unresponsive

If pihole becomes unresponsive, one reason may be that the diskspace is full. The diskspace may become full from an excessively large pihole database and or /var/log entries.  In a recent case, both were the cause.  Stopping the services and truncating the logs in /var/log and deleting the database worked in this case.  The following logs were large, but I…

Read More »

pihole reset all stats

There may be a time where you want to have a fresh dashboard without the stats and logs.  A case maybe a misconfigured NIC that may dump millions of DNS queries into the logs.  Yup I have seen this happen. Whenever you need to reset the pihole stats and logs that display on the /admin dashboard, the following options will…

Read More »

Create systemd services for Atlassian Apps

While working with the Atlassian products over the years, a pattern emerges. Even though there are distinct differences in their setup and configurations, the installation process can be generalized. One of the post-installation considerations to make is in the manual creation of a service.  The benefit of a service is that it will automate the running of the application, rather…

Read More »

CentOS 7 df command hangs

The df command is useful in reporting disk space usage.  However, recently encountered a system that would hang after issuing the df command.  A CTL-C or CTL-Z would not escape this annoyance.  The issue was quickly resolved by reinstalling stystemd. yum -y reinstall systemd After reinstalling systemd, the df command was reissued and was quite responsive. Source https://serverfault.com/questions/911811/centos-7-df-started-to-hang

Read More »

The cd command in CentOS 7

I have been working in a CLI environment for many years, so the cd “change directory” command is nothing new to me; however, an accidental typo presented an unexpected result.  Instead of typing “cd ..” which would transverse back one directory, a user typed only “cd” with the intention of pasting from the clipboard the rest of the path.  The…

Read More »

VIM: Preserve File Date with Touch

I had a single file I needed to modify but didn’t want to modify the date of the file.  It was a minor change to the file, so I wanted to maintain the file date for posterity.  In any case, I learned the vim does not provide this functionality, but touch would and quite easily.  With that said, I am…

Read More »

Determine which processes are using swap in Linux

Some servers may have several applications, each running in their own allocated piece of RAM and SWAP.  It seems easy enough to use `top` to determine memory usage, but it wasn’t so obvious (to me) as to how to determine swap usage.  A nifty little command called smem to the rescue. So what is smem?  It is a “Report memory…

Read More »

Verizon FIOS Actiontec MI424WR Rev I router supports the 50/50 MB bandwidth

A recent experience with Verizon has prompted me to write this article. This is only part of a larger request for service changes with Verizon.  This seemingly simple request, to upgrade from the ancient, however, extremely effective 25/15 MB plan to a more current 50/50 MB plan.  To do so, I was under the impression from their advertisements, their sales,…

Read More »

ssh logins using keys

I have wanted to experiment and expand upon different ways of ssh’ing into one linux box from another using the ssh-keygen.  This article demonstrates several different methods that I have tested and used throughout the years. Actually what has happened, is that over time, scripting evolved and always seem to make tweaks along the way. yum install -y sshpass echo…

Read More »

Spacewalk Certificate expiration warning [Resolved] 2018

I’m not going to go into detail as to what spacewalk is and what this message is all about, you are here for a reason.  You may have received an auto-generated email from Spacewalk to “inform you that your Spacewalk Certificate has expired on your [fqdn] server. After 4 day(s) the systems management services provided by your Spacewalk Server will…

Read More »

How to change user name in CentOS

A username needed to be changed on a local install of a CentOS Linux box.  Here are the steps taken to resolve the issue. usermod -l new old mv /home/old/ /home/new/ groupmod -n new old chown new:new /home/new/ chown new:new /home/new/ -R passwd new

Read More »

Capture Lock Screen in Windows

If you ever wanted to capture a screenshot of the logon screen on a physical machine, you may have used whatever means necessary to do so. Which for me, was through the use of a digital camera. The digital camera may have captured the spirit of the screenshot, but always seems to lack in quality. Wouldn’t it be great to…

Read More »

How to add desktop icons on CentOS 7

For the most part, I prefer to work using the terminal on a minimal install of Linux; however, there are those occasional times where the GUI is necessary.  Recently faced with having to add a few desktop shortcuts to the Desktop posed a bit of a problem for me. Basically, wanted to achieve two things, a Desktop icon to launch…

Read More »

Icinga2 Monitoring for Windows Disks Not Working [Resolved]

Among the many possible services to monitor a Windows based operating system using Icinga2, the service that utilizes the check_command of disk-windows has not quite worked as expected.  It may have been a combination of things that was done incorrectly over the years, or maybe plugin versioning. In any case, a snippet below demonstrates a thought to be working service…

Read More »

VIM: Join Lines

I had a document where I wanted to join every other line.  I tried several approaches on a Windows box using Cygwin but only one worked with a couple variations.  Using the vim editor.  This is a new trick to me, and wanted to jot it down before I forget about. The file looked something like this. 10.10.10.10 a.com 10.10.10.11…

Read More »

Linux: How to logout a user

A user was logged in via XRDP and the screen locked.  Each attempt to logon also resulted in a locked screen.  Rebooting is not an option.  There needed to be a way to identify the user and forcibly log them off, and there is. Logged on as root and typing the who command lists users and logons.  A great working…

Read More »