Sponsored Content
Operating Systems Linux Red Hat How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation Post 302688375 by fpmurphy on Sunday 19th of August 2012 01:39:37 AM
Old 08-19-2012
Yes, it is possible to do what you want to do. Essentially, what you need to do is create a local repository containing the Centos 5.8 packages and upgrade your system using that repository.

Code:
# mkdir -p /var/www/html/dvd/iso
# mount -o loop /your.iso /var/www/html/dvd/iso
# cd /var/www/html/dvd
# createrepo .
# yum clean all

Create a file /etc/yum.repos.d/file.repo which should have the contents as mentioned below:
Code:
[My-Repository]
name=My repository
baseurl=file:///var/www/html/dvd
enabled=1
gpgcheck=0

When you do "yum list" you should be able to see the new repository. If so, then you can use "yum upgrade" to upgrade your system.
 

7 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

Installing Solaris10 from ISO image in VMware

While installing solaris10 from iso dvd image in vmware on windows i get the follworing error right after i select solaris 10 from grub menu panic/thread=fec20160: page_unlock: page fe2b5730 is not locked why is it doing this? installation does work if i have the physical dvd into... (1 Reply)
Discussion started by: dplinux
1 Replies

2. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

3. Red Hat

can't ping to my VMWare CentOs after seting host name

Im using CentOs 5.5 , i tried to change the host name to be for example my_server_1 , according to the web i changed the /etc/sysconf/network to look like this : NETWORKING=yes NETWORKING_IPV6=no #HOSTNAME=localhost.localdomain HOSTNAME=my_server_1 and changed the hosts file to look like this... (1 Reply)
Discussion started by: umen
1 Replies

4. Red Hat

ssh connection keep disconected , how to find way? in CentOs vmware

Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies

5. Red Hat

CentOS Upgrade from 6.4 to 6.5 no updates

I did an upgrade on Jan 3,2014 from CentOS 6.4 to 6.5 and noticed that there hasnt been any updates since then Jan 03 11:45:05 Updated: 12:dhcp-common-4.1.1-38.P1.el6.centos.i686 Jan 03 11:45:06 Updated: hwdata-0.233-9.1.el6.noarch Jan 03 11:45:11 Updated:... (4 Replies)
Discussion started by: metallica1973
4 Replies

6. UNIX for Dummies Questions & Answers

Centos upgrade

Hello Guyz First of all, I'm new to Linux with basic SSH knowledge, so any additional help would be much appreciated. I'm using a Linux VPS == cat /etc/redhat-release CentOS release 5.10 (Final) == I know this is an outdated version. My VPS came with all necessary modules : PHP,... (5 Replies)
Discussion started by: johnchristy
5 Replies

7. Red Hat

Need RHEL/CentOS 7 'Little Endian' ISO for PowerPC

Hi! One of our clients need RHEL 7 on PPC hardware for their R&D setup and they are particular about this being 'Little Endian'. The problem is that Redhat doesn't have LE RHEL7 images below 7.1 while the latest toolkit (which is needed while reimaging an IBM LPAR) that IBM provides only... (0 Replies)
Discussion started by: satish51392111
0 Replies
yum(8)																	    yum(8)

NAME
yum - Yellowdog Updater Modified shell SYNOPSIS
yum shell [filename] DESCRIPTION
yum includes an interactive shell for conducting multiple commands or sets of commands during a single execution of yum. These commands can be issued manually or passed to yum from a file. The commands are much the same as the normal yum command line options. See here yum(8) for that information. There are a few additional commands documented below. config [argument] [value] args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude If no value is given it prints the current value. If value is given it sets that value. repo [argument] [option] list: lists repositories and their status enable: enable repositories. option = repository id disable: disable repositories. option = repository id transaction [argument] list: lists the contents of the transaction reset: reset (zero-out) the transaction solve: run the dependency solver on the transaction run: run the transaction Examples The following are examples of using the yum shell. list available packagename* groupinfo 'Some Group' install foo remove bar update baz run That will list available packages matching the glob 'packagename*'. It will return information on the group 'Some Group' It will then queue the following commands into the transaction: install foo, remove bar, update baz. Then the 'run' command will resolve dependencies for the transaction commands and run the transaction. SEE ALSO
yum (8) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@lists.baseurl.org or filed in bugzilla. Seth Vidal yum(8)
All times are GMT -4. The time now is 05:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy