How to make puppy to be a web server?

Booting, installing, newbie
Post Reply
Message
Author
Guest

How to make puppy to be a web server?

#1 Post by Guest »

I am new to Puppy Linux. I wonder to know how to make the puppy to be a web server (Apache) under the live-dvd. Do I need to remaster the puppy?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

Somewhere in one of the post on this site a guy (can't remember who) said he made a web server dotpup package.
Try searching for it with the search link, or try looking through the dotpup packages, unfortunatly there's no one place to look for them so you have to try the main Puppy page & go from there, I have trouble finding stuff & I've been here awhile.
The Puppy group really needs a single page for packages that links to the file site, there is one but it doesn't have much on it.

Guest

#3 Post by Guest »

This post might help, but it is probably not for people new to Puppy.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Puppy already has a simple webserver for simple tasks, see /root/ghttpd.

Other ones:

lighttpd:
http://www.murga.org/~puppy/viewtopic.php?t=5801

apache without mysql:
http://www.murga.org/~puppy/viewtopic.php?t=3446

full apache/mysql:
http://www.murga.org/~puppy/viewtopic.php?t=5126

Mark

IvanF
Posts: 15
Joined: Mon 12 Dec 2005, 14:11
Location: W. Australia

#5 Post by IvanF »

I was wondering if someone could point me in the right direction. I have installed this web server on a puppy machine (HD installed)

lighttpd:
http://www.murga.org/~puppy/viewtopic.php?t=5801

It works great, very impressive - with Mambo and Mudpack. Now I would like to access the web server from other networked PuppyPCs. While I can ping each machine, we I try to connect with the browser from another machine, I get a message saying access denied.

What is the next step in creating an intranet?

many thanks

Ivan

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#6 Post by GuestToo »

do you have a firewall running in Puppy? you can shut down the firewall to see if it is blocking access by typing in a rxvt console window:

/etc/rc.d/rc.firewall stop

if shutting down the firewall allows you to connect to the web server, then you can configure the firewall script to allow incoming connections to that port

IvanF
Posts: 15
Joined: Mon 12 Dec 2005, 14:11
Location: W. Australia

#7 Post by IvanF »

Thanks GuestToo
You answer was correct. Is there anyone able to tell me how to modify the firewall script and work out which port is being used?

IvanF

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#8 Post by Ian »

The firewall uses iptables now instead of ipchains. Iptables is easier to configure.

If you read through the file you should be able to see what is happening, if you cannot understand it I would suggest that you have a look at Rusty's HOWTO:

http://www.linuxguruz.com/iptables/howt ... HOWTO.html

this should help you understand how firewalls work in Linux.

Post Reply