rhel ES 3 and plesk 7.5.1 Setup and config problem

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Easlyneanar

rhel ES 3 and plesk 7.5.1 Setup and config problem

Unread post by Easlyneanar »

Hi everyone,

I'm very confuse about how to setup my redhat enterprise ES 3 to add your package using yum and up2date. I don't understand how up2date and yum work together.

I added this in my /etc/sysconfig/rhn/sources:

[root@zeus upgrade]# cat /etc/sysconfig/rhn/sources
### this describes the various package repos up2date will look into
### for packages. It currently supports apt-rpm repos, yum repos,
### and "dir" repos


### format is one repo entry per line, # starts comments, the
### first word on each line is the type of repo.

### the defalt rhn (using "default" as the url means
### use the one in the up2date config file
### This is required.
up2date default

### When a channel-label is required for the non up2date repo's,
### the label is soley used as an internal identifier and is not
### based on the url or any other info from the repo.

### an apt style repo, this time arjanv's 2.6 kernel repo
### format is:
### type channel-label service:server path repo name

#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note that for apt repos, there can be multiple repo names specificed
### space seperated.

### an yum style repo
### format:
### type channel-label url

#yum fedora-9-i386-stable #http://download.fedora.us/fedora/redhat ... yum/stable

# Atomic RPMS
yum atomic http://3es.atomicrocketturtle.com/atomic/art/3ES/

# SW-Soft PSA 7.5.x RPMS
yum atomic-psa75 http://3es.atomicrocketturtle.com/atomic/psa75/3ES/

### an local directory full of packages
### format
#dir my-favorite-rpms-i386-9 /var/spool/RPMS/


# multiple versions of all repos except "up2date" can be used. #Depenencies
# can be resolved "cross-repo" if need be.


Now yum.conf :

# $Id: yum-rh.conf,v 1.2 2003/09/18 16:29:06 dude Exp $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
gpgcheck=1
tolerant=1
exactarch=1

[os]
name=Red Hat Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/redhat/$releas ... asearch/os

[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/redhat/$releas ... ch/updates

[freshrpms]
name=Red Hat Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/redhat/$releas ... /freshrpms

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/
baseurl=http://archive.atomicrocketturtle.com/a ... eleasever/
baseurl=http://www.atomicrocketturtle.com/atomi ... eleasever/


Well i imagine the line in up2date point to the channel name in yum.conf .

Like : yum atomic http://3es.atomicrocketturtle.com/atomic/art/3ES/ will refer to the atomic channel in yum.conf (don't know what the url would be use for.

I didn't find the yum.conf line for the psa 7.5.x


It would be really fine if you could help me understand how it works and how up2date and yum interact between them. Since i work directly on a production server i cannot screw anything without big consequence. I'm going to build a test server to test it but it would be really nice to have some hint about how to proceed :)

I'm going to update some package too :

PHP for 4.3.10 and MySQL 4.x am i going to fall in problem?


Regards,

Easlyneanar
Easlyneanar

Unread post by Easlyneanar »

I forgot to say i run RedHat Enterprise ES 3 update 4
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

With 3ES you probably just want to use up2date, since you can only get your redhat base/updates rpms through that.
Easlyneanar

up2date VS yum

Unread post by Easlyneanar »

I thought your package were only available throught yum and i had to install it to get the package and be able to update teh box to mysql 4.x and php to more than 4.3.2 like 4.3.10 who is not support by default with redhat networks channel for ES version.


I'm not sure to understand too how exactly yum and up2date works, it seems to me like they connect to a server with a list of rpm and compare the list with what is install on the system to verify if all is update (if version on server is older than version on yum channel server.)

It's quite confusing for me like you can probably see.

And i didn't see the channel for plesk 7.5 like I wrote already, what should i do or write in teh config file to add this channel.

Easlyneanar

P.S.: i need more up to date software than what RHEL ES 3 offer. I need some function only available in mysql 4.x and in php 4.3.10
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

yum and up2date are package managers, for everyone other than 3ES users (not the clones, real-deal 3ES), they can use yum. 3ES users however have only one source for distribution updates, which is redhat. Fortunately redhat recognized that there are other 3rd party archive maintainers like me, AT, and Dag just to list a few. So they added in support for yum archives to up2date. That means you can access both my, and redhats archives through one command, up2date.

This doesnt mean you cant use yum, it just means that for you to get access to a number of the OS dependency packages, you need to use something that can, which is up2date. So its better for you to use that when accessing my archives.
Easlyneanar

Unread post by Easlyneanar »

Alright, this way i will add your channel to my up2date. I wonder if i need to have yum installed since it ask for yum in up2date.conf .
Post Reply