Wednesday, April 26, 2006

Installing PHP5 with Apache2

If, like me, you installed php5 from apt and couldn't get it to work with apache, here's what you might be missing..

1. Enable the PHP5 module from YaST's HTTP Server component.
2. Restart Apache:
# /etc/init.d/apache2 stop
# /etc/init.d/apache2 start


Test it by copying the following script to "/srv/www/htdocs/"
<?php
phpinfo();
?>

Name it "info.php" and run it from your browser..

JpGraph - Installing PHP5 on SuSE 9.2

Tuesday, April 18, 2006

Playing DVDs on 64 bit Suse

Reinstalled yet again after upgrade to ou Suse 10.0 x64bit.. Although i expected things to be the same they arent...
One hurdle was the libdvdcss..
There arent any 64 bit versions left i think. everyone seems to be stopping hosting libdvdcss..

The Jem Report - Hacking OpenSUSE: Heres how you can compile and install it. Didnt work for me though. got an error
warning: user sam does not exist - using root

Heres what i did instead..
Googled for libdvdcss2-1.2.8-0.pm.2.x86_64.rpm. Found it on pbone.net

Installed...

{EDIT}
The above actually didnt work... When I tried my brand spanking new U2 Vertigo DVD, Kaffeine kept complaining and VLC would just turn of.. After hours of seaching and relaxing with my guitar on my new bean bag :P... i figured it out and double checked it this time...

The latest version of libdvdcss source can be downloaded from http://download.videolan.org/pub/libdvdcss/

Right now the latest is: libdvdcss-1.2.9.tar.gz

Save. Extract. su to root. run..
./configure
make install

Power up VLC and enjoy!!
Kaffeine had a bright green screen and wont play dvds though.. but thats for another day...

Hello Hello... Can I please go Vertigo?!!!!!

Monday, April 17, 2006

Synergy



synergy: [noun] a mutually advantageous conjunction of distinct elements

Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).


AwesomeO idea.. Synergy also lets you copy-paste across machines!!!! Just click copy then drag your mouse from one machines monitor to the next and paste! Geek dream come true!!!

Still trying to figure out how to use synergy with my current setup of 2 machines with 2 monitors (one of which is shared through a KVM)
   [LCD]        {KVM}  <-- (Keyboard + Mouse)
| |
| [CRT]
| __________|
| | |
(SuSE) (Windows)

While I figure that out, heres some links for those geeks with less complex setups.. Oh... and yeah.. it works on windows and macs too.. check out the synergy website for details on other OSs..

- Ditch your KVM for Synergy
- HowTo: Use Synergy to Control Several Workstations from One Keyboard and Mouse

Friday, April 7, 2006

Merry Christmas to me!!!

It's coming!!!!!! Should be here by monday.. same time as my finals.. :(

Sheesh.. what bad timing.. but the deal was too good to pass up... got my tax returns, so.... Time to upgrade the dead pc!!! Enter 64bit AMD Athlon 2GHz with 1GB ram!! purrrrrr.....

Along with other goodies.. ordered a 2port KVM coz i lurrrrve my current dual monitor setup, espicially since I can rotate my LCD for a neat coder's delight portrait view of the screen.. more code to see!!!

Muhahhahahah... 2 computers.... *rubs hands in delight*

Plans are to install Windows on rT's box and pump SuSE 64 on the new machine.. As independant as I want to be from windows.. companies like Nokia and RIM make it so hard. What with their development SW being MS only.. bah! and there aint now frigging way im dual booting my new baby.. I love watching the Uptime counter increase.. am at 22days now.. am too scared to push this machine.. one burnt out cpu is scary enuff!! more cooling this time!!!

Portion of the Tiger Direct order.....
- Mach Speed Viper K8M8MS Socket 754 Motherboard
- AMD Athlon 64 3000+ NewCastle Core Socket 754 CPU
- Ultra 1024MB PC3200 DDR 400MHz
- Zonet 2 Port KVM Switch- 2 Sets of Cbls Incld/Auto

Hope the KVM plays nice with linux...

Am eXciTEeD!!!!!!!!!!!!!