Uncategorized
RHCE 7 Exam Objective: Route IP traffic
by jfargen on Nov.06, 2016, under Uncategorized
Route IP traffic
Don’t over think this one. It is actually pretty simple.
This is not a permanent config and will disappear after restart.
On the server VM run the following command.
# ip addr add 10.0.1.1 dev Team1
On the client VM run the following command.
# ip route add 10.0.1.0/24 dev Team1
You can test by trying to ping 10.0.1.1 from the client VM.
How to install WordPress on myweb
by jfargen on Sep.17, 2014, under Uncategorized
On Windows you will need to use putty to connect to circe.rc.usf.edu, if you are using a Mac or Linux you can use a regular terminal to ssh to circe.rc.usf.edu.
Once connected to circe
$ cd public_html
$ wget https://wordpress.org/latest.tar.gz
$ wget http://downloads.wordpress.org/plugin/sqlite-integration.1.7.zip
$ tar zxvf latest.tar.gz
$ unzip sqlite-integration.1.7.zip
$ mv sqlite-integration/ wordpress/wp-content/plugins/
$ cp wordpress/wp-content/plugins/sqlite-integration/db.php wordpress/wp-content/
$ cp wordpress/wp-config-sample.php wordpress/wp-config.php
Well, it does not seem like this task will be possible, because the unix admins have been slacking.
When you go to
http://jfargen.myweb.usf.edu/wordpress/wp-admin/install.php
You are greeted by the unpleasant message –
Your server is running PHP version 5.1.6 but WordPress 4.0 requires at least 5.2.4.
Red Hat Certified Systems Administrator (RHCSA): Passed
by jfargen on Apr.11, 2014, under Uncategorized
Today I took the RHCSA exam, here in Tampa, FL. Mostly barred from commenting on the exam, but it wasn’t to straining. Though I definitely made some mistakes.
Here is a link to verify my results.
March 5k: March Mustache Clearwater 5k
by jfargen on Mar.30, 2014, under Uncategorized
Even though this was my third 5k this year, it was the most difficult to complete. There were two reasons, first I didn’t feel great, the second reason was the bridge. This race starts by climbing the bridge which is listed as 74 feet clearance above the waterway, this means the decks is probably 86 feet at it’s peak. This was a huge shock to a Florida boy, 5k’s are suppose to be flat. So you climb this bridge almost immediately, you go up a cork screw, which I think lessens the gradient a bit in the beginning, then once on the bridge you continue upward, here the pack was pretty tight and people didn’t start spreading out until we started going down the bridge, you finally get to start coasting down the bridge, and the next 1.5 miles is a flat stretch along the causeway. Then you turn around and make a 1.5 mile return along the causeway back to the bridge. You must climb the bridge again, the second time was of course much harder, fighting a strong wind (it had been storming most of the day, but cleared shortly before the race). After cresting the bridge for the second time it was all down hill, back down through the corkscrew and then 150 meters or so to the finish line. All in all due to the elevation change, which I had never experienced in a race, this event was extremely difficult. My rank was 47 out of 62, the bottom 25%, hopefully after dropping some pounds I can at least make my way into the 50th percentile.
http://www.coolrunning.com/results/14/fl/Mar29_Capito_set2.shtml
February 5k: Gasparilla Distance Classic
by jfargen on Mar.18, 2014, under Uncategorized
The Gasparilla Distance Classic is one of the largest and oldest races in the Tampa Bay Area. I ran it back in high school and for nostalgias sake wanted thought it appropriate to run the race again 20 years later. Oh how times have changed, besides being at least 80 pounds heavier than in high school, my overall time was 34:17 (20 seconds better than the I Will Inspire 5k in January), still it was approximately 10 minutes slower then the time I ran the race in high school.
This race is crowded, I ran in the fast race, still I’m pretty slow so I was about 2/3 of the way back, around the 11 minute mile pace runner. You are almost body to body with the other runners, especially in the beginning, while running in the crowd people will just give up and start walking a lot of them didn’t even have the decency to move out of the way out of the main body of the group. This causes your pace to go up and down constantly, it probably slowed me down by a minute overall. Besides the crowds and rude people it was very muggy that day, out on the Bayshore, your sweat just stuck to you and you were completely drenched. I finished right behind the 11 minute mile pace runner, this time I did improve my time over the January 5k: I Will Inspire. Lets see what we can do in March.
Here is a link to the Gasparilla results.
February 5k: I Will Inspire
by jfargen on Mar.18, 2014, under Uncategorized
In January I began a fitness regime to include running and I plan on running a 5k every month. In February I enrolled in the I Will Inspire 5k. It was a little difficult because I was getting over a cold and had not run in several weeks. This 5k was a little weird and kind of disorganized. It started approximately 30 minutes later than scheduled, not sure if it was a weather issue and they just didn’t communicate that they were waiting for a squall to pass. After waiting for about 20 minutes it started to rain, fortunately the starting line was by a Fire Station, that was apparently part of the event. They let us stand in the Fire Station Garage, the rain lasted about 10 minutes. After it passed the race started.
The first mile went pretty well, but then I started to fade quickly, when I hit the ever so slightest hill it really drained my energy. About 2.5 miles in my friend took off, I guess I was going to slow for him, then I walked for about 2 minutes. After catching my breath I jogged the rest of the way, actually sprinting prett well for the last 150-200 meters, with a finishing time of 34:37.
I definitely need more work, it is 10 minutes longer than my best 5k time.
Here is a link to the I Will Inspire results.
Lucia: A good cause
by jfargen on Mar.18, 2014, under Uncategorized
There is a young girl that was born very ill, she requires round the clock care and medical attention. I don’t think any of us can understand how difficult this could be for a young family. If you have the resources please check out her page and consider making a donation to help with her ongoing care and assistance.
http://www.youcaring.com/medical-fundraiser/for-the-love-of-lucia/86229
BigBlueButton — Open Source Meeting/Teaching Tool
by jfargen on May.08, 2013, under Uncategorized
Yesterday I was invited to a meeting that was utilizing a screensharing product called the BigBlueButton. Since it is based on HTML5 all you need is a decent browser. In addition it is free and open source.
How to get a hard drive serial number from udev.
by jfargen on Dec.26, 2012, under Uncategorized
Some times a hard drive will fail in such a way that tools like smartctl or hdparm is unable to get the hard drive serial number or in certain circumstances will give the wrong hard drive serial.
This may work some of the time, but it won’t always work depending on the type of failure a drive is experiencing. It is definitely a better alternative to try rather than getting someone to go down to the data center and pulling your drive.
*Note that WordPress does something to the hyphens and when rendered on the webpage it is a different character. When entering the command ensure that you enter (hyphen)(hyphen) before each option passed in the command.
$ /sbin/udevadm info –query=property –name=drive| grep -i serial
Just replace drive for which physical drive you are trying to get details. In my case I use the command like so as an example.
$/sbin/udevadm info –query=property –name=sda| grep -i serial
How to find a user subscribed to a mailman list…
by jfargen on Sep.29, 2011, under Uncategorized
Recently I was tasked to determine if an email address was subscribed to any lists on the mailman server which I run. The solution came in two pieces.
1) Dump all of the list members to files named after the list, you can do that with the nifty one liner below.
root@localhost # for i in `./list_lists | awk ‘{ print $1 }’`; do ./list_members -o /root/members/$i $i; done
2) cd /root/members then simply grep for the users emails.
root@localhost # grep -r ‘users@emailaddress.com’ .