Great stuff Joseph!

I'm thinking a few tweaks and it would work without running
'install_rails_stack'.
It would be great to decouple things so shorter recipes can install just
what you want.

Something along the lines of the following might work:

require 'deprec/recipes'
require 'vmbuilder_plugins/all' # Neil Wilson released a gem containing
'gem', 'apt' and 'std' libs
                                           # Deprec packages them but will
soon simple require this gem.

task :install_php do
 <Josephs code 
her<http://forum.slicehost.com/comments.php?DiscussionID=249&page=1#Item_5>
e <http://forum.slicehost.com/comments.php?DiscussionID=249&page=1#Item_5>>
end

task :install_php_and_apache do
  install_apache
  install_php
end

- Mike

On 4/23/07, Joseph <[EMAIL PROTECTED]> wrote:
>
>
> Appears my last missive didn't go through, so here it is again. I
> wrote up some instructions for installing PHP 5 via deprec here:
>
> http://forum.slicehost.com/comments.php?DiscussionID=249&page=1#Item_5
>
> - J
>
> On Apr 23, 10:26 pm, "Mike Bailey" <[EMAIL PROTECTED]> wrote:
> > Hi Ehud,
> >
> > there's a new deprec google
> > group<http://groups.google.com/group/deprec-users>which might be more
> > appropriate for this question.
> >
> > Deprec sets up apache's mod_proxy_balancer to do load balancing between
> > multiple
> > mongrel processes. Ubuntu 6.06 ships with an earlier release of apache
> that
> > doesn't include this module.
> >
> > There are some good reasons you may wish to choosing and compile the
> core
> > components running on your server:
> >
> > - automatic updates can break your application (it happened to me once!)
> > - certain features only available on newer releases
> > - you can often leave out unneeded features to save memory
> > - you can patch the source
> >
> > Future deprec releases will rely less on packages supplied by Ubuntu and
> use
> > more downloaded/compiled packages. (See also Using
> > /usr/local<http://hivelogic.com/narrative/articles/using_usr_local>on
> > Hivelogic <http://hivelogic.com/>.)
> >
> > I would suggest compiling php yourself. For added credit, check out how
> > deprec
> > installs apache and make your own simple task to install php. Post the
> > results
> > to the deprec list <http://groups.google.com/group/deprec-users>.
> >
> > - Mike
> >
> > On 4/23/07, Ehud <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > hi everyone,
> > > I'm having problems installing php on ubuntu since dperec installs
> > > apache from source and not with apt-get. when I do apt-get install
> > > php5 it also tries to install the apache2 packages and that obviously
> > > does lots of bad things.
> >
> > > Has anyone managed to overcome this? why does deprec install from
> > > source anyway?
> >
> > > I just want phpmyAdmin on the server damn it! :)
> >
> > > Thanks,
> > > Ehud
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to