Page 1 of 1

How to make puppy to be a web server?

Posted: Tue 14 Feb 2006, 10:49
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?

Posted: Thu 16 Feb 2006, 08:37
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.

Posted: Thu 16 Feb 2006, 08:50
by Guest
This post might help, but it is probably not for people new to Puppy.

Posted: Thu 16 Feb 2006, 15:38
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

Posted: Tue 16 May 2006, 01:36
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

Posted: Tue 16 May 2006, 02:05
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

Posted: Wed 17 May 2006, 01:53
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

Posted: Fri 19 May 2006, 08:14
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.