next up previous
Next: 2.4 Using the Installer Up: 2 Installation Previous: 2.2 Installing Apache/mod_perl/MySQL

Subsections


2.3 Getting Scoop

Before you can start installing and using Scoop, you're going to need to get it. Of course, if you already have it, then you can probably skip this section. Note that, while you'd usually want to get a stable version of Scoop, the nature of development with Scoop (at least, currently) results in a lot of new features being in the CVS development version, which is almost always stable. You'll probably want to get the development version.


2.3.1 Getting a Tarball

Probably the easiest way to do it is download a tarball. You can go to scoop.kuro5hin.org and get a tarball linked from there. You'll be able to get the current stable Scoop from there, or one built nightly from CVS. You'll also find instructions for using CVS. You can also go to Scoop's Sourceforge page and get the current and past versions.

Once you've downloaded Scoop, you'll want to decompress it. Copy the tarball to someplace where Apache can read it (such as ``/usr/local/apache/''), though not in the document root (such as under ``htdocs/''). Then decompress it (``tar zxf <filename>''), which will create a new directory called ``scoop''. You can then remove the tarball, or more it somewhere else.


2.3.2 Getting From CVS

You can download a tarball that's generated nightly from scoop.kuro5hin.org, or you can use the ``cvs'' program to check it out yourself. For the tarball, see the instructions above. To checkout manually, first make sure you have the ``cvs'' program, which you can get from the CVS web site. After that, switch to a directory where Apache can read, as outlined in the above section. Then issue the following commands:

$ cvs -d:pserver:anonymous@cvs.scoop.sourceforge.net:/cvsroot/scoop login
(when it prompts for a password, just press enter)
$ cvs -z3 -d:pserver:anonymous@cvs.scoop.sourceforge.net:/cvsroot/scoop co scoop
This will appear to do nothing for awhile, then several lines will scroll by. When it finishes, you'll have a new directory called ``scoop'', which is the same as the one you get from downloading a tarball.

Since you're using the CVS version, you'll want to keep up with the latest features and bug fixes. You can do this, and you don't have to keep checking out a new copy each time. Instead, just switch to your scoop directory, and issue the following:

$ cvs login
(hit enter for the password)
$ cvs update -P -d
This will check each file, and refetch any changed ones, then merge them together. Unless you make changes to the code, this won't matter. Even if you do, most likely it'll merge just fine. However, watch for any lines that start with ``C'', since that means there were conflicts during the merge. You'll want to open that file and search for ``<<<<<'', which will show you where the problem was. The old lines will be first, then following the ``========'' line will be the new lines, up until ``>>>>>>''. You'll need to either work them together, or remove one. Otherwise, Apache won't start next time you restart.


next up previous
Next: 2.4 Using the Installer Up: 2 Installation Previous: 2.2 Installing Apache/mod_perl/MySQL