Re: Update to base release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Tue, 7 Sep 2010 11:22:06 -0400 CentOS mailing list <centos@xxxxxxxxxx> 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
('localeservername'):

mkdir /var/www/centos48
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/"

<Directory "/var/www/centos48/">
Options Indexes FollowSymLinks
AllowOverride None
</Directory>

Then restart the httpd server:

/sbin/service httpd restart

Then on the machines you want to update:

create /etc/yum.repos.d/CentOS-48-Http.repo:

[c48-local-httpd]
name=CentOS-4.8 - Local Httpd
baseurl=http://localeservername/centos48/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4

Then do 

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.
> Thanks,
> John




-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
                     
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux