How Do You Install Jira on a Linux Server when It Is Hanging during the “Initializing the plugin system” Stage?

Problem scenario
You are trying to install Jira on Linux.  You log into the web UI to finish configuration.  The process stalls at this stage:

”    Finishing your setup

    Now sit back while we set up your JIRA instance. It will take a minute or two to complete.

    Configuring your database

    Initializing the plugin system – Don’t worry, I’m still working…”

On the back-end you may notice the server’s load average gets above 5. 

 » Read more..

How Do You Install Apache Avro?

Problem scenario
You have a Linux server (a Debian/Ubuntu, CentOS/RedHat/Fedora or SUSE distribution).  You want to install Apache Avro.  What do you do?

These directions work for any type of Linux.

#1  Do one of the following (either option A or option B).

Option A
Find the latest download from here and download it.

Option B
cd /tmp
curl >

 » Read more..

What Can Be Done to Enhance the Reliability and Performance of a Jira Server?

Problem scenario
You find that your Jira is very slow and sometimes stalls or hangs when it is being used.  The Linux back-end of the Jira server shows considerable CPU and memory constraints.  When Jira is up on the back end you use the Linux “top” command, you find that the CPU and RAM are being heavily utilized.  You want to optimize the system for improved performance.  How can Jira perform well without stalling or putting as high of server load after the installation?

 » Read more..

How Do You Troubleshoot Connecting to an RDS Instance?

Problem scenario
You created a DB instance in RDS.  You cannot connect to it.  What should you do?

1.  Make sure that it is “Available.”  It could have been turned off.
2.  Click on the Instance and confirm the relevant Security Group allows you to connect to it.
3.  Click on the Instance and search for “Publicly accessible”.  Make sure this is set to “Yes.”  If it is set to “No” you may have to take a snapshot of the instance and launch that snapshot with the “Publicly accessible” option.

 » Read more..

How Does Python’s Range Function Work When Three Parameters Are Passed?

Problem scenario
You see this line of Python code:  for x in range ( len(coolList), 0, -1 ): print x
You are curious how that works and what that syntax means.

The first of the three parameters is the integer that corresponds to the starting number of the iteration.  The second variable is the range position that will terminate the iteration of the range function. 

 » Read more..

How Do You Upgrade Python 2.6 to Python 2.7 on CentOS 6?

Problem scenario
On your Linux CentOS 6.x server you run “python –version” and find that Python 2.6 is installed.  You want Python 2.7 to be installed instead.  You do not want to use binaries (e.g., .rpm packages) or yum repositories. What do you do?

Run these commands:
curl -k > Python-2.7.14.tar.xz
sudo mv Python-2.7.14.tar.xz /usr/bin/
cd /usr/bin/
sudo tar xf Python-2.7.14.tar.xz
cd Python-2.7.14
sudo ./configure –prefix=/usr/local
sudo make &&

 » Read more..

How Do You Write Your Own Custom, Importable Module in Python?

Problem scenario
You want to build your own Python module.  You want this module to be able to be imported on your Linux server with Python (e.g., with “import contint”).  How do you write such a module?

Possible Solution #1
Write a .py file for the module, and place it where Python will look.  To find the location run these three commands:


import sys


# This command above will display directory paths for your .py file (the module that will be able to be imported).

 » Read more..

How Do You Install Jenkins on a CentOS/RedHat/Fedora server?

Problem scenario
You want to install Jenkins on a RedHat derivative Linux server (e.g., CentOS, RHEL, or Fedora).  What do you do?

1.  Run these commands:

curl > /tmp/jenkins.repo
sudo mv -i /tmp/jenkins.repo /etc/yum.repos.d/jenkins.repo
sudo rpm –import

2.  Run this command:
sudo yum -y install java jenkins

# When you see the “Package configuration” menu that says “Configuring grub-pc” press the tab key (to get to the “Ok” option for “keep the local version currently installed”). 

 » Read more..

How Do You Install and Configure SaltStack Master and SaltStack Minion?

Problem scenario
You want to install SaltStack Master and SaltStack Minion.  You want them to be configured to work together.  You have different distributions of Linux.  What should you do?

Solution in Three Parts
This solution works for any distribution of Linux (e.g., Debian distributions, including Ubuntu, RedHat derivatives, including CentOS, RHEL, and Fedora, or SUSE).  This solution is written as if your Linux servers were in AWS. 

 » Read more..

How Do You Install Apache ActiveMQ on Any Distribution of Linux?

Problem scenario
You want a Bash script that will install ActiveMQ on CentOS/RedHat/Fedora, Debian/Ubuntu, and SUSE Linux distributions.  How do you write a script that will work on different distributions of Linux to install Apache ActiveMQ?

With a “sudo bash” command, run a script with the following content (e.g., call the script below “” and run “sudo bash“):

# Written by

activemqversion=5.15.8  # Change this version as necessary

distro=$(cat /etc/*-release | grep NAME)

debflag=$(echo $distro | grep -i “ubuntu”)
if [ -z “$debflag” ]

 » Read more..