Should i do Yum update?

Drexxorx

Verified User
Joined
Nov 13, 2006
Messages
12
I just reformat my server and install directadmin. But i do not know whether i should yum update after that. To update apache , mysql , php , proftpd

Pleae help!
 
Make sure your /etc/yum.conf file has the standard DA excludes (for example, for httpd).

Then do:

yum update yum

Then compare yum.conf with yum.conf.rpmnew (if any) to make sure that you've got the latest stuff in yum.conf.

Then compare your yum.conf with yum.conf.rpmold (if any) to make sure your DA exclude line still exists.

Then do:

yum update

To get your system up-to-date.

That's what we do.

Jeff
 
Hi i dont quite understand with this 2 line

Then compare yum.conf with yum.conf.rpmnew (if any) to make sure that you've got the latest stuff in yum.conf.

Then compare your yum.conf with yum.conf.rpmold (if any) to make sure your DA exclude line still exists.

can you show me how to?
 
When yum installs a newer RPM it will do one of three things about the .conf file (if any).

1) if the .conf file doesn't have any changes, it'll leave it alone.

2) if the .conf file has a required change, and the updated program won't run without the change, then the old .conf file will be saved as ~.rpmold and the new file installed as the .conf file.

3) if the .conf file has a non-required change (but the change may add functionality), then the new .conf file will be saved as ~.rpmnew and the old .conf file will be left alone.

So your job is to make sure any new lines adding functionality are installed in the .conf file, if you want the functionality.

And if the old file is saved as ~.rpmold and the new file is installed as .conf your job is to make sure any custom lines installed by you or by DA in the old .conf file are moved to the new file.

Jeff
 
Back
Top