I found this tutorial useful and want to know is this work on puppy linux?
No. The commands shown will work on Debian/Ubuntu based systems which Puppy is not. I didn't go through the rest of the tutorial after seeing that.
The link below discusses installing a LAMP server on Puppy. Might have some useful info. No date on it but it refers to Puppy 3.0.??