Server Uptime Competition Click Here to see current bragging rights.

Wilmington Isl Current
Navigation
The Band's New Album
Life Art Studio
Cool Guy
Sponsor Logo
User login

Getting an iscsi target working on a ClearOS 5.2 Install

A quick howto on making your ClearOS 5.2 Install host ISCSI shares for other devices to mount up and use.

nano /etc/suvad.conf
# Edit this line and change the port from 3260 to something else:
ifn="lo" port="3260" dst-host="rsb.clearsdn.com" dst-port="1875"/>
# Should not effect suvad backup service as there are two ports but did post in the forums on CC to confirm.
service suvad restart

# ED: Install the various bits and pieces you need here
yum install scsi-target-utils

# Now I am going to create a test iscsi target LUN

Chrome + HTML5 + Future Of Online Media

The Wilderness Downtown

Check out this site for a cool look what HTML5 might do for us with some creative thinking.
Have to say I was impressed. Cool song / band too.
http://www.thewildernessdowntown.com
You'll need an HTML5 ready browser to play it - it works with Chrome (unsurprisingly enough).
I plugged in my old address in Braintree on the Fairview (for those of you who know me from way back when) - it found it and used it in the video.
Check it out by trying yours ;)

Automate Rotation Script - Backup Your .bash_history File

Another one from the library of often used scripts. Rotate backups, log files or just about anything you this you might need a copy of.
In this example, I back up my .bash_history file from my home directory each night so I always have copes stretching back 30 days.
You can use this script for just about anything you need to keep a number of historical backups of.

You can write an entry in your crontab as follows:
crontab -e
5 5 * * * /home/jim/bin/backup-history

Here's the script:

#!/bin/bash

Uptime - 683 days - Clear OS (CC 4.1) Firewall

Check this out folks - a ClarkConnect 4.1 Linux (now ClearOS) box that has been running for 683 days straight - now that's stability!

Admittedly it's in a Data Center (co-location) with redundant power and all that jazz and yes, it REALLY needs to updated but I just can't do it! Going to let it run until the hardware reach EOL and I have to down it. ;) Just goes to show you how freakin' stable that OS really is! Kudos.

683 Days Uptime

Found this on Bash.org - had to post it....

On Bash.org: #924892
Outpost - I love how everyone is blaming Obama for the oil spill..
AnnoDomini - It's actually the British.
Outpost - yeah, you'd think British Petroleum would've made that known.
AnnoDomini - See, Americans dumped English tea into Boston Bay.
AnnoDomini - The British, after biding their time for 237 years, have struck back.
AnnoDomini - YOUR MOVE, AMERICA.
Outpost - ...I am so in love with you right now.

:) Watch out yall.....

Ronald McDonald House - Savannah - Needs Your Help?

RMHC logo no text.jpg

Anyone out there in the Savannah area - your local Ronald McDonald house could really use some help.

Bash Script - recursively find X in all text files from specific folder on down

Another useful script for a busy linux/web admin. This one will recursively find all the text based files from a given folder on down and look for your search term. It will then list the files with said search term in them and include the applicable line numbers within each file.
Not perfect by any means, but handy at times...

#!/bin/bash
#################################################################
# A script to help you find X in all text files recursively
# Jim R 2010/06/30
# Known issues: does not yet work with / or other special chars

Mainstay Script: Recursive (1 level) Disk Usage Script

A mainstay in the Linux Admin Toolkit - the ability to quickly find the disk hogging folders on a server's file structure.
This one will give you a summary disk usage for sub-folders in the immediate, current directory.
-----------------------------------------------

#!/bin/bash
log=/tmp/diskusage.log

ls -d */ > /tmp/list
date > $log
pwd >> $log

for folder in `cat /tmp/list` ; do
cd $folder
pwd >> $log
du -hs >> $log
cd ..
done

cat $log | less

Donate your old cell phones (free shipping) and help Health Workers save lives in Africa

hope_phones.jpg

Came across this one on a monthly email out from OpenSource.com.
Donate Used Phones and Help Health Workers Save Lives: Hope Phones, IntraHealth and FrontlineSMS:Medic Collaborate on Phone Donation Campaign to Support Health Workers in Africa (please read the full article for more info and free shipping label)

Neighborhood Wars - It's On!

CIMG2777.JPG

Lock& Loaded ;)

Random image
Lake Views5
Recent Twitter Posts
Syndicate
Syndicate content