<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>http://www.emigar.com/wiki/index.php?action=history&amp;feed=atom&amp;title=RedHat_Local_Repository</id>
	<title>RedHat Local Repository - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="http://www.emigar.com/wiki/index.php?action=history&amp;feed=atom&amp;title=RedHat_Local_Repository"/>
	<link rel="alternate" type="text/html" href="http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;action=history"/>
	<updated>2026-05-24T01:03:23Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5134&amp;oldid=prev</id>
		<title>WikiSysop il 10:44, 23 mar 2011</title>
		<link rel="alternate" type="text/html" href="http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5134&amp;oldid=prev"/>
		<updated>2011-03-23T10:44:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versione delle 10:44, 23 mar 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Creazione Repository Locale per Red Hat Enterprise Linux==&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RHEL – local repository&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==&lt;/ins&gt;RHEL – local repository&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For one of my clients we were deploying 12 Red Hat Enterprise Linux servers. The client has quite strict security rules, therefore patch management via RH Network was not an option. RHN proxy server or Satellite server was out of project budget. At the end I created a central RHEL local repository. We dedicated another RHEL server just for this purpose (thanks to virtualization friendly Red Hat licensing).&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For one of my clients we were deploying 12 Red Hat Enterprise Linux servers. The client has quite strict security rules, therefore patch management via RH Network was not an option. RHN proxy server or Satellite server was out of project budget. At the end I created a central RHEL local repository. We dedicated another RHEL server just for this purpose (thanks to virtualization friendly Red Hat licensing).&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5133&amp;oldid=prev</id>
		<title>WikiSysop il 10:44, 23 mar 2011</title>
		<link rel="alternate" type="text/html" href="http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5133&amp;oldid=prev"/>
		<updated>2011-03-23T10:44:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versione delle 10:44, 23 mar 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 54:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 54:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==fonti==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==fonti==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://fojta.wordpress.com/2010/03/17/rhel-local-repository/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://fojta.wordpress.com/2010/03/17/rhel-local-repository/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://access.redhat.com/kb/docs/DOC-7228&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wiki-mw_:diff:wikidiff2:1.12:old-5132:rev-5133:1.14.1 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5132&amp;oldid=prev</id>
		<title>WikiSysop: Creata pagina con &#039;==Creazione Repository Locale per Red Hat Enterprise Linux== RHEL – local repository  For one of my clients we were deploying 12 Red Hat Enterprise Linux servers. The client ha…&#039;</title>
		<link rel="alternate" type="text/html" href="http://www.emigar.com/wiki/index.php?title=RedHat_Local_Repository&amp;diff=5132&amp;oldid=prev"/>
		<updated>2011-03-23T10:31:40Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;#039;==Creazione Repository Locale per Red Hat Enterprise Linux== RHEL – local repository  For one of my clients we were deploying 12 Red Hat Enterprise Linux servers. The client ha…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Creazione Repository Locale per Red Hat Enterprise Linux==&lt;br /&gt;
RHEL – local repository&lt;br /&gt;
&lt;br /&gt;
For one of my clients we were deploying 12 Red Hat Enterprise Linux servers. The client has quite strict security rules, therefore patch management via RH Network was not an option. RHN proxy server or Satellite server was out of project budget. At the end I created a central RHEL local repository. We dedicated another RHEL server just for this purpose (thanks to virtualization friendly Red Hat licensing).&lt;br /&gt;
&lt;br /&gt;
* Install minimal RHEL installation&lt;br /&gt;
* Dedicate one harddrive for the repository packages&lt;br /&gt;
* Disable SElinux for httpd (in /etc/selinux/targeted/booleans)&lt;br /&gt;
      httpd_disable_trans=1&lt;br /&gt;
* Allow access to these two sites on the outgoing firewall:&lt;br /&gt;
      209.132.183.44  xmlrpc.rhn.redhat.com&lt;br /&gt;
      92.122.186.196  content-xmlrpc.rhn.redhat.com&lt;br /&gt;
* Register the installation by running rhn_register and typing registration info&lt;br /&gt;
* Mount the repository harddrive into /opt/repository&lt;br /&gt;
* Download the repository for the first time:&lt;br /&gt;
      yum install yum-utils&lt;br /&gt;
      yum install createrepo&lt;br /&gt;
      reposync -p /opt/repository/ –repoid=rhel-x86_64-server-5 –l&lt;br /&gt;
      createrepo /opt/repository&lt;br /&gt;
* Create script to update the repository: /usr/local/bin/update-repository.sh&lt;br /&gt;
      echo Update script started at $(date) &amp;gt;&amp;gt; /var/log/update-repository.log&lt;br /&gt;
      reposync -p /opt/repository/ –repoid=rhel-x86_64-server-5 -l -n&lt;br /&gt;
      createrepo /opt/repository/&lt;br /&gt;
      echo Update script ended at $(date) &amp;gt;&amp;gt; /var/log/update-repository.log&lt;br /&gt;
* make it executable: chmod +x /usr/local/bin/update-repository.sh&lt;br /&gt;
* add it to crontab to run every day at 00:15: crontab -e&lt;br /&gt;
      15 0 * * * /usr/local/bin/update-repository.sh &amp;gt; /var/log/update-repository-result.log&lt;br /&gt;
* share the repository via http:&lt;br /&gt;
      ln -s /opt/repository/ /var/www/html/create:&lt;br /&gt;
      /etc/httpd/conf.d/repository.conf&lt;br /&gt;
      &amp;lt;Directory “/var/www/html/repository”&amp;gt;&lt;br /&gt;
      Options Indexes +FollowSymLinks&lt;br /&gt;
      AllowOverride None&lt;br /&gt;
      Order allow,deny&lt;br /&gt;
      Allow from all&lt;br /&gt;
      &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*     Set up /etc/yum.repos.d/repository.repo on all RHEL clients:&lt;br /&gt;
      [repository]&lt;br /&gt;
      name=Red Hat Enterprise Linux $releasever – $basearch&lt;br /&gt;
      baseurl=http://&amp;lt;URL of the local repository server&amp;gt;/repository&lt;br /&gt;
      enabled=1&lt;br /&gt;
      gpgcheck=0&lt;br /&gt;
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat&lt;br /&gt;
* Disable RHN on all clients but the local repository: /etc/yum/pluginconf.d/rhnplugin.conf&lt;br /&gt;
&lt;br /&gt;
      [main]&lt;br /&gt;
      enabled = 0&lt;br /&gt;
      gpgcheck = 1[rhel-i386-server-5]&lt;br /&gt;
      enabled = 0  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==fonti==&lt;br /&gt;
http://fojta.wordpress.com/2010/03/17/rhel-local-repository/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Categoria:OpenSource]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>