From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 20:36:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16C33106567D for ; Tue, 22 Jul 2008 20:36:15 +0000 (UTC) (envelope-from chris@smartt.com) Received: from nov.smartt.com (nov.smartt.com [69.31.173.253]) by mx1.freebsd.org (Postfix) with ESMTP id 01D048FC24 for ; Tue, 22 Jul 2008 20:36:14 +0000 (UTC) (envelope-from chris@smartt.com) Received: from [69.31.174.220] ([69.31.174.220]) (authenticated bits=0) by nov.smartt.com (8.13.8/8.13.5) with ESMTP id m6MKaDkG004373; Tue, 22 Jul 2008 13:36:13 -0700 Message-ID: <488644C6.9020801@smartt.com> Date: Tue, 22 Jul 2008 13:36:22 -0700 From: Chris St Denis User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: VeeJay References: <2cd0a0da0807221305r5ae70309w4313dbea62d3fdf0@mail.gmail.com> In-Reply-To: <2cd0a0da0807221305r5ae70309w4313dbea62d3fdf0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on nov.smartt.com Cc: FreeBSD-Questions Subject: Re: FreeBSD for webserver? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 20:36:15 -0000 VeeJay wrote: > Hi there > > I am going to make 2 Webserver at my work going to handle 50 mil hits per > month... They are using Linux already. But being a FreeBSD fan, I have > proposed FreeBSD to my Boss convincing him that FreeBSD is more Fast and > Secure solution for his needs... And now I want to show the results... > *Hardware:* > Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core > 2x6MB cache WITH 16 GB RAM. > > *Tools:* > 1. FreeBSD 7 Production Release > 2. Apache 2.2.9 > 3. MySQL 5.1.26 > 4. PHP 5.2.6 > > My question is, "*To get the speed, performance and security*": > > Should I use Ports or Packages to install all these tools One by One? > > *OR* > Should I use TAR files and compile them manually. For example giving command > line arguments and commands like > > ./configure --prefix=/www --enable-module=so > make > make install > cd ../php-xxx > ./configure --with-mysql --with-apxs=/www/bin/apxs > make > make install > > etc.... > > I have googled but still haven't reached to solution...personally I would > prefer comiling them with command line arguments > but then I seek some help from you guys i.e. > > How should I write this ./configure......stuff in FreeBSD and what would be > the best options combination, I must choose to get the speed, performane and > security in Apache, MySQL and PHP? > > Any suggestion is very welcomed! > > Best to just use the ports. They take care of all of the dependencies for you and have extra patches to make them work optimally for FreeBSD. Why ./configure by hand when the port's makefile will do it for you? -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses"