CentOS 5.3
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: CentOS 5.3
Your yum configuration seems to be missing the CentOS base and updates repositories...
Lemonbit Internet Dedicated Server Management
Re: CentOS 5.3
Oh, ok, it's always something.breun wrote:Your yum configuration seems to be missing the CentOS base and updates repositories...

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
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
Re: CentOS 5.3
Success!
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.
Code: Select all
# cat /etc/redhat-release
CentOS release 5.3 (Final)
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: CentOS 5.3
Always.damon wrote:Question: Should I leave these two enabled all the time or just when I know I want to update Centos?
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: CentOS 5.3
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).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.
Lemonbit Internet Dedicated Server Management
Re: CentOS 5.3
Thanks, so should I only be concered with the ones where I have made changes to the file?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).
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?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: CentOS 5.3
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
Re: CentOS 5.3
Thank you for the tip, Kalimari.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
You've solved another issue for me.
