[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

web/html/docs/mirror generated-index.php, 1.2, 1.3 index.php, 1.2, 1.3 ln-legalnotice.php, 1.2, 1.3 rv-revhistory.php, 1.2, 1.3 sn-client-config.php, 1.2, 1.3 sn-planning-and-setup.php, 1.2, 1.3 sn-server-config.php, 1.2, 1.3



Author: pfrields

Update of /cvs/fedora/web/html/docs/mirror
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7049

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:
Push new version 1.0




Index: index.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/mirror/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.php	28 Dec 2005 18:54:16 -0000	1.2
+++ index.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -20,7 +20,7 @@
     at <a href="http://bugzilla.redhat.com/"; target="_top">http://bugzilla.redhat.com/</a>.  When you file your bug, select "Fedora Documentation" as the
     <code class="systemitem">Product</code>, and select the title of this document as
     the <code class="systemitem">Component</code>.  The version of this document is
-    mirror-tutorial-0.37.2 (2005-12-28).
+    mirror-tutorial-1.0 (2006-02-06).
   </p><p>
     The maintainers of this document will automatically receive your bug report.
     On behalf of the entire Fedora community, thank you for helping us make
@@ -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.&#160;About Mirrors</h3></div></div></div><p>
 	A <span class="emphasis"><em>mirror</em></span>
-	<a class="indexterm" name="id2891586"></a> is a server
+	<a class="indexterm" name="id2890585"></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="id2891607"></a>. If possible, choose an upstream mirror that is
+	called an <span class="emphasis"><em>upstream mirror</em></span><a class="indexterm" name="id2890606"></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: ln-legalnotice.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/mirror/ln-legalnotice.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ln-legalnotice.php	28 Dec 2005 18:54:16 -0000	1.2
+++ ln-legalnotice.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -26,7 +26,7 @@
     They all may be freely redistributed with documentation
     produced for the Fedora Project.
     </p><p>
-    mirror-tutorial-0.37.2 (2005-12-28)
+    mirror-tutorial-1.0 (2006-02-06)
   </p><p>
     Red Hat and the Red Hat "Shadow Man" logo are registered trademarks of
     Red Hat, Inc. in the United States and other countries.


Index: rv-revhistory.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/mirror/rv-revhistory.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rv-revhistory.php	28 Dec 2005 18:54:16 -0000	1.2
+++ rv-revhistory.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -7,90 +7,91 @@
 
 ?>
 
-<div class="revhistory"><div class="revhistory"><table border="1" width="100%" summary="Revision history - Mirror Tutorial"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.2</td><td align="left">2004-08-31</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-            Initial version for editorial process.
-          </p>
-	</td></tr><tr><td align="left">Revision 0.21</td><td align="left">2004-09-02</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Revised screen sections to use inline tags as discussed on
-	    fedora-docs-list; minor error corrections.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.22</td><td align="left">2004-09-06</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Style editing.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.23</td><td align="left">2004-09-08</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-            Additional style editing.
-          </p>
-	</td></tr><tr><td align="left">Revision 0.24</td><td align="left">2004-09-09</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Brought introduction section in line with Fedora Documentation Project standards.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.25</td><td align="left">2004-10-13</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Incorporated all suggested changes by KWade.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.26</td><td align="left">2004-12-01</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Updated repository setup to include createrepo.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.27</td><td align="left">2004-12-01</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Minor corrections.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.28</td><td align="left">2005-01-30</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Minor corrections.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.29</td><td align="left">2005-07-22</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Minor note on yum versioning for repodata; fixed entities ref.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.30</td><td align="left">2005-08-01</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Add entities and draft notice.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.31</td><td align="left">2005-08-29</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Use bug reporting entity, add BETA classification.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.32</td><td align="left">2005-10-12</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Fix default network sharing protocol (#169581, #169584)
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.33</td><td align="left">2005-10-15</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Some style changes and more indexing.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.34</td><td align="left">2005-10-16</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Added client configuration section.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.35</td><td align="left">2005-11-09</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Added some security info and fixes (#169584).
-	  </p>
-	</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, #172819).
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.37</td><td align="left">2005-11-17</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Fixed createrepo and yum-arch command issues (#172819).
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.37.1</td><td align="left">2005-11-25</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Minor revision fixing service reload command.
-	  </p>
-	</td></tr><tr><td align="left">Revision 0.37.2</td><td align="left">2005-12-28</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
-	  <p>
-	    Minor revision updating entity names and incorporating
-	    variablelist.
-	  </p>
-	</td></tr></table></div></div>
+<div class="revhistory"><div class="revhistory"><table border="1" width="100%" summary="Revision history - Mirror Tutorial"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.37.2</td><td align="left">2005-12-28</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Minor revision updating entity names and incorporating
+          variablelist.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.37.1</td><td align="left">2005-11-25</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Minor revision fixing service reload command.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.37</td><td align="left">2005-11-17</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Fixed createrepo and yum-arch command issues (#172819).
+        </p>
+      </td></tr><tr><td align="left">Revision 0.36</td><td align="left">2005-11-11</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Added some additional information about repository
+          configuration (#172815, #172819).
+        </p>
+      </td></tr><tr><td align="left">Revision 0.35</td><td align="left">2005-11-09</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Added some security info and fixes (#169584).
+        </p>
+      </td></tr><tr><td align="left">Revision 0.34</td><td align="left">2005-10-16</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Added client configuration section.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.33</td><td align="left">2005-10-15</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Some style changes and more indexing.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.32</td><td align="left">2005-10-12</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Fix default network sharing protocol (#169581, #169584)
+        </p>
+      </td></tr><tr><td align="left">Revision 0.31</td><td align="left">2005-08-29</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Use bug reporting entity, add BETA classification.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.30</td><td align="left">2005-08-01</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Add entities and draft notice.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.29</td><td align="left">2005-07-22</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Minor note on yum versioning for repodata; fixed entities ref.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.28</td><td align="left">2005-01-30</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Minor corrections.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.27</td><td align="left">2004-12-01</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Minor corrections.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.26</td><td align="left">2004-12-01</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Updated repository setup to include createrepo.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.25</td><td align="left">2004-10-13</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Incorporated all suggested changes by KWade.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.24</td><td align="left">2004-09-09</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Brought introduction section in line with Fedora Documentation
+          Project standards.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.23</td><td align="left">2004-09-08</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Additional style editing.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.22</td><td align="left">2004-09-06</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Style editing.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.21</td><td align="left">2004-09-02</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Revised screen sections to use inline tags as discussed on
+          fedora-docs-list; minor error corrections.
+        </p>
+      </td></tr><tr><td align="left">Revision 0.2</td><td align="left">2004-08-31</td><td align="left">PWF</td></tr><tr><td align="left" colspan="3">
+        <p>
+          Initial version for editorial process.
+        </p>
+      </td></tr></table></div></div>
 
 <?
 


Index: sn-client-config.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/mirror/sn-client-config.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sn-client-config.php	28 Dec 2005 18:54:16 -0000	1.2
+++ sn-client-config.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -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="id2942272"></a><pre class="screen">
+    </p><div class="example"><a name="id2893582"></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/mirror/sn-planning-and-setup.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sn-planning-and-setup.php	28 Dec 2005 18:54:16 -0000	1.2
+++ sn-planning-and-setup.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -8,7 +8,7 @@
 ?>
 
 <div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.&#160;Planning and Setup</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.php">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<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.&#160;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.&#160;The Distribution Structure</h3></div></div></div><p>
-	The Fedora <span class="emphasis"><em>distribution</em></span><a class="indexterm" name="id2939277"></a>, which is the collection of all Fedora-related
+	The Fedora <span class="emphasis"><em>distribution</em></span><a class="indexterm" name="id2890715"></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&#160;1.&#160;Fedora directory tree">Example&#160;1, &#8220;Fedora directory tree&#8221;</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="id2939520"></a>, originally the Red Hat Package Manager and now
+	  <em class="firstterm">RPM</em><a class="indexterm" name="id2890959"></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="id2939684"></a>, the Fedora Core installation program, calls this directory
-	structure an <em class="firstterm">exploded tree</em><a class="indexterm" name="id2939697"></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="id2889988"></a>, the Fedora Core installation program, calls this directory
+	structure an <em class="firstterm">exploded tree</em><a class="indexterm" name="id2890001"></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.
@@ -182,7 +182,7 @@
 	      distribution. The <code class="filename">testing</code> folder
 	      under the main <code class="filename">core</code> tree is where
 	      test versions of the distribution, such as Fedora Core
-	      4 test1, are kept. (Users of Fedora Core test distributions
+	      5 test2, are kept. (Users of Fedora Core test distributions
 	      are often directed to use the
 	      <code class="filename">development</code> branch to update
 	      packages.) The <code class="filename">testing</code> folder, under
@@ -217,13 +217,14 @@
 	set of files. Be aware of any timezone differences when
 	estimating off-peak hours.
       </p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="sn-http-and-ftp-download"></a>2.4.1.&#160;Download Using HTTP or FTP</h4></div></div></div><p>
-	  To download via HTTP or FTP, use the <code class="command">wget</code>
-	  command.  <code class="command">wget</code> recurses subdirectories
-	  automatically and pulls down entire trees of data with a
-	  single command. If you are not careful, however, it is
-	  possible to pull down much more data than you intended. The
-	  following commands mirror the entire current Fedora Core
-	  distribution:
+	  To download via HTTP or FTP, use either the
+	  <code class="command">wget</code> or <code class="command">lftp</code>
+	  command. The <code class="command">wget</code> command recurses
+	  subdirectories automatically and pulls down entire trees of
+	  data with a single command. If you are not careful, however,
+	  it is possible to pull down much more data than you
+	  intended. The following commands mirror the entire current
+	  Fedora Core distribution:
 	</p><pre class="screen">
 <strong class="userinput"><code>cd /var/www/mirror 
 wget --mirror -np -nH --cut-dirs=<em class="replaceable"><code>2</code></em> http://mirror.example.com/pub/mirror/fedora/linux/core/4/</code></strong>
@@ -256,7 +257,74 @@
 	  time the mirror updates unless you exclude them using special
 	  options. See the <code class="command">wget</code> man pages for more
 	  information.
-	</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="sn-rsync"></a>2.4.2.&#160;The <code class="command">rsync</code> Command</h4></div></div></div><p>
+	</p><p>
+	  The <code class="command">lftp</code> command works like the
+	  <code class="command">wget</code> command, and mirrors the content of a
+	  HTTP or FTP server.  The <code class="command">wget</code> command,
+	  however, does not delete old files locally.  This feature is
+	  important for update repository mirrors to stay synchronized
+	  to upstream mirrors.  New files are created and old files are
+	  automatically removed from the upstream mirrors on a frequent
+	  basis.
+	</p><p>
+	  The <code class="command">lftp</code> command synchronizes files and
+	  directories from a remote host like <code class="command">rsync</code>,
+	  but uses HTTP or FTP protocols.  Use the following command to
+	  mirror the entire Fedora Core distribution with
+	  <code class="command">lftp</code>:
+	</p><pre class="screen">
+<strong class="userinput"><code>cd /var/www/mirror &amp;&amp; \
+lftp -c "open http://mirror.example.com/pub/mirror/linux/core/4/i386/ &amp;&amp; \
+mirror --delete --verbose"</code></strong>
+</pre><p>
+	  The <code class="option">-c</code> parameter executes a set of commands
+	  in a <code class="command">lftp</code> process. Commands are separated
+	  with <code class="command">&amp;&amp;</code> to prevent the
+	  <code class="command">lftp</code> command from executing if the
+	  <code class="command">cd</code> command fails.  The commands in the
+	  <code class="command">lftp</code> command set work the same way.  The
+	  command syntax <code class="command">A &amp;&amp; B</code> is often
+	  shorthand for "if A returns success, run B."  An explanation
+	  of the <code class="command">lftp</code> commands follows:
+	</p><div class="itemizedlist"><ul type="disc"><li><p>
+	      <code class="command">open</code> connects to the site and changes
+	      directory automatically.
+	    </p></li><li><p>
+	      <code class="command">mirror</code> fetches all files and
+	      directories recursively in the current directory. The
+	      <code class="command">--delete</code> option excludes all local
+	      files that are not in the remote directory.  The
+	      <code class="command">--verbose</code> option prints some
+	      information in the screen and is optional.
+	    </p></li></ul></div><p>
+	  The <code class="command">lftp</code> command above mantains an exact
+	  copy of the directory for you.  It downloads only new or
+	  changed files, and deletes only those that no longer exist on
+	  the upstream mirror.
+	</p><p>
+	  As with <code class="command">wget</code>, it is possible you may
+	  download some unwanted files.  The <code class="command">lftp</code>
+	  command supports regular expressions for excluding files
+	  within a <code class="command">mirror</code> command.  The command below
+	  shows how to mirror an current Fedora Core distribution updates
+	  repository, excluding <code class="filename">debug</code> and
+	  <code class="filename">repodata</code> directories:
+	</p><pre class="screen">
+<strong class="userinput"><code>cd /var/www/mirror &amp;&amp; \
+lftp -c "set mirror:exclude-regex 'debug\/|repodata\/' &amp;&amp; \
+open http://mirror.example.com/pub/mirror/linux/core/updates/4/i386/ &amp;&amp; \
+mirror --delete --verbose"</code></strong>
+</pre><p>Consult the <code class="command">lftp</code> man pages for more
+	details and usage options.</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip: Using Proxy for HTTP or FTP retrieval"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="./stylesheet-images/tip.png"></td><th align="left">Using Proxy for HTTP or FTP retrieval</th></tr><tr><td align="left" valign="top"><p>
+	    If you are behind a proxy or firewall, you may need to use a
+	    HTTP proxy to mirror files.  To do this, export the
+	    environment variables <code class="command">http_proxy</code> and
+	    <code class="command">ftp_proxy</code> before you run the
+	    <code class="command">wget</code> or <code class="command">lftp</code> commands:
+	  </p><pre class="screen">
+<strong class="userinput"><code>export http_proxy=http://<em class="replaceable"><code>username</code></em>:<em class="replaceable"><code>password</code></em>@<em class="replaceable"><code>host</code></em>:<em class="replaceable"><code>port</code></em>
+export ftp_proxy=http://<em class="replaceable"><code>username</code></em>:<em class="replaceable"><code>password</code></em>@<em class="replaceable"><code>host</code></em>:<em class="replaceable"><code>port</code></em></code></strong>
+</pre></td></tr></table></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="sn-rsync"></a>2.4.2.&#160;The <code class="command">rsync</code> Command</h4></div></div></div><p>
 	  Use the <code class="command">rsync</code> command to synchronize a set
 	  of files and/or directories with a remote host. It operates in
 	  much the same way as <code class="command">rcp</code>, but it is usually


Index: sn-server-config.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/mirror/sn-server-config.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sn-server-config.php	28 Dec 2005 18:54:16 -0000	1.2
+++ sn-server-config.php	6 Feb 2006 23:32:20 -0000	1.3
@@ -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="id2941364"></a><pre class="screen">
+       </p><div class="example"><a name="id2892811"></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.&#160;Solving Dependencies</h3></div></div></div><p>
-	Every RPM package has a <a class="indexterm" name="id2941481"></a><em class="firstterm">header</em> that contains all
+	Every RPM package has a <a class="indexterm" name="id2892927"></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="id2941507"></a>. A dependency is a requirement for one or more
+	<span class="emphasis"><em>dependencies</em></span><a class="indexterm" name="id2892953"></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="id2941540"></a>, is a Python-based system for computing and solving
+	<span class="emphasis"><em>yum</em></span><a class="indexterm" name="id2892986"></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.&#160;Configuring Repositories</h3></div></div></div><p>
       A <code class="command">yum</code>
-	<span class="emphasis"><em>repository</em></span><a class="indexterm" name="id2941636"></a> is a collection of packages on a server which
+	<span class="emphasis"><em>repository</em></span><a class="indexterm" name="id2893086"></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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]