Re: Help: Novice - Hardware Advice!

2006-06-04 Thread Karl Vogel
>> On Sat, 3 Jun 2006 12:09:50 +0200, 
>> "Maan Jee" <[EMAIL PROTECTED]> said:

M> I wanna build a super duper FreeBSD web server box with apache2, mysql5,
M> php, etc.  But I am just unsure about what kind of hardware I should buy
M> since I am not having a big budget but do have a reasonable

   Have a look at the Ars Technica system guide, updated every few months:

   http://arstechnica.com/guides/buyer/system-guide-200604.ars
   Ars System Guide: April 2006 edition
   Brian Won
   Sunday, April 16, 2006

   Recommendations come in the form of three hypothetical computers.

   Budget Box: This puppy is dedicated to finding the least expensive
   options possible while still giving you full functionality.  The Budget
   Box may sound cheap, but it's not.  It's simply inexpensive jet power,
   priced at under US$800.

   Hot Rod: This one's been juiced up, but with limited funds.  Think of
   the auto hobbyist.  He may not buy the fastest car out there, but he
   does the best he can with what he's got.  We try to keep the Hot Rod
   under US$1,600.

   God Box: This is for the guy who has just won the lottery, or whose
   company is funding the purchase (same thing).
   
-- 
Karl Vogel  I don't speak for the USAF or my company
vogelke at pobox dot com   http://www.pobox.com/~vogelke

I forgot and left the lighthouse on all night.
Next day the sun wouldn't rise. --Steven Wright

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help: Novice - Hardware Advice!

2006-06-03 Thread Erik Nørgaard
VeeJay wrote:
> Thanks for your advice.
>  
> Almost all pages will be generated dynamically (php).
>  
> Bandwidth is ADSL with 1Mb Upstream and 24Mb Downstream.
> (Don't know if it is enough?)

First, your speed is likely 1Mbit and not 1Mbyte (1Mb)

You can make some rough estimates once you have your site running and
know how much an average page is. But, (almost) any system that you can
get hands on today will be able to serve your site.

Generally: If people have to wait more than 10 sec for a page to load,
it's too slow.

> Traffic is like going to grow upto 5 hits or more a day. Since I am
> building an article liberary.
>  
> How can I implement Apache Proxy or Squid Proxy?

You need to build Apache WITH_PROXY_MODULE=yes then configure, see the
apache documentation, it is fairly thorough. Squid is also in ports. I
suggest you leave it til you have your site up running and see the
bottlenecks.

> How can I make the server more robust?

The answer is not a "one-liner". You should really get hands on the
great manuals on hardening both system and services.

Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Help: Novice - Hardware Advice!

2006-06-03 Thread VeeJay

Thanks for your advice.

Almost all pages will be generated dynamically (php).

Bandwidth is ADSL with 1Mb Upstream and 24Mb Downstream.
(Don't know if it is enough?)

Traffic is like going to grow upto 5 hits or more a day. Since I am
building an article liberary.

How can I implement Apache Proxy or Squid Proxy?

How can I make the server more robust?

Looking forward for your comments...

VJ

On 6/3/06, Erik Nørgaard <[EMAIL PROTECTED]> wrote:


Maan Jee wrote:
> Hello friends and fellows
>
> Today, I wanna have some hardware advice:
>
> I wanna build A super duper FreeBSD Web Server Box with apache2, mysql5,
> php, etc.
>
> But I am just unsure about what kind of hardware I should buy since I am
> not
> having a big budget but do have a reasonable
>
> There gonna be many database queries load fetching data from
mysql-server.
>
> What kind of Hardware I should buy?
>
> 1. Motherboad?
>
> 2. Processor?
>
> 3. RAM?
> (What kind of and how much should be reasonable enough)
>
> 4. Storage System?
>
> I am looking for a solution with very reasonable cost and best
efficiency
> :o)

How much traffic will you serve?

This is also limited by the bandwidth you have - if you have an adsl
connection usually downstream is higher than up stream, but serving
pages go mostly upstream.

How much work will the server do to generate pages?

If everything is dynamic and you have a badly coded site it costs. You
can get much efficiency with good code and/or apache proxy, or a squid
proxy.

I bought a mini-itx with 1Ghz Via chip and 256MB ram, 60GB IDE disk.
Should I buy a new system today I would go for a fanless slower version.

It serves just fine, not only web pages but also mail, database, ldap,
dns, dhcp, imap as well as being firewall/router for the local network.
It seems that most resources are consumed by the smtp server blocking
spam.

It's also reasonable cheap, around 400 euros, and consumes only around
30W.

Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9






--
Thanks!

BR / mj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help: Novice - Hardware Advice!

2006-06-03 Thread Erik Nørgaard
Maan Jee wrote:
> Hello friends and fellows
> 
> Today, I wanna have some hardware advice:
> 
> I wanna build A super duper FreeBSD Web Server Box with apache2, mysql5,
> php, etc.
> 
> But I am just unsure about what kind of hardware I should buy since I am
> not
> having a big budget but do have a reasonable
> 
> There gonna be many database queries load fetching data from mysql-server.
> 
> What kind of Hardware I should buy?
> 
> 1. Motherboad?
> 
> 2. Processor?
> 
> 3. RAM?
> (What kind of and how much should be reasonable enough)
> 
> 4. Storage System?
> 
> I am looking for a solution with very reasonable cost and best efficiency
> :o)

How much traffic will you serve?

This is also limited by the bandwidth you have - if you have an adsl
connection usually downstream is higher than up stream, but serving
pages go mostly upstream.

How much work will the server do to generate pages?

If everything is dynamic and you have a badly coded site it costs. You
can get much efficiency with good code and/or apache proxy, or a squid
proxy.

I bought a mini-itx with 1Ghz Via chip and 256MB ram, 60GB IDE disk.
Should I buy a new system today I would go for a fanless slower version.

It serves just fine, not only web pages but also mail, database, ldap,
dns, dhcp, imap as well as being firewall/router for the local network.
It seems that most resources are consumed by the smtp server blocking spam.

It's also reasonable cheap, around 400 euros, and consumes only around 30W.

Cheers, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature