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
mkcd(1M)						  System Administration Commands						  mkcd(1M)

NAME
mkcd - create bootable Solaris ISO image SYNOPSIS
/usr/bin/mkcd -v [-l label] media-root iso DESCRIPTION
The mkcd utility takes media-root (the root of an on-disk Solaris install media) as input and creates a bootable Solaris ISO image in the file iso, using mkisofs(8). The file can then be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (Neither mkisofs(8) nor cdrecord(1) are SunOS man pages.) Caution - The directory tree media-root must contain the file boot/grub/stage2_eltorito, which will be written to the media boot sectors. This file will be modified with some boot information, thus it must be writable. If necessary, first save a copy prior to running this utility. OPTIONS
The following options are supported: -l label Sets label as the label/volume name of the ISO image. -v Verbose. Multiple -v options increase verbosity. OPERANDS
The following operands are supported: media-root Top-level directory of an on-disk Solaris install media. iso Name of the output file which will contain the resulting ISO image. EXAMPLES
Example 1 Creating an ISO Image and Burning a CD/DVD The following commands create an ISO image from the content of s10u1 and burn the image to a CD/DVD. # /usr/bin/mkcd s10u1 s10u1.iso # /usr/bin/cdrw -i s10u1.iso ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
cdrw(1), attributes(5) mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page) SunOS 5.11 25 Jul 2008 mkcd(1M)
All times are GMT -4. The time now is 01:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy