Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 14:07:36 +1100
From:      andrew clarke <mail@ozzmosis.com>
To:        Rei Okamoto <okamoto@mix-net.co.jp>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question regarding a server with an unsupported old version
Message-ID:  <20121023030736.GA41039@ozzmosis.com>
In-Reply-To: <20121022113136.7BB4.59217E37@mix-net.co.jp>
References:  <20121022113136.7BB4.59217E37@mix-net.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2012-10-22 11:31:36 UTC+0900, Rei Okamoto (okamoto@mix-net.co.jp) wrote:

> I want to build the test server as close to the
> actual server as possible, such as considering the
> OS's version 4.11 to be close enough to 4.7, but
> as I try to install PHP4 with a following command,

Like others have said, if at all possible you should at least try to
upgrade to supported versions of FreeBSD & PHP 4.

FreeBSD 7.x should have similar system requirements as 4.7, except for
needing more disk space. Having said that though, support for FreeBSD
7.4 is estimated to end in February 2013, just four months away, and I
can't see any signs on the FreeBSD web site that there is a 7.5
release being planned. So perhaps switching to 8.3 is the more
sensible option if your hardware will allow it.

I should point out that it should be possible to use 'pkg_create -a'
on the existing system to create tarballs of every installed package,
then install FreeBSD 4.7 under VirtualBox, copy the tarballs to the
virtual machine, then install all of them with 'pkg_add *.tgz'.

It may also be possible to use rsync to synchronise the VM's
filesystem with the actual server machine, although I think rsync will
need to be installed on both. Also, sshd will probably need to be
temporarily enabled on the original server if it's not already.

There is also the 'dump' and 'restore' programs in FreeBSD that could
be used for cloning a FreeBSD system over a network, although I'm not
at all familiar with their usage.

Is there any particular reason you went with 4.11? Is it because it
was the last of the 4.x series? (I don't recall offhand.) I vaguely
recall there were some ABI changes over the lifetime of the 4.x series
which meant binaries built for, say, FreeBSD 4.0 would not run under
later versions (4.8 perhaps). I only mention this because you might
encounter problems running binaries built for FreeBSD 4.7 under
FreeBSD 4.11.

Regards
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121023030736.GA41039>