CentOS 5.3

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: CentOS 5.3

Unread post by breun »

Your yum configuration seems to be missing the CentOS base and updates repositories...
Lemonbit Internet Dedicated Server Management
damon
Forum User
Forum User
Posts: 53
Joined: Wed Mar 14, 2007 3:48 pm

Re: CentOS 5.3

Unread post by damon »

breun wrote:Your yum configuration seems to be missing the CentOS base and updates repositories...
Oh, ok, it's always something. :oops:

Code: Select all

# yum repolist
Loading "fastestmirror" plugin
repo id              repo name                                             status
asl-2.0              Atomicorp -  - Atomic Secured Linux 2.0     enabled
atomic              CentOS / Red Hat Enterprise Linux 5 - at     enabled
extras              CentOS-5 - Extras                                   enabled
plesk                Plesk Server Administrator                         enabled
This is a brand new server and I just used the atomic scripts to setup Centos and ASL

Now that I've checked I do have the Centos base/updates but they were disabled. so now I've got

Code: Select all

# yum repolist
Loading "fastestmirror" plugin
repo id              repo name                                 status
asl-2.0              Atomicorp -  - Atomic Secured Linux 2.0   enabled
atomic               CentOS / Red Hat Enterprise Linux 5 - at  enabled
base                 CentOS-5 - Base                           enabled
extras               CentOS-5 - Extras                         enabled
plesk                Plesk Server Administrator                enabled
updates              CentOS-5 - Updates                        enabled
Question: Should I leave these two enabled all the time or just when I know I want to update Centos?
damon
Forum User
Forum User
Posts: 53
Joined: Wed Mar 14, 2007 3:48 pm

Re: CentOS 5.3

Unread post by damon »

Success!

Code: Select all

# cat /etc/redhat-release
CentOS release 5.3 (Final)
A whole lot of rpm .rpmnew files were created, I'm always a little confused on what I should do with those, of the hundreds of config files it takes a lot of study to have any idea how a particular one should be setup.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: CentOS 5.3

Unread post by breun »

damon wrote:Question: Should I leave these two enabled all the time or just when I know I want to update Centos?
Always.
Lemonbit Internet Dedicated Server Management
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: CentOS 5.3

Unread post by breun »

damon wrote:A whole lot of rpm .rpmnew files were created, I'm always a little confused on what I should do with those, of the hundreds of config files it takes a lot of study to have any idea how a particular one should be setup.
Your system should continue working without doing anything, but I believe it's a good habit to merge any changes from your current configs into the rpmnew files and then making those the new configs (and restarting affected services so the changes take effect).
Lemonbit Internet Dedicated Server Management
damon
Forum User
Forum User
Posts: 53
Joined: Wed Mar 14, 2007 3:48 pm

Re: CentOS 5.3

Unread post by damon »

breun wrote:Your system should continue working without doing anything, but I believe it's a good habit to merge any changes from your current configs into the rpmnew files and then making those the new configs (and restarting affected services so the changes take effect).
Thanks, so should I only be concered with the ones where I have made changes to the file?

My understanding is that the rpmnew files are a new version of the default file, so on config files that I haven't changed, is it good practice to make the rpmnew the new config?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: CentOS 5.3

Unread post by breun »

damon wrote:Thanks, so should I only be concered with the ones where I have made changes to the file?

My understanding is that the rpmnew files are a new version of the default file, so on config files that I haven't changed, is it good practice to make the rpmnew the new config?
  • If you made changes: merge them into the rpmnew file and then start using the merged file. The diff command can be very helpful here. I like to use diff -u (unified diff) and diff -y (side-by-side) when comparing files.
  • If you didn't make any changes: start using the rpmnew file.
  • In both cases: make sure you can revert to your previous config in case things don't work out.
Lemonbit Internet Dedicated Server Management
Vampyre
New Forum User
New Forum User
Posts: 2
Joined: Mon May 18, 2009 9:31 am

Re: CentOS 5.3

Unread post by Vampyre »

Kalimari wrote:it's probably worth noting that running yum -y update will "upgrade" qmail to postfix if you are using Plesk 9.X. This will get around that small issue:

Code: Select all

yum -y update yum
yum clean all
yum -y update glibc
yum -y update --exclude=psa-mail-pc-driver
Thank you for the tip, Kalimari.
You've solved another issue for me. ;)
Post Reply