From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 09:54:49 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 256491065675 for ; Wed, 23 Jul 2008 09:54:49 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from smtp.vub.ac.be (smtp.vub.ac.be [134.184.129.111]) by mx1.freebsd.org (Postfix) with ESMTP id BFD718FC1C for ; Wed, 23 Jul 2008 09:54:48 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcAAIx7hkikD30E/2dsb2JhbAAIsgw Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.vub.ac.be with ESMTP; 23 Jul 2008 11:25:14 +0200 From: Julien Cigar To: VeeJay In-Reply-To: <2cd0a0da0807230206m4ebcf99eif6d069cb096d7632@mail.gmail.com> References: <2cd0a0da0807221305r5ae70309w4313dbea62d3fdf0@mail.gmail.com> <2cd0a0da0807230206m4ebcf99eif6d069cb096d7632@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Wed, 23 Jul 2008 13:34:22 +0200 Message-Id: <1216812862.2612.12.camel@frodon.be-bif.ulb.ac.be> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 8bit 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: Wed, 23 Jul 2008 09:54:49 -0000 At least ports-mgmt/portaudit, which check if installed ports have published security vulnerabilities. I don't use PHP, but I used to create a separate user for each webapp with a special login class, so I would run PHP in FCGI mode (with something like xcache) instead of mod_php. For the rest ... it's usually a question of configuration. On Wed, 2008-07-23 at 11:06 +0200, VeeJay wrote: > Really good contribution.... > > I would of course go with ports but have a question in mind.... > > What should be installation sequience? > > 1. Apache 2.2.9 > 2. MySQL 5.1.26 > 3. PHP 5.2.6 > And are there any options you guys would like to suggest to avoide for > performance or security reasons? > > Regards > > VJ > On Tue, Jul 22, 2008 at 10:05 PM, 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! > > > > -- > > Thanks! > > > > BR / vj > > > > > -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52