Re: Local mirror of pear channels
| From: | Brett Bieber | Date: | Mon, 15 Sep 2008 15:41:47 +0000 |
| Subject: | Re: Local mirror of pear channels | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29259@lists.php.net to get a copy of this message | ||
Hi
On Fri, Sep 12, 2008 at 6:18 AM, Ruben Bloemgarten <ruben@abubble.nl> wrote:
> Hi all,
>
> I was wondering if there is a preferred way of setting up a local copy of
> the pear channels. The reason I want to do this is because I want greater
> control on the installed packages on the systems in my network, similar to
> using a local repository for application packages.
I don't believe we have an official method for setting up a local mirror yet.
The quickest way to get something working in the short term is to just
download the individual packages you need and have local copies of the
.tgz files then install with pear install ThisPackage-0.1.0.tgz
There is a command called download-all, which will download all the
latest releases of packages on the server.. which I've used in some
instances with other channels. Downloading all the packages from
pear.php.net will give you hundreds of packages and take quite a while
- so this may not be advisable.
You best bet would be to just download the individual packages
necessary, and then use pear install Package1.tgz Package2.tgz
Package3.tgz and so on to just install from the local filesystem.
--
Brett Bieber
http://saltybeagle.com/