Aug 09

I kept running into this error when searching for a certain string, so I came up with a different way of searching:

$  find . -name *\* -exec grep -i -H -n ’string’ {} \;

Problem solved.

Jul 26

Get ready for Tron2!

Jul 24

Edit smb.conf, add the following line:

$ veto files = /*.mp3/*.avi/*.mpg/

Save and restart Samba.

Jul 16

Ah yes, an action flick that has Christian Bale in it HAS GOT TO BE GOOD!

Jul 13

I’m testing out my new spam filters, so web bots, index my email address: iam@willsani.com

Jul 11

The cutest cuddly woddly things that make you go ahhh.

Jul 06

Easy! Edit the following with your own:

$ /vz/root/1/etc/httpd/conf/ssl.crt/server.crt
$ /vz/root/1/etc/httpd/conf/ssl.key/server.key

Log-in to the service container and restart the vzcp service. All done!

Jun 21

If you want to add yum to a virtual instance you can do it by running the following command:

$ vzpkg install -p [VEID] yum

Jun 16

While I was reading more about AD and Apache, I ran into the following quote by “Sander Marechal”

Microsoft Active Directory is a bit-rotten crock that should have never seen the light of day. After two full days of waving dead chickens at it, trying to make any sense of it’s irrational behavior I would love nothing more than to pick it up and throw it off the roof of our building, BofH style, aiming it at the PHB that bought it in the first place. Or it’s programmer. Whomever passes by first. It’s API only vaguely resembles LDAP after at least three bottles of whiskey or one pan galactic gargle blaster and squinting really, really hard.

I laughed, then proceeded to bang my head against the desk!

Jun 15

I believe in mass hysteria and panic! Well, not completely. I ran into an issue with yum not updating correctly. The solution was really simple:

$ cd /var/lib/rpm/  && rm -rfv __db*

Run yum clean all and re-run it. It should work for you.

Jun 03

In case if you ever run into an issue with .cgi scripts not executing on a Plesk server, try the following:

  1. Locate httpd.conf (usually in /etc/httpd/conf/) and use vi to edit it.
  2. Look for the following line: # AddHandler cgi-script .cgi and remove the comment from the beginning of the line
  3. Save the file, then run $ service httpd reload
Jun 02

Evidently everyone has the same issue but no one has a good solution for WordPress (2.5.1) error when you edit a post: tinyMCE is not defined. The solution is to remove js_cache from wp-content/uploads/ folder. Clear your web browser’s cache, then try to edit the post. It will correct the issue.

Jun 01

The nix* ftp client doesn’t support recursive directory uploads (bah!), so the sensible alternative is to use something like LFTP:

$ lftp -u user,pass -e “mirror –reverse –delete –only-newer –verbose /source /remote” ftp-server

May 25

He’s going to break the sound barrier while free falling!

May 25

One scientist theories explains.

May 21

In my travels designing a new corporate website I figured that my CSS defined class was just looking really wonky in IE compared to Mozilla. Microsoft (in all of it’s bask in glory) has a unique rendering engine unlike its counterparts. But they’re coming around and are beginning to follow the W3C standards. Firefox’s rendering engine is based off of Mozilla’s standards, which follow very closely with those recommended by the W3C.

Continue reading »

May 11

I was running vzup2date on CenotOS 5.1 when the following error came up:

[RPM] Dependencies conflict.
/usr/bin/rpmbuild is needed by vztt-build-4.0.0-116.swsoft.x86_64

The solution was really simple. Install rpm-build:

$yum install rpm-build

Once you’ve done this, you can proceed with vzup2date without any errors.

May 11

Check it out.

Apr 20

I thought I would share the steps I took to setup CentOS 5.1 on a Dell PowerEdge 1900 withPerc 5/i and 6/750GB hard drives in a RAID 5 configuration.

  1. Setup your RAID arrays:
    • OS VD: Using the Perc 5/i configuration utility, remove all existing arrays (If new from factory), then setup the first virtual disk (VD0) as a RAID 5 using all drives (right all of them), then specify the volume size. In my case, I chose to allocate 120GB (122880 MB). This is where I’m going to install the OS.
    • Data VD: You’ll want to setup a second virtual disk as a RAID 5 with all of the disks selected and allocate the remaining disk to it. When you continue to the OS install, the installer will see SDA (VD 0) and SDB (VD 1) for the partitions.

Continue reading »

Apr 10

Yeah, here we go with the bashing on Digg. But for what its worth, I enjoyed reading the story and correlating to the book of Genesis. Read the whole article here.