Ed Flecko schrieb:
Hi folks,
For a variety of reasons and features, I'd like to install the
apache-httpd-2.2.4.tgz package. As a side note, I tried to install it
on OpenBSD 4.2, and there are a few package dependencies it apparently
is missing (at least on my box, which runs 4.2 without X) because the
install fails.
Anyway,
1.) Is there a "correct" way to uninstall the default Apache 1.3 that
ships with OpenBSD? I can't use a "pkg_delete..." can I?
2.) Maybe I don't need to? If I don't uninstall the original Apache,
will the new version overwrite the 1.3 version?
3.) Do I need to chroot the Apache 2.2.4 or will the "default" install
set it up that way?
Thank you,
Ed
1) Not recommended since 1.3 is part of the base distro. Just set
httpd_flags="NO" in /etc/rc.conf.local
to prevent startup. Dependencies problem is most likely due to expat
which is in xbase, you may want to try 4.3 instead which is to be
released in a couple of days.
2) No, since packages install somewhere under /usr/local, while base
distro is in parent directories.
3) 'find /usr/local/share -type d | grep apache' or similar and look
around if you find some useful docs/configuration examples or even
startup scripts/snippets that you can use in /etc/rc.local.
Regards,
Dorian