Posts tagged thing

Lighttpd – A lighter Web Server

The first thing to do it get lighttpd installed with php and mysql working smoothly. Rather than reiterating the same content here is a convenient post:

http://www.howtoforge.com/lighttpd_mysql_php_debian_etch

Interesting options and various configuration for lighttpd can be found here:

http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions

One insteresting, built in, option is throttling. Use connection.kbytes-per-second and you can effectivly limit users to particular data transmission rates. There is also a compression module, and a caching module. Much like apache these modules can be installed with apt-get. Issue:

sudo apt-cache search lighttpd

This will list various packages that can be installed. I know the apache modules are packaged as libapache2-mod-*.

With built in round robin and proxy modules this is an interesting package to investigate using.

Spin Down USB Hdd – Ehh I don’t Think Its Working

Oh, given my previously elabored backup configuations I have one further thing I would like to do. Since backup 1, and 2 are only used once per day I would like to spin down the hard drivers to increase longevity. I figured dismounting the drive would be effective, but I have encountered several things. First, usb drives are auto mounted, therefore there is no entry in fstab, and no folder in /media. If you dismount backup1:

sudo umount /media/backup1

Now just before issuing the backup rsync I would like to mount the hdd and spinup the hard drives:

sudo mount /dev/sdg1 /media/backup1

But the platters still feel like they are spinning. There is a hum to the disk, and it remains warm as if the partition was still mounted. Maybe I’m confused as to what a spindown is? I would like the hdd to be pseudo disconnected, even the the cable is connected, and then pseudo connected when data transmission is required just before the backup routine.

Blackberry Coming on Strong with new Stuff

Blackberry is introducing new APIs for there 5.0 software. This will definnitely make their phone more competitive as new smartphones come quickly into the marketplace. The new APIs will significantly enhance productivity, functionality, and entertainability. Push functions, in third party apps is a big thing. As new apps come on line with push functionality, your message box will become increasingly important and useful.

At Research in Motion’s BlackBerry Developer Conference Monday, the company made a slew of announcements that aim to boost the platform’s appeal to developers.[Source]

The message box is already a communications dynamo. It integrates all of your email, sms, mms, and instant messaging into a single inbox. How much better can it get? Apparently much better. More message, more consolidation, more features.