rommel at layer-7
Dec 13, 2011, 10:08 PM
Post #3 of 7
On 14. Dec 2011, at 5:56 , Andrew McMillan wrote:
> On Tue, 2011-12-13 at 23:46 +0100, Michael Rommel wrote:
>> I wanted to migrate my existing installation to a new server running
>> ubuntu oneiric. Since I wanted to use nginx as webserver,
>> I was wondering, whether there is a way to remove the hard dependency
>> on Apache from the package and instead point to a meta-package.
>> The Apache dependency is in the standard ubuntu package as well as in
>> the http://debian.mcmillan.net.nz archives.
>> Any ideas on that - am I doing something wrong?
> As far as I can see DAViCal *does not* depend on Apache, and not does
> libawl-php. It does specify a dependency on php5-pgsql and I suspect
> that from somet chain of dependencies from there you might find Ubuntu
> installing libapache2-mod-php5 and so on down the Apache path.
Ah - I see! Since this is a fresh minimal install, there are very few packages
installed right now, so chances are, that the dependency chain is exactly,
as you describe. I was fooled by apt-get that put apache first on the list of
packages to install, so I'll have to work out manually, which is the real
chain of dependencies and at which point apache gets required.
> For nginx that would all be wrong, of course, and you would want to
> choose a less-travelled path. I would start by installing nginx, and
> the whatever-you-need-to-do to run PHP5 applications in nginx, and build
> that up until you have php5-pgsql installed.
This is a very good advice - I'll try that as soon as I come home from work tonight.
It's my first attempt with nginx, so I'll have to invest some time here for figuring out
how this part of the equation will work.
> You might also want the --no-install-recommends option to apt-get, since
> libawl-php "Recommends" php5 as well, and it might be the "recommends"
> path that is giving you the Apache installation, rather than a strict
> dependency path.
ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
Thank you very much for the detailed tips - I will report my experience with that.
Maybe there is then some sort of information that you might like to include
on davical's web page.
> These dependencies have been pretty carefully crafted over time, as you
> can see... :-)
> Andrew McMillan.
Michael Rommel, Erlangen, Germany
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
Davical-general mailing list
Davical-general [at] lists