Problem scenario
You have installed StackStorm, but you do not know what version you have. How do you find out?
Solution
Run this command: st2 –version
…
Continue reading “How Do You Know What Version of StackStorm You Are Using?”
A Technical I.T./DevOps Blog
Problem scenario
You have installed StackStorm, but you do not know what version you have. How do you find out?
Solution
Run this command: st2 –version
…
Continue reading “How Do You Know What Version of StackStorm You Are Using?”
Problem scenario
You want to install wxWidgets on Linux. What should you do?
Solution
Run the following:
sudo zypper -n install bzip2 gcc-c++
sudo yum -y install bzip2
sudo apt -y install bzip2
widgetversion=3.0.4
cd /tmp/
curl -Ls https://github.com/wxWidgets/wxWidgets/releases/download/v$widgetversion/wxWidgets-$widgetversion.tar.bz2 /tmp/wxWidgets-$widgetversion.tar.bz2
cp /tmp/wxWidgets-$widgetversion.tar.bz2 /bin/
cd /bin/
bzip2 -d wxWidgets-$widgetversion.tar.bz2
tar -xf wxWidgets-$widgetversion.tar
cd wxWidgets-$widgetversion …
Problem scenario
Normally you use Putty to a Debian distribution of a Linux server. You are having trouble using some of the Linux server’s utilities. You try to run the “jsql” command, but you see this:
Apr 29, 2019 1:46:15 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
13:46:17,296 ERROR root:67 – HeadlessException, command line execution in jSQL not supported yet:
No X11 DISPLAY variable was set, …
Continue reading “How Do You Access a Linux Server’s GUI Desktop?”
Problem scenario
For a boto3 program, you want to find the AWS namespaces. What do you do to list the namespaces that are part of your AWS accounts?
Solution
Prerequisites
You must have the AWS CLI installed. If you need assistance with this, see this posting.
This also assumes that the Linux user has the policy for servicediscovery:ListNamespaces.
…
Problem scenario
You have a Red Hat derivative of Linux. You want to install Flask. What should you do?
Solution
Prerequisites
Install pip. If you need assistance, see this posting.
Procedures
Run this command: sudo pip3 install flask
…
Continue reading “How Do You Install Flask on a CentOS/RHEL/Fedora Server?”
Problem scenario
The security team for your enterprise will not permit Python 2 to be installed. (You do not want to install a new minimal Python package either.) How do you fix the problem of env: ‘python’: No such file or directory when you run a make command?
Solution
The command “python” (not python3), will work after you run this script.
…
Problem scenario
You installed CraftCMS. But there is no port activity on port 80. You want to go to the front-end now. You cannot get to it via a web browser. What do you do?
Solution
Is there a firewall or public cloud security group (e.g., an Azure Network Security Group) blocking traffic to the public IP address over port 80?
…
Problem scenario
You want to set up Rundeck to see what it is like. How do you do this on a Debian distribution of Linux (e.g., Ubuntu, Kali Linux, or Linux Mint)?
Solution
Prerequisite
Java must be installed. Use this posting if you need help with that. We recommend a 4 CPU server with at least 8 GB of RAM.
…
ABRIDGED VERSION (To see the unabridged version, see this posting.)
Problem scenario
A Puppet manifest is not working, but there are no obvious error messages. When running the puppet agent command, you use the -d flag for debugging. In your manifest, you use logoutput => true stanza. But still, you cannot figure out why your manifest is not working.
You tried this command: puppet parser validate nameOfManifest.pp
The above command had no output.
…
Problem scenario
You are not sure if environmental specific values should be placed into version control. What should do you?
Solution
Some people think that everything should go into version control. But others disagree. Here are examples of each philosophy:
“You need to get everything in version control. Everything. Not just the code, but everything required to build the environment.” (This was taken from page 297 of The Phoenix Project.) This is very clear in how it disagrees with the twelve-factor app principles.
…
Continue reading “Should Environmental Data Be Placed Into Version Control?”