[CentOS] Update to base release
heller at deepsoft.com
Tue Sep 7 12:25:59 EDT 2010
At Tue, 7 Sep 2010 11:22:06 -0400 CentOS mailing list <centos at centos.org> wrote:
> Hello All,
> We have some machines running CentOS 4 Update 4 (4.4). We want to update
> these boxes to the stock CentOS 4 Update 8 (4.8).
> We have the 4.8 iso images. Is it possible to use up2date and have it use
> the 4.8 mounted iso images on a remote (install) server as the repository?
> The ISO's are accessible through http. These servers are remote with no
You could mount the ISO's via the loopback device on the http server
mount -t iso9660 -r -o loop /path/to/dvdrom.iso /var/www/centos48
then add /var/www/centos44 to /etc/httpd/conf/httpd.conf:
Alias /centos48/ "/var/www/centos48/"
Options Indexes FollowSymLinks
Then restart the httpd server:
/sbin/service httpd restart
Then on the machines you want to update:
name=CentOS-4.8 - Local Httpd
yum --disablerepo=\* --enablerepo=c48-local-httpd update
(The above was cribbed from the /etc/yum.repos.d/CentOS-Media.repo)
Basicly, the DVD *IS* a repository (corresponds to the base repo).
> CD/DVD option to upgrade that way.
> I have tried to Google this but can't seem to quite hit what I need. I found
> one that shows up2date-config GUI setup but I do not have X running on this
> server and do not want to screw up the config with the CLI version of it.
> We need to go to stock versions to match our production RHEL 4.8 machines.
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
More information about the CentOS