<?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 a Network Repository to Install or Update Packages &#8211; Part 11	</title>
	<atom:link href="https://www.tecmint.com/setup-yum-repository-in-centos-7/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Sat, 27 Sep 2025 05:41:34 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1113008</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 15 Mar 2019 10:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=10908#comment-1113008</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1112607&quot;&gt;Ricardo&lt;/a&gt;.

@Ricardo,

First you need to set proxy connection settings in your exports path as shown.
&lt;pre&gt;
# export HTTP_PROXY=http://user:password@proxyhost:8080
&lt;/pre&gt;
Then you can tell that you want rsync to use below proxy settings for its traffic.
&lt;pre&gt;
# RSYNC_PROXY=user:password@proxyhost:8080
&lt;/pre&gt;
You can modify the above command as per your proxy connection requirements (some do not need user/password)

Finally you run your rsync job.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1112607">Ricardo</a>.</p>
<p>@Ricardo,</p>
<p>First you need to set proxy connection settings in your exports path as shown.</p>
<pre>
# export HTTP_PROXY=http://user:password@proxyhost:8080
</pre>
<p>Then you can tell that you want rsync to use below proxy settings for its traffic.</p>
<pre>
# RSYNC_PROXY=user:password@proxyhost:8080
</pre>
<p>You can modify the above command as per your proxy connection requirements (some do not need user/password)</p>
<p>Finally you run your rsync job.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ricardo		</title>
		<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1112607</link>

		<dc:creator><![CDATA[Ricardo]]></dc:creator>
		<pubDate>Thu, 14 Mar 2019 18:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=10908#comment-1112607</guid>

					<description><![CDATA[Hi, I need to pass &lt;strong&gt;rsync&lt;/strong&gt; through a proxy server to get to the mirror, what should i do?

Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>Hi, I need to pass <strong>rsync</strong> through a proxy server to get to the mirror, what should i do?</p>
<p>Thanks in advance</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anssi Johansson		</title>
		<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1061387</link>

		<dc:creator><![CDATA[Anssi Johansson]]></dc:creator>
		<pubDate>Mon, 19 Nov 2018 14:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=10908#comment-1061387</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-912534&quot;&gt;Bruno M. V. M. Salazar&lt;/a&gt;.

Nope, you get the repodata from the upstream mirror. There is no need at all to run createrepo.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-912534">Bruno M. V. M. Salazar</a>.</p>
<p>Nope, you get the repodata from the upstream mirror. There is no need at all to run createrepo.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anssi Johansson		</title>
		<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1061385</link>

		<dc:creator><![CDATA[Anssi Johansson]]></dc:creator>
		<pubDate>Mon, 19 Nov 2018 14:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=10908#comment-1061385</guid>

					<description><![CDATA[Hi, I&#039;m afraid your instructions are not correct. You must not use &lt;strong&gt;createrepo&lt;/strong&gt; to create the repodata, but instead you should use the &lt;strong&gt;repodata&lt;/strong&gt; you get from the mirror you sync from. 

If you create the &lt;strong&gt;repodata&lt;/strong&gt; yourself, you will break the GPG signing of &lt;strong&gt;repomd.xml&lt;/strong&gt; (see repomd.xml.asc). Please remove all references to &quot;&lt;strong&gt;createrepo&lt;/strong&gt;&#039;&quot;. 

For those thinking of setting up a public CentOS mirror based on this blog posting, you should sync everything with one &lt;a href=&quot;https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;rsync command&lt;/a&gt;, and not by individual version or repository. In this case the &lt;code&gt;-H&lt;/code&gt; (preserve hard links) rsync option would save you some bandwidth and hard disk space. 

Best regards, avij on behalf of the CentOS Linux Project.]]></description>
			<content:encoded><![CDATA[<p>Hi, I&#8217;m afraid your instructions are not correct. You must not use <strong>createrepo</strong> to create the repodata, but instead you should use the <strong>repodata</strong> you get from the mirror you sync from. </p>
<p>If you create the <strong>repodata</strong> yourself, you will break the GPG signing of <strong>repomd.xml</strong> (see repomd.xml.asc). Please remove all references to &#8220;<strong>createrepo</strong>&#8216;&#8221;. </p>
<p>For those thinking of setting up a public CentOS mirror based on this blog posting, you should sync everything with one <a target="_blank" href="https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/" rel="noopener" target="_blank">rsync command</a>, and not by individual version or repository. In this case the <code>-H</code> (preserve hard links) rsync option would save you some bandwidth and hard disk space. </p>
<p>Best regards, avij on behalf of the CentOS Linux Project.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1021265</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 06 Aug 2018 05:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=10908#comment-1021265</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1021088&quot;&gt;DINAKAR N K&lt;/a&gt;.

@Dinakar,

Please check this article: &lt;a href=&quot;https://www.tecmint.com/integrate-centos-7-to-samba4-active-directory/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Integrate CentOS 7 to Active Directory&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/setup-yum-repository-in-centos-7/comment-page-1/#comment-1021088">DINAKAR N K</a>.</p>
<p>@Dinakar,</p>
<p>Please check this article: <a target="_blank" href="https://www.tecmint.com/integrate-centos-7-to-samba4-active-directory/" rel="noopener" target="_blank">Integrate CentOS 7 to Active Directory</a>.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
