Skip to Content

PHP GD

Issues were found with GD in my PHP installation - basically it was installed, but not linked properly
This is the error that I kept receiving - mainly noticed after doing a system update.
error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

Doing the following solved the issue for me.

cd /usr/local/lib
sudo cp libgd.so.2.0.0 libgd.so.2.0.0.broken
sudo ln -f /usr/lib/libgd.so.2.0.0 libgd.so.2.0.0
sudo apache2ctl restart

Also found that I needed to create another link.
sudo ln /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.so

Link to UbuntuForums for the help
http://ubuntuforums.org/archive/index.php/t-252842.html

Apache2 Bandwidth Limit

Download and install the Bandwidth Module from the links below or the attached file.

Unpack
tar -zxf mod_bw-0.8_0.tgz
cd mod_bw
sudo apxs2 -i -a -c mod_bw.c

Then add this to your apache2.conf
LoadModule bw_module mod_bw.so
and this to your VirtualHost / enabled site

BandwidthModule On
ForceBandWidthModule On
LargeFileLimit .mp3 1 15000

I did mine to limit the speed of MP3 downloads to reduce the total server connection speed, but you can limit everything if you're needing to.
Bandwidth all 10240
MinBandwidth all -1

Note - you must have apxs2 installed to make this work, installed with this:
sudo apt-get install apache2-threaded-dev

Found at either location, or attached here
http://www.ivn.cl/apache/
http://bwmod.sourceforge.net/

What Makes SSarge.net Tick?

So I've recently rebuilt my server after loosing a 500GB backup drive; which after trying to recover the data somehow destroyed the ability to mount or even format any other drives... Yes I know having a single backup drive isn't the smartest.

Now I've got things setup in a nice mirror, with another backup drive ready and another that I will be using as an image drive.
I'm also setting up another server to be used as data/media storage. Nothing special, and not much space, but secure. I've got 4 80GB drives installed with a RAID 5 setup.

Main server is running a standard LAMP (Linux,Apache,MySQL,PHP) setup, along with mail and print. Configured as the internet gateway/firewall, along with everything else, its back up running stable... Now there's just some reconfiguring to do to make it more secure.

2003 Hyundai Elantra GT

For the longest time I've been a fan of cars, really, how many kids out there didn't grow up with some toy cars.

Not having the best of luck with cars, this is the start of things to change. I needed to buy a more reliable vehicle for work, and the Fiero just wasn't cutting it; that and I didn't want to ruin it more since it's now a classic.

I stumbled across this Elantra in a used lot (cause at the time I didn't have the credit for a new one), and it just appealed to me. The nice sleek line and the hatchback styling that could prove to be very useful. So I've had the car for 2.5years now, with no major failures for the 80,000kms I've racked up. Some maintenance, some customizations, some upgrades.

Wii Bit of Fun

So I've got myself a Wii to play with. It's amusing since I'm a kid at heart. Though I've never caught onto the whole console gaming thing, I feel I could really get attached to this.

Being the techie that I am though, I got a Wii that has been modified to play backup games. So I've loaded all the games I've got onto an external hard drive.

Using USB Loader GX as a Channel on the Wii I can load right into my list of games.
This also allows me to customize the look of the loader. When inserting a new game into the drive while in the Loader, it will ask whether you want to 'install' the game onto the hard drive...usually takes anywhere from 5-20 minutes depending on the game.

You can then load the cover, disc, and 3D images for the loader. So you know which games you're about to play rather than just reading the title. It can be shown in different ways, like the coverflow with Apples.

Back to making my arms tired with some of these games.