Page 1 of 1

help building a new box

Posted: Sun Jan 16, 2005 2:10 pm
by placain
I'm about to start using Plesk for the first time. I have several weeks or even a month or two to play with the new box before I have to actually migrate live data to it.

The box (provided by Server4You) will start out with a clean install of FC2 with Plesk 7.5.1.

Before I do anything else, I'd like to update everything as much as I can via YUM, using the ART and other repositories.

Can someone help point me in the right direction as to what I'll need in my /etc/yum.conf so as to get everything in the best possible condition?

Server4you has its own repository mirrors at http://fedora.server4you.net/ which I would obviously like to use for speed for the non-ART stuff.

Also, I'm very confused as to what the status of SpamAssassin 3 is with regards to Plesk... can anyone help enlighten me? I certainly don't want to go back to using 2.x ...

Thanks for any help anyone can provide!

Posted: Sun Jan 16, 2005 9:54 pm
by scott
generally, you just add the atomic channel to your yum.conf and you're done

Posted: Sun Jan 16, 2005 10:10 pm
by placain
Ok. This will be my first time using yum... does the following ([main] omitted) look sane?

Code: Select all

[base]
name=Fedora Core 2 - i386 - Base
baseurl=http://fedora.server4you.net/fedora/core/2/i386/os/

[updates-released]
name=Fedora Core 2 - i386 - Released Updates
baseurl=http://fedora.server4you.net/fedora/core/updates/2/i386/
exclude=kernel*

[atomic]
name=Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/2/
baseurl=http://archive.atomicrocketturtle.com/atomic/art/2/
baseurl=http://www.atomicrocketturtle.com/atomic/art/2/

When packages of the same name appear in two repositories (e.g., php and mysql in both updates-released and in atomic how does yum know which one I want to use?

Thanks for your help!

Posted: Sun Jan 16, 2005 10:13 pm
by scott
RPM resolution is based on whats newest, so whoever has the latest in the archive wins

Posted: Sun Jan 16, 2005 10:16 pm
by placain
Is there a way to override that? That seems ... less than optimal, if one wants a particular build, like one of the ones you've built.

Posted: Sun Jan 16, 2005 10:19 pm
by placain
For instance, you built the mysql rpm with a mysql3 client library so it'll work with php properly... I wouldn't then want another repository's mysql rpm trumping that all of a sudden...

Posted: Sun Jan 16, 2005 10:26 pm
by scott
sure, read the yum man pages

Posted: Mon Jan 17, 2005 2:08 am
by placain
A ha :)

Does this look sane, then?

Code: Select all

[main]
pkgpolicy=last

[base]
name=Fedora Core 2 - i386 - Base
baseurl=http://fedora.server4you.net/fedora/core/2/i386/os/

[updates-released]
name=Fedora Core 2 - i386 - Released Updates
baseurl=http://fedora.server4you.net/fedora/core/updates/2/i386/
exclude=kernel*

# ZZ so it's sorted LAST for pkgpolicy
[ZZatomic]
name=Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/2/
        http://archive.atomicrocketturtle.com/atomic/art/2/
        http://www.atomicrocketturtle.com/atomic/art/2/