web/html/docs/beta/mirror-tutorial generated-index.php, 1.5, 1.6 index.php, 1.5, 1.6 ln-legalnotice.php, 1.5, 1.6 rv-revhistory.php, 1.5, 1.6 sn-client-config.php, 1.4, 1.5 sn-planning-and-setup.php, 1.5, 1.6 sn-server-config.php, 1.5, 1.6
Paul W. Frields (pfrields)
fedora-extras-commits at redhat.com
Fri Nov 11 17:00:01 UTC 2005
Author: pfrields
Update of /cvs/fedora/web/html/docs/beta/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22970
Modified Files:
generated-index.php index.php ln-legalnotice.php
rv-revhistory.php sn-client-config.php
sn-planning-and-setup.php sn-server-config.php
Log Message:
Republish with small createrepo update
Index: index.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/beta/mirror-tutorial/index.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- index.php 11 Nov 2005 15:34:17 -0000 1.5
+++ index.php 11 Nov 2005 16:59:59 -0000 1.6
@@ -37,7 +37,7 @@
Using a command line interface
</p></li></ul></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sn-about-mirrors"></a>1.3. About Mirrors</h3></div></div></div><p>
A <span class="emphasis"><em>mirror</em></span>
- <a class="indexterm" name="id2795332"></a> is a server
+ <a class="indexterm" name="id2544878"></a> is a server
that provides a copy of one or more collections of files.
Mirroring a site reduces traffic to the original source site,
thus spreading the stress and bandwidth costs of many users
@@ -47,7 +47,7 @@
managing Internet services.
</p><p>
The site from which you retrieve files to build your mirror is
- called an <span class="emphasis"><em>upstream mirror</em></span><a class="indexterm" name="id2795353"></a>. If possible, choose an upstream mirror that is
+ called an <span class="emphasis"><em>upstream mirror</em></span><a class="indexterm" name="id2544899"></a>. If possible, choose an upstream mirror that is
located close to you geographically. This reduces unnecessary
traffic across transcontinental sections of the Internet, where
bandwidth is limited and expensive. Use only upstream mirrors
Index: rv-revhistory.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/beta/mirror-tutorial/rv-revhistory.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rv-revhistory.php 11 Nov 2005 15:34:17 -0000 1.5
+++ rv-revhistory.php 11 Nov 2005 16:59:59 -0000 1.6
@@ -75,7 +75,7 @@
</td></tr><tr><td align="left">Revision 0.36</td><td align="left">2005-11-11</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
<p>
Added some additional information about repository
- configuration (#172815).
+ configuration (#172815, #172819).
</p>
</td></tr></table></div></div>
Index: sn-client-config.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/beta/mirror-tutorial/sn-client-config.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sn-client-config.php 11 Nov 2005 15:34:17 -0000 1.4
+++ sn-client-config.php 11 Nov 2005 16:59:59 -0000 1.5
@@ -14,7 +14,7 @@
<code class="filename">/etc/yum.repos.d</code> and end with the suffix
<code class="filename">.repo</code>. Below is an example configuration
file.
- </p><div class="example"><a name="id2845977"></a><pre class="screen">
+ </p><div class="example"><a name="id2595476"></a><pre class="screen">
<code class="computeroutput">[mirror]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://server.mydomain.net/mirror/fedora/linux/core/$releasever/$basearch
Index: sn-planning-and-setup.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/beta/mirror-tutorial/sn-planning-and-setup.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sn-planning-and-setup.php 11 Nov 2005 15:34:17 -0000 1.5
+++ sn-planning-and-setup.php 11 Nov 2005 16:59:59 -0000 1.6
@@ -8,7 +8,7 @@
?>
<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2. Planning and Setup</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.php">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="sn-server-config.php">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sn-planning-and-setup"></a>2. Planning and Setup</h2></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sn-hierarchy"></a>2.1. The Distribution Structure</h3></div></div></div><p>
- The Fedora <span class="emphasis"><em>distribution</em></span><a class="indexterm" name="id2795419"></a>, which is the collection of all Fedora-related
+ The Fedora <span class="emphasis"><em>distribution</em></span><a class="indexterm" name="id2544966"></a>, which is the collection of all Fedora-related
files, uses the directory tree in <a href="sn-planning-and-setup.php#ex-fedora-dir-tree" title="Example 1. Fedora directory tree">Example 1, “Fedora directory tree”</a>. It may include multiple
versions of Fedora Core. The tree design makes it easier to "trim"
unnecessary or undesired files. When you set up a mirror,
@@ -73,7 +73,7 @@
folder contains images of the CD-ROM version of the
distribution.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note: RPM packages"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="./stylesheet-images/note.png"></td><th align="left">RPM packages</th></tr><tr><td align="left" valign="top"><p>
- <em class="firstterm">RPM</em><a class="indexterm" name="id2843284"></a>, originally the Red Hat Package Manager and now
+ <em class="firstterm">RPM</em><a class="indexterm" name="id2592878"></a>, originally the Red Hat Package Manager and now
the RPM Package Manager, is not just a file format. RPM is
also a system that tracks and interconnects software and
version information. The RPM system is quite popular, and many
@@ -111,8 +111,8 @@
<strong class="userinput"><code>cd /var/www/mirror/fedora/linux/core/4/i386/os/Fedora
ln ../../SRPMS SRPMS</code></strong>
</pre><p>
- The documentation for <span><strong class="application">anaconda</strong></span><a class="indexterm" name="id2843575"></a>, the Fedora Core installation program, calls this directory
- structure an <em class="firstterm">exploded tree</em><a class="indexterm" name="id2843588"></a>. This is because the package data on each CD is extracted,
+ The documentation for <span><strong class="application">anaconda</strong></span><a class="indexterm" name="id2593032"></a>, the Fedora Core installation program, calls this directory
+ structure an <em class="firstterm">exploded tree</em><a class="indexterm" name="id2593045"></a>. This is because the package data on each CD is extracted,
or exploded, to a large directory tree with a predetermined structure.
The <span><strong class="application">anaconda</strong></span> installer expects this structure
to some extent.
Index: sn-server-config.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/beta/mirror-tutorial/sn-server-config.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sn-server-config.php 11 Nov 2005 15:34:17 -0000 1.5
+++ sn-server-config.php 11 Nov 2005 16:59:59 -0000 1.6
@@ -66,7 +66,7 @@
create the configuration file
<code class="filename">/etc/httpd/conf.d/mirror.conf</code>. The
following listing is an example:
- </p><div class="example"><a name="id2845253"></a><pre class="screen">
+ </p><div class="example"><a name="id2594710"></a><pre class="screen">
<code class="computeroutput"># The name at which the mirror will be shared,
# followed by the name of the root directory of that tree.
Alias /mirror /var/www/mirror
@@ -103,12 +103,12 @@
you build your mirror in another directory, you may need to
modify the SELinux policy.
</p></td></tr></table></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sn-solving-dependencies"></a>3.3. Solving Dependencies</h3></div></div></div><p>
- Every RPM package has a <a class="indexterm" name="id2845370"></a><em class="firstterm">header</em> that contains all
+ Every RPM package has a <a class="indexterm" name="id2594827"></a><em class="firstterm">header</em> that contains all
the vital information about that package. This information
includes name, version and release, contents, the capabilities
provided by the package, and any prerequisites. These
prerequisites may include
- <span class="emphasis"><em>dependencies</em></span><a class="indexterm" name="id2845396"></a>. A dependency is a requirement for one or more
+ <span class="emphasis"><em>dependencies</em></span><a class="indexterm" name="id2594853"></a>. A dependency is a requirement for one or more
additional packages.
</p><p>
Packages installed without satisfying their dependencies may not
@@ -119,7 +119,7 @@
automatically, providing an improved user experience.
</p><p>
The Yellow Dog Updater Modified, or
- <span class="emphasis"><em>yum</em></span><a class="indexterm" name="id2845429"></a>, is a Python-based system for computing and solving
+ <span class="emphasis"><em>yum</em></span><a class="indexterm" name="id2594886"></a>, is a Python-based system for computing and solving
RPM dependencies. A <code class="command">yum</code> client retrieves a
cache of headers from its repository server, as well as a list
of available RPM packages and their exact locations on the
@@ -144,7 +144,7 @@
to <a href="http://fedora.redhat.com/docs/yum/" target="_top">http://fedora.redhat.com/docs/yum/</a>.
</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sn-repositories"></a>3.4. Configuring Repositories</h3></div></div></div><p>
A <code class="command">yum</code>
- <span class="emphasis"><em>repository</em></span><a class="indexterm" name="id2845529"></a> is a collection of packages on a server which
+ <span class="emphasis"><em>repository</em></span><a class="indexterm" name="id2594986"></a> is a collection of packages on a server which
supports <code class="command">yum</code> clients. Repositories can serve
both types of clients if desired.
</p><p>
@@ -202,6 +202,18 @@
</p><pre class="screen">
<strong class="userinput"><code>createrepo /var/www/mirror/fedora/linux/core/4/i386/os</code></strong>
</pre><p>
+ To create repository data for package groups in addition to
+ the package files, use the <code class="command">createrepo -g</code>
+ command. The <code class="option">-g</code> option requires a parameter
+ which points to the group file, <span class="emphasis"><em>relative</em></span>
+ to the given location of the package data. The following
+ command creates the package group data corresponding to the
+ repository directly above. Note the relative location of the
+ group file
+ <code class="filename">/var/www/mirror/fedora/linux/core/4i386/os/Fedora/base/comps.xml</code>.
+ </p><pre class="screen">
+<strong class="userinput"><code>createrepo -g Fedora/base/comps.xml /var/www/mirror/fedora/linux/core/4/i386/os</code></strong>
+</pre><p>
You may have certain clients who update their version of
<code class="command">yum</code> in a non-prescribed way. To minimize
problems for your clients, create both kinds of repository
More information about the scm-commits
mailing list