Click to See Complete Forum and Search --> : Advice needed for setting up a server


daYz
08-19-2004, 03:32 PM
Hi

I want to setup a webserver but have a few questions. I have read it is safer to put the server in a demilitarized zone, but does someone know what the advantages are of that?


I want to put the server on a AMD k6-2 400 Mghz pc, which also has 384 mb sdram and an old harddisk of 13 Gig.

The site won't have a lot of visits. Maybe max 35 visits a day?

The pc wont have X installed. The internet connection has a download speed of 1120 Kbit/s and a upload speed of 352 Kbit/s

How will the pc handle the predicted amount of traffic?

Thanks

ph34r
08-19-2004, 03:36 PM
Until I upgraded to a Pentium 75 a few weeks ago, I had a 486 with 16mb ram doing about the same task...

jme
08-19-2004, 04:02 PM
Up until I got hold of a dirt cheap PowerEdge server I had 23 sites using about 250MB of bandwidth a day on a PII 233 (512 cache), 128MB RAM and this worked like a dream.

As for the DMZ as far as I know (and Im no expert so I maybe corrected) it basically protects your internal network from the 'big bad internet'. Most routers will have the option of having your webserver on a DMZ. I personally have a old box running smoothwall so I have a lot more control over the setup.

Basically the webserver is open to internet connections from anyone who wants this. As a result if your webserver is hacked and it is in the same 'zone' as your personal computers you are opening yourself to more attacks on these compters. However if you have a DMZ the webserver will be isolated from the rest of the computers on your network and thus better protected.

Here is a pretty good article on the basics of DMZ design and structure:
http://www.linuxjournal.com/article.php?sid=4415

and a G4L search
http://www.google.com/linux?hl=en&lr=&ie=UTF-8&q=dmz&btnG=Google+Search

HTH

Jamie

Loki3
08-19-2004, 05:07 PM
I just setup up my little boxed router to foward the correct port to my webserver.

daYz
08-20-2004, 08:31 AM
Thanks guys for the clear answers.

Regards,

Ben

daYz
08-20-2004, 02:11 PM
How do people keep their site online when they need to restart after updating the kernel?

daYz
08-21-2004, 04:38 AM
Anyone please?

jme
08-21-2004, 05:19 AM
In short you can't. If you need to reboot the computer as a result of an upgrade apache will stop and will then restart (or need to be restarted depending on if you have it set to initialise at boot).

This shouldn't really be a problem as the computer will only be down for a matter of seconds or a mnute at most.

Even the best of stes occasionally have to reboot their servers so a personal webserver being down for a minute is no real concern.

Im sure that there are some commercial enterprise soultions such as co-located hosting to provide backup for your server if it is ever down but these are costly and really unnecessary unless you're in a relatively large entereprise environment.

HTH

Jamie

daYz
08-21-2004, 07:34 AM
Thanks Jamie. I was hoping for an easy solution, but this is fine for me.

jme
08-21-2004, 08:11 AM
Originally posted by daYz
Thanks Jamie. I was hoping for an easy solution, but this is fine for me.

:D

XiaoKJ
08-21-2004, 08:15 AM
I used to think that the DMZ setting meant that all internet traffic will be sent to the computer in DMZ, now I know more :D