Apache2 + php on Debian Lenny  

This is a short howto on setting up apache2 on Lenny, it will set up the basics on getting apache2 and php5 up and running on your Deian/Lenny box:

apt-get update
apt-get install apache2

apache2 should start now, you can check to make sure like so:
lsof -i:80

Now to install the php module for apache2:

apt-get install libapache2-mod-php5

apt should enable the module for you, you can always check to make sure:
a2enmod php5

Now, we have to restart our server:
/etc/init.d/apache2 stop
/etc/init.d/apache2 start


To verify, you can put a php file in /var/www , say /var/www/test.php

Now point your browser to http://your.server/test.php , and you should see the phpinfo page.

Thats it.

[ add comment ] ( 25 views ) [ 0 trackbacks ] permalink ( 3 / 178 )
MD Ate My Acid 

Just messing around tonight with my Machine Drum and a Novation Nova.
Take a listen
[ add comment ] ( 24 views ) [ 0 trackbacks ] permalink ( 2.9 / 119 )
On my way  


[ add comment ] ( 31 views ) [ 0 trackbacks ] permalink ( 2.5 / 195 )
Sad day! No, wait, disaster avoided! 

Looks like I just lost all of my mp3s. The drive I have all of them stored on just took a dive:


May 2 13:22:10 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:22:10 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:22:10 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:22:10 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:22:10 proto kernel: Additional sense: No additional sense information
May 2 13:22:10 proto kernel: end_request: I/O error, dev sdb, sector 501481551
May 2 13:23:55 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:23:55 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:23:55 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:23:55 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:23:55 proto kernel: Additional sense: No additional sense information
May 2 13:23:55 proto kernel: end_request: I/O error, dev sdb, sector 0
May 2 13:24:25 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:24:25 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:24:25 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:24:25 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:24:25 proto kernel: Additional sense: No additional sense information
May 2 13:24:25 proto kernel: end_request: I/O error, dev sdb, sector 0


Already tried to do a fsck on it, no luck with that. Hm, maybe it's a bad cable..


UPDATE:
Turns out, yes, it was the cable. I replaced the sata cable with a different one, the one that was in there had 90deg angel connectors and didn't really seem like they fit too well. It was all I had at the time I put the drive in. But, with a new cable the drive is nice and happy. whew!

Time to do a backup.
[ add comment ] ( 1886 views ) [ 0 trackbacks ] permalink ( 3 / 190 )
Bring your own big wheel stop animation! 

Every Easter, theres a big race in San Francisco, the Bring Your Own Big Wheel . I took all of these photos with my D200, then put them all together in this nifty movie. It covers 3 of the races that went on that day and is made up of almost 600 individual pictures!
[ add comment ] ( 196 views ) [ 0 trackbacks ] permalink ( 2.9 / 163 )

<<First <Back | 1 | 2 | 3 | 4 | Next> Last>>