Upgrading default Apache1.3 to Apache22 port??
Kaya Saman
SamanKaya at netscape.net
Sat May 29 21:26:15 UTC 2010
On 29/05/2010 23:52, Jerry wrote:
> On Sat, 29 May 2010 23:23:10 +0300
> Kaya Saman<SamanKaya at netscape.net> articulated:
>
>
>
>> Hi guys,
>>
>> after Google'ing around a bit I managed to stumble across this:
>>
>> http://www.freebsd.org/doc/en/books/handbook/ports-using.html
>>
>> http://www.freebsddiary.org/portupgrade.php
>>
>> what I am trying to achieve is to upgrade the currently install
>> Apache 1.3.x port over to the Apache22 port. The Apach1x got
>> installed through some ports which I built which if am not mistaken
>> was either Cacti or Munin.
>>
>> Anyhow, previously when running these guys and more on Linux I've
>> always used Apache2x so it would be great to do the same here....
>>
>> If I attempt to deinstall Apach1x the system tells me that I have to
>> do the same for all the dependencies too, which is not what I want.
>>
>> Is there a way to upgrade cleanly and smoothly??
>>
> If it was me, I would use 'pkg_delete' to remove the existing
> 'apache' port. "pkg_delete -dfv apache*"
>
> Make sure to update your ports tree, then cd to the www/apache22 port
> and run "make config" to insure you have it configured correctly. Then,
> "portmanager www/apache22 -l -f" to install the new version and insure
> that all dependencies are properly updated. I have done similar before
> and its worked well.
>
>
>
Thanks Jerry!!
It seems to have worked.... I just go into the config and check it; only
that part seems missing?? Maybe it's in a different place then /etc in
FreeBSD and I haven't worked it out yet. Even apache22 daemon is not in
/etc/rc.d.
Oh well am sure will all be fine more Google'ing I think for me :-)
Regards,
Kaya
More information about the freebsd-questions
mailing list