New Current Server Installation

Lawrence MacIntyre <[email protected]> 28 Oct 2002 17:44:57 -0500
Newsgroups gmane.network.up2date.current.devel
Message-ID <1035845098.30025.21.camel@nautique>
hi:

I am a bit confused about how to configure a new current server.  I have
a stock RH7.3 system, and we also have a machine with i386 mirrors of
RH7.2, RH7.3, and RH8.0 as well as all of the updates from all of the
versions and architectures that RH has ever had.  I can NFS mount the
directories with the updates and Installation trees on the current
server and that way I don't have to deal with keeping the directories
current.

What I want to do is make a server that will allow anyone in my group
with a RH7.3 or RH8.0 with any of the i386/i586/i686/athlon
architectures update their machine.  I'm assuming that up2date will let
you install RPMs that aren't yet installed, and that's why the
installation trees are served.

The directory trees look like 

linux/7.2/en/os/i386/RedHat/RPMS 

   where 7.2 can be 7.3 or 8.0 and all of the installation RPMs are
present

linux/updates/1.0/en/os/athlon

  where 1.0 can be anything up to 8.0 and athlon can be i38, i586, i686,
or noarch.


I installed 1.4.2, and configured it, and started httpd.  The first time
I tried rhn_register on the server, it failed, but the second time, it
worked.  I didn't change anything, I just reran rhn_register.

Now, I want to make all of the channels, and I have no idea what to do
next.

From the current.conf file, we find:

valid_channels = redhat-7.3-i386

Is that a comma-separated or whitespace separated list or something
else?

Now what do I do for the athlon, etc. channels, or does the i386 channel
contain them all?

I made this, when I was going to copy all of the RPMS into one
directory, and then, from reading the mailing list archives, I found
that I could use a mirror from RedHat (Yay!!!).  So what do I have to do
for the directory structure now?

rpm_dirs = /home/redhat-7.3/i386/RedHat/RPMS
           /home/redhat-7.3/i386/other-pkgs/rh-updates 

From the mailing list, current uses pgsql, but I see no notice about
having to start it.  Do I need to add service postgresql start to my
startup and configure it?

In the current.httpd.conf file, the line:

Alias /XMLRPC/$RHN /home/current/www

What does this refer to?  Is this the root directory for the .rpm
files?  

As payment for the answers to my many questions, I will fix the
documentation to be more explanatory in these areas.

Thanks!

-- 
     Lawrence MacIntyre     865.574.8696     [email protected]
                Oak Ridge National Laboratory
Center for High Performance Information Infrastructure Technology
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9vb3pCNjP8rawCW4RAikFAKCSS2BLEvles+dcIgPJHDZELJN0DgCeIadh
8TRLY+j9KjpLy4vMSvtX0Z4=
=IEy5
-----END PGP SIGNATURE-----