Install Elastic Stack 5.6 on CentOS 7

By combining the massively popular Elasticsearch, Logstash, and Kibana (what was the ELK Stack is now the Elastic Stack), Elastic has created an end-to-end stack that delivers actionable insights in real time from almost any type of structured and unstructured data source. There are many resources that offer installation procedures from simple to complex configurations. This is my take on…

Read More »

CheapSSL is NOT so cheap anymore!

I don’t remember the specific dates or versions of the applications, but what I can state is that somewhere in recent years, Internet browsers and search engines, specifically Google, Google Chrome, and Firefox started to enforce the use of SSL certificates on websites. Websites will have higher page rankings with an SSL against those who do not. Chrome and Firefox…

Read More »

Winamp is back!

Winamp is a media player that has been around since 1997. I know that in this world of modernization and simplified user interfaces some may not be too excited about the news of Winamp as a triumphant return, but it was one of the earliest applications that I had grown to love.  Winamp had and has the user interface that…

Read More »

Migrate User Accounts from one CentOS server to another CentOS server

There are many articles that suggest that simply copying certain files from one CentOS to another CentOS server will be sufficient enough to migrate the user accounts along with their permissions and passwords.  Other arguments suggest that certain files such as the passwd and shadow files should never be manually edited; but the caveat is that there is no “utility”…

Read More »

VMWare Workstation 11 and Windows 10 Blackscreen [Resolved]

There is a case where a user has Windows 10 running on VMware Workstation 11.  While this is recognized as an unsupported setup by VMware, Microsoft Windows 10 has been fully operational and running until the latest mandatory update.  The latest update from a really early version of Windows 10 (1511), presented the black-screen and made Windows inaccessible.  A roll-back…

Read More »

Automate the kinit process with a secure password

If in the event you want to automate the kinit process and automate this process at logon, the steps outlined below will work.  This has been tested on a CentOS 7 installation. ktutil ktutil: addent -password -p username@DOMAIN.COM -k 1 -e rc4-hmac Password for username@DOMAIN.COM: [enter your password] ktutil: addent -password -p username@DOMAIN.COM -k 1 -e aes256-cts Password for username@DOMAIN.COM:…

Read More »

Check Microsoft Windows Uptime

If you ever wanted to know how long Windows has been running without a system reboot, there are many ways to determine that.  However, hare are a couple of commands that I found useful. One will require a note to remember as it is a little long winded, the other, a little easier to remember. wmic OS GET CSName, LastBootUpTime…

Read More »

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

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. Another variation. A more lengthy…

Read More »