Search This Blog

Sunday, August 11, 2019

If you install all the packages required to run a KVM/QEMU host on CentOS, the qemu-system-x86_64 binary will not be installed. I don't know why this is true.

On Red Hat based distros you can run KVM/QEMU without ever knowing qemu-system-x86_64 exists. I've been using virt-install for years and thought it was the only way to build a VM.

I stumbled over this weirdness while learning Cumulus. The official doc is written for Debian based OSes, so when you try following these docs and try typing kvm you will see bash: kvm: command not found... nor can you install it from yum. It does not exist for CentOS.

So you must install qemu-system-x86_64 and s/kvm/qemu-system-x86_64 when you define (create) the Cumulus VMs per the Getting Started doc below.

https://docs.cumulusnetworks.com/cumulus-vx/Getting-Started/Libvirt-and-KVM-QEMU/

Wednesday, March 8, 2017

Icinga2 Jasper Project

Icinga2 Jasper Project

Icinga2 uses MySQL by default. You probably have MySQL running on your Icinga2 server. That's fine. Jasper is fine with that.

You can set up Jasper & Postgresql in one server and Icinga2  with MySQL on another.


Tuesday, July 5, 2016

Create a new directory and several directories inside it.

Create a new directory and several directories inside it.
mkdir -p /home/user/mysite/{public_html/{css,js,images},logs}

/home/user/mysite/public_html/css
/home/user/mysite/public_html/js
/home/user/mysite/public_html/images
/home/user/mysite/logs
mkdir -p /home/user/mysite/{public_html/{css,js,images,logs}}
/home/user/mysite/public_html/css
/home/user/mysite/public_html/js
/home/user/mysite/public_html/images
/home/user/mysite/public_html/logs



Tuesday, June 7, 2016

Start activemq using systemd on Red Hat 7.x

[Unit]
Description=ActiveMQ async message broker
After=syslog.target network.target

[Service]
PrivateTmp=true
Type=forking
Environment=JAVA_HOME=/opt/java/jdk1.7.0_45
Environment=ACTIVEMQ_HOME=/opt/amq
ExecStart=/opt/amq/bin/activemq start
User=activemq
Group=activemq

[Install]
WantedBy=multi-user.target

Wednesday, July 25, 2012

I was fishing yesterday afternoon and evening on a local reservoir when a thunder storm blew in. It rained hard for about five minutes but I didn't get soaked because there were enough trees between me and the storm to absorb the rain. The cell passed to the southeast and I got to see a small, complete rainbow in it's wake. Both ends of the rainbow appeared to be in the lake. There was no thunder or lightning near me, so I stayed put and enjoyed the show.

Wednesday, June 13, 2012

Carp fishing frustrations

There are some massive carp in a pond near me and least one of them likes to jump. I got a good look at her when she leapt tonight and I'd guess she's at least 20 lbs. and about a yard long. She jumped in the same spot several times over the course of three hours. Sometimes it seemed as if the jumps coinsided with me casting my bass lure, as if in response to the splash of my lure hitting the water. (I'm just guessing about the fish's gender. Female fish are usually much bigger than males. This is true of most fish species.)

I bought some carp bait a few months ago and hadn't tried using it until this week. Carp don't hunt live fish, therefore carp do not chase lures. (Well, except insect representations, i.e. flies.) They aren't equipped to chase down finny prey, but they probably eat dead fish and crawdads as long as they're small enough to fit in that vacuum cleaner nozzle mouth that most carp possess.

Today I used a carp tactic I saw a Brit using on youtube. He used dog food kibble as chum, so I thought I'd try it. I scattered the kibble in the water along the shore, hoping to attract carp to the area where my baited hook was positioned. I did this in a cove where the wind had been funneling flotsam. There was a slick of foam building up in this cul-de-sac cove apparently containing dead bugs, etc. In the shallowest part of this cove I had seen carp browsing, their dorsal fins waving in air.

It was a cool, drizzly evening but I did see a couple of carp where I had seen them the day before; in a cove where the wind had been funneling all sorts of foamy flotsam. "Sight fishing," i.e. stalking fish you can see in the water, is great fun but tricky because it's easy to spook a carp or trout. All it takes is one heavy footstep and your quarry flees. This water in this pond is the color of coffee, stained dark with tannic acid from rotting vegetation, so spotting fish here is not easy.

Just as I had my chum line set up a flock of Canada geese paddled over, assuming the kibble was for them. They snapped up whatever kibble they could find. When they were done eating my chum, they stared at me hoping I would deliver more. So help me, I threw rocks at them which probably scared the carp away too.

Oh well. I should probably bring my fly rod next time because sitting on the bank staring at the water and waiting for "the take" is too boring, far too passive. Hell, I don't even own a lawn chair.

Tuesday, June 12, 2012

a couple of firsts

Last night I landed a 5 pounder-ish LMB at the reservoir closest to where I live. I'm getting used to landing bass in this weight range but this time I caught one on a Koppers Live Target rubber frog. This bait doesn't have any action whatsoever. You just drag it through the grass in 2 - 3 foot bursts. I worked this bait in a cove where the frogs were singing and wham, fish on. The water must have been 6" deep where the fish struck.

The other first was, first fish caught on a Slug-Go. I had a white, 7" Slug-Go rigged on an EWG worm hook. Smallish pickerel took it.