IP Address Active/Passive Failover Setup in Linux CentOS 6 RHEL 6 using keepalived

Hey everyone out there in BBS land.  Your old friend Max here to dump out some knowledge on you. Imagine you’re living in a world of two systems and three IP addresses.  One of the IP addresses is really importing and if the system it’s running on explodes, you want it to come back up… Continue reading IP Address Active/Passive Failover Setup in Linux CentOS 6 RHEL 6 using keepalived

Incron, Watcher Python PyInotify Alternative. Recursively Watch A File System for Change Events using inotifywait, inotify

If you have a folder in your home directory called “/root/FilestoWatch” and in there you have a bunch of files and folders that you want to constantly be checked for changes. There are a few options out there for this type of thing: – crond (limited to every minute) – incrond (cannot recursively watch a… Continue reading Incron, Watcher Python PyInotify Alternative. Recursively Watch A File System for Change Events using inotifywait, inotify

Running Bacula bconsole Commands from bash CLI

Greetings, Traveler. So if you’re one of the types who use Bacula as your backup server, you’re probably familiar with the ‘bconsole’ command line utility.  I prefer using this to the Bacula Admin Tool (BAT) because it’s faster. The neat thing is that you can pipe commands right to bconsole to get immediate output from… Continue reading Running Bacula bconsole Commands from bash CLI

Set Default Directory Permissions in Using ACLs

I’ve only tested this on RHEL/CentOS/Scientific Linux but should work on any system running Linux acl. ACL’s are useful for providing more granular file and directory access permissions as a supplement to the standard Unix user/group permissions. Let’s say you want the user ‘funboy’ to have full control over the /disco directory on your system, and… Continue reading Set Default Directory Permissions in Using ACLs

Show Some Line Numbers in vim (vi) in RHEL/CentOS/Scientific Linux

Alright check this shit out..  I’m one of those dudes who likes to have my text editors display the line number at all times.  CALL ME OLD FASHIONED! So if you want line numbers to be displayed in vi (which is really vim these days in the GNU/Linux version we’re talking about), run the following:… Continue reading Show Some Line Numbers in vim (vi) in RHEL/CentOS/Scientific Linux