<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to setup local yum repository for centos 5 media</title>
	<atom:link href="http://www.tuxhat.com/linux/centos/setup-local-yum-repository-centos-5-media/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tuxhat.com/linux/centos/setup-local-yum-repository-centos-5-media/</link>
	<description>Linux / sysadmin / Debian / Ubuntu / Red Hat / Centos</description>
	<lastBuildDate>Sun, 20 Dec 2009 03:41:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Arun Bagul</title>
		<link>http://www.tuxhat.com/linux/centos/setup-local-yum-repository-centos-5-media/comment-page-1/#comment-597</link>
		<dc:creator>Arun Bagul</dc:creator>
		<pubDate>Sun, 20 Dec 2009 03:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.tuxhat.com/?p=16#comment-597</guid>
		<description>Hi!  

Thx for article it helped me a lot..</description>
		<content:encoded><![CDATA[<p>Hi!  </p>
<p>Thx for article it helped me a lot..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjad</title>
		<link>http://www.tuxhat.com/linux/centos/setup-local-yum-repository-centos-5-media/comment-page-1/#comment-591</link>
		<dc:creator>Amjad</dc:creator>
		<pubDate>Wed, 11 Nov 2009 16:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.tuxhat.com/?p=16#comment-591</guid>
		<description>Hi All,

If you are getting a &#039;YUM Public key check error&#039; after doing the above steps then once again edit the file 

/etc/ yum.repos.d/CentOS-Media.repo

and change the line &quot;gpgcheck=1&quot; to &quot;gpgcheck=0&quot;.

This will solve the problem.


Regards,

Amjad A.R.
Phone : - 0 9895448361
Engineer, Embedded Systems.
Admin,Networks and Systems.</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>If you are getting a &#8216;YUM Public key check error&#8217; after doing the above steps then once again edit the file </p>
<p>/etc/ yum.repos.d/CentOS-Media.repo</p>
<p>and change the line &#8220;gpgcheck=1&#8243; to &#8220;gpgcheck=0&#8243;.</p>
<p>This will solve the problem.</p>
<p>Regards,</p>
<p>Amjad A.R.<br />
Phone : &#8211; 0 9895448361<br />
Engineer, Embedded Systems.<br />
Admin,Networks and Systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjad</title>
		<link>http://www.tuxhat.com/linux/centos/setup-local-yum-repository-centos-5-media/comment-page-1/#comment-590</link>
		<dc:creator>Amjad</dc:creator>
		<pubDate>Wed, 11 Nov 2009 16:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tuxhat.com/?p=16#comment-590</guid>
		<description>Hi all,

The info provided above is not only enough for the problem specified. Most of the normal Linux users didn&#039;t prefer to install from command link using the command mentioned above. For installing packaged from the DVD ROM by disabling online checking for repos, please follow the steps below :

There are two important files we need to edit for achieving the above goal. 

File 1 : /etc/ yum.repos.d/CentOS-Base.repo

Edit the above mentioned file and add the line &quot;enabled=0&quot; in every section. After that the file will look like this :


# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


File 1 : /etc/ yum.repos.d/CentOS-Media.repo

Edit the above mentioned file and change the line &quot;enabled=0&quot; to &quot;enabled=1&quot;. After that the file looks like this :


# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-5.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
#  
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c4-media [command]
 
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta



After doing these two things, try installing packages from &quot;Add/Remove Software&quot; . It will never check for online repos and will install packages from DVD itself. 


Hope you enjoyed the help. Happy installing. Feel free to contact TUXHAT for doubts and queries in Linux.


Regards,

Amjad A.R.
Phone : 0 9895448361</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>The info provided above is not only enough for the problem specified. Most of the normal Linux users didn&#8217;t prefer to install from command link using the command mentioned above. For installing packaged from the DVD ROM by disabling online checking for repos, please follow the steps below :</p>
<p>There are two important files we need to edit for achieving the above goal. </p>
<p>File 1 : /etc/ yum.repos.d/CentOS-Base.repo</p>
<p>Edit the above mentioned file and add the line &#8220;enabled=0&#8243; in every section. After that the file will look like this :</p>
<p># CentOS-Base.repo<br />
#<br />
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.<br />
# The mirror system uses the connecting IP address of the client and the<br />
# update status of each mirror to pick mirrors that are updated to and<br />
# geographically close to the client.  You should use this for CentOS updates<br />
# unless you are manually picking other mirrors.<br />
#<br />
# If the mirrorlist= does not work for you, as a fall back you can try the<br />
# remarked out baseurl= line instead.<br />
#<br />
#</p>
<p>[base]<br />
name=CentOS-$releasever &#8211; Base<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os<br />
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>#released updates<br />
[updates]<br />
name=CentOS-$releasever &#8211; Updates<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=updates<br />
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>#packages used/produced in the build but not released<br />
[addons]<br />
name=CentOS-$releasever &#8211; Addons<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=addons<br />
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>#additional packages that may be useful<br />
[extras]<br />
name=CentOS-$releasever &#8211; Extras<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=extras<br />
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>#additional packages that extend functionality of existing packages<br />
[centosplus]<br />
name=CentOS-$releasever &#8211; Plus<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=centosplus<br />
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>#contrib &#8211; packages by Centos Users<br />
[contrib]<br />
name=CentOS-$releasever &#8211; Contrib<br />
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=contrib<br />
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/<br />
gpgcheck=1<br />
enabled=0<br />
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5</p>
<p>File 1 : /etc/ yum.repos.d/CentOS-Media.repo</p>
<p>Edit the above mentioned file and change the line &#8220;enabled=0&#8243; to &#8220;enabled=1&#8243;. After that the file looks like this :</p>
<p># CentOS-Media.repo<br />
#<br />
# This repo is used to mount the default locations for a CDROM / DVD on<br />
#  CentOS-5.  You can use this repo and yum to install items directly off the<br />
#  DVD ISO that we release.<br />
#<br />
# To use this repo, put in your DVD and use it with the other repos too:<br />
#  yum &#8211;enablerepo=c4-media [command]<br />
#<br />
# or for ONLY the media repo, do this:<br />
#<br />
#  yum &#8211;disablerepo=\* &#8211;enablerepo=c4-media [command]</p>
<p>[c5-media]<br />
name=CentOS-$releasever &#8211; Media<br />
baseurl=file:///media/CentOS/<br />
        file:///media/cdrom/<br />
        file:///media/cdrecorder/<br />
gpgcheck=1<br />
enabled=1<br />
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta</p>
<p>After doing these two things, try installing packages from &#8220;Add/Remove Software&#8221; . It will never check for online repos and will install packages from DVD itself. </p>
<p>Hope you enjoyed the help. Happy installing. Feel free to contact TUXHAT for doubts and queries in Linux.</p>
<p>Regards,</p>
<p>Amjad A.R.<br />
Phone : 0 9895448361</p>
]]></content:encoded>
	</item>
</channel>
</rss>
