Category: Linux

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 »

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 »

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 »

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. After reinstalling systemd, the df command was reissued and was quite responsive. Source https://serverfault.com/questions/911811/centos-7-df-started-to-hangRead More »