Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

178 lines (155 sloc) 12.178 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="description" content="PGXN: PostgreSQL Extension Network" />
<meta name="keywords" content="PostgreSQL, pgsql, plpgsql, plperl, extension, distribution, archive, zcan, pgxn, pgxnnet, pgan, cpan, mirror" />
<link href="./css/global.css" rel="stylesheet" type="text/css" />
<title>PGXN: PostgreSQL Extension Network—Mirroring</title>
</head>
<body>
<div id="banner"><a href="./"><img src="images/banner.png" alt="PGXN: PostgreSQL Extension Network" /></a></div>
<div id="masthead">
<ul>
<li><a href="http://manager.pgxn.org/">Upload</a></li>
<li><a href="status.html">Status</a></li>
<li><a href="http://wiki.postgresql.org/wiki/PGXN">Spec</a></li>
<li><a href="http://blog.pgxn.org/">Blog</a></li>
<li><a href="http://twitter.com/pgxn/">Twitter</a></li>
<li><a href="contributors.html">Contributors</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="mirroring.html">Mirroring</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div id="content">
<div id="main">
<div class="article">
<h2>Mirroring PGXN</h2>
<p>Hosting a mirror is simple. All you need is:</p>
<ul>
<li>A reasonably fast internet connection</li>
<li>Space for storage—not much at this point</li>
<li>An <a href="http://rsync.samba.org/"><code>rsync</code></a> client</li>
<li>A web server</p>
</ul>
<p>The <code>rsync</code> address for the PGXN master mirror is
rsync://master.pgxn.org/pgxn.</p>
<p>Once you have the rsync client installed on your system and the
disk space mapped out, add an entry to your crontab like so:</p>
<pre style="white-space:normal">
0 20 * * * /usr/bin/rsync -az --delete rsync://master.pgxn.org/pgxn /usr/local/pgxn
</pre>
<p>On Windows, use AT like so:</p>
<pre style="white-space:normal">
AT 20:00 /every:M,T,W,Th,F,S,Su &quot;C:\Program Files\Rsync\rsync -az <span style="white-space:nowrap">--delete</span> rsync://master.pgxn.org/pgxn C:\Projects\PGXN&quot;
</pre>
<p>Please do not sync more than once every hour. And realistically
you only need to sync once or twice a day. Next, set up a web
server to serve the mirror. If your rsync is already in the
subdirectory of a web server root, you should be golden.
Otherwise, if you’re using Apache, you can set up a virtual host
like so (assuming that you’re <code>rsync</code>ing to
<code>/usr/local/pgxn</code>):</p>
<pre>
&lt;VirtualHost *:80&gt;
DocumentRoot /usr/local/pgxn
ServerName pgxn.example.org
CustomLog /var/log/httpd/access_log combined
&lt;Directory /usr/local/pgxn&gt;
AllowOverride All
Allow from all
Options +Indexes
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>
<p>If you’d like to register your mirror, <a href="mailto:pgxn@pgexperts.com?subject=Mirror Registration&amp;body= &quot;mirror.hostname&quot;: {%0a &quot;url&quot;: &quot;http://hostname.of.the.pgxn/mirroring/site/root&quot;,%0a &quot;frequency&quot;: &quot;daily/bidaily/.../weekly&quot;,%0a &quot;location&quot;: &quot;city, (area?, )country, continent (lon lat)&quot;,%0a &quot;organization&quot;: &quot;full organization name&quot;,%0a &quot;timezone&quot;: &quot;Area/Location zoneinfo tz&quot;,%0a &quot;contact&quot;: &quot;email.address.to.contact@for.this.mirror&quot;,%0a &quot;bandwidth&quot;: &quot;1Gbps, 100Mbps, DSL, etc.&quot;,%0a &quot;src&quot;: &quot;rsync://from.which.host/is/this/site/mirroring/from/&quot;,%0a &quot;rsync&quot;: &quot;rsync://hostname.of.the.mirror/path (if you provide it)&quot;,%0a &quot;notes&quot;: &quot;(optional field) access restrictions, for example?&quot;%0a }%0a">send us email</a> with all the details and we’ll get you registered.</p>
</div>
</div>
<div id="secondary">
<blockquote>
<p>Help the PostgreSQL community build its own extension search and distribution platform.</p>
</blockquote>
<div class="center">
<img src="./images/thermometer.png" alt="Thermometer" />
<p>Contribute Now!</p>
<form action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/871585407805003" id="BB_BuyButtonForm" method="post">
<div>
<select name="item_selection_1">
<option value="1">$5,000.00 - Founder</option>
<option value="2">$2,500.00 - Patron</option>
<option value="3">$1,000.00 - Benefactor</option>
<option value="4">$250.00 - Sponsor</option>
<option value="5">$100.00 - Advocate</option>
<option value="6">$50.00 - Supporter</option>
<option value="7">$25.00 - Booster</option>
</select>
<input name="item_option_name_1" type="hidden" value="Founder"/>
<input name="item_option_price_1" type="hidden" value="5000.0"/>
<input name="item_option_description_1" type="hidden" value="Founders get their logo and link displayed prominently on the PGXN home page and will be listed in the press release when PGXN launches."/>
<input name="item_option_quantity_1" type="hidden" value="1"/>
<input name="item_option_currency_1" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-1.digital-content.key" type="hidden" value="p25jDtOzn1IecX9e3qzWgadZu9PwCkv0GEIViBWphik="/>
<input name="shopping-cart.item-options.items.item-1.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-1.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_2" type="hidden" value="Patron"/>
<input name="item_option_price_2" type="hidden" value="2500.0"/>
<input name="item_option_description_2" type="hidden" value="Patrons get an icon and link displayed prominently on the PGXN home page."/>
<input name="item_option_quantity_2" type="hidden" value="1"/>
<input name="item_option_currency_2" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-2.digital-content.key" type="hidden" value="med9bMcwbjorYJh4Lxt+lMQqWh/+hG1DI6iqi4c4brc="/>
<input name="shopping-cart.item-options.items.item-2.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-2.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_3" type="hidden" value="Benefactor"/>
<input name="item_option_price_3" type="hidden" value="1000.0"/>
<input name="item_option_description_3" type="hidden" value="Benefactors will be listed on the PGXN home page."/>
<input name="item_option_quantity_3" type="hidden" value="1"/>
<input name="item_option_currency_3" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-3.digital-content.key" type="hidden" value="ckv4qCFvhpjFiG4lsYBAQ1BGCmtNgHq/xluH096jAwk="/>
<input name="shopping-cart.item-options.items.item-3.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-3.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_4" type="hidden" value="Sponsor"/>
<input name="item_option_price_4" type="hidden" value="250.0"/>
<input name="item_option_description_4" type="hidden" value="Sponsors will be listed on the PGXN contributors page."/>
<input name="item_option_quantity_4" type="hidden" value="1"/>
<input name="item_option_currency_4" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-4.digital-content.key" type="hidden" value="jj6dqUQtpMQi0a9SltgX/xGpzec2l7YrMbi+RKtWskI="/>
<input name="shopping-cart.item-options.items.item-4.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-4.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_5" type="hidden" value="Advocate"/>
<input name="item_option_price_5" type="hidden" value="100.0"/>
<input name="item_option_description_5" type="hidden" value="Advocates will be listed on the PGXN contributors page."/>
<input name="item_option_quantity_5" type="hidden" value="1"/>
<input name="item_option_currency_5" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-5.digital-content.key" type="hidden" value="v7xctO/TTPeobDjwttPzmO3pKx2GGd1wQNnEz+vP5GM="/>
<input name="shopping-cart.item-options.items.item-5.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-5.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_6" type="hidden" value="Supporter"/>
<input name="item_option_price_6" type="hidden" value="50.0"/>
<input name="item_option_description_6" type="hidden" value="Supporters will be listed on the PGXN contributors page."/>
<input name="item_option_quantity_6" type="hidden" value="1"/>
<input name="item_option_currency_6" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-6.digital-content.key" type="hidden" value="LXfHJy/QhnGlfpXr5e+ZoXm3Xb447KpUehBEH6sDvfo="/>
<input name="shopping-cart.item-options.items.item-6.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-6.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input name="item_option_name_7" type="hidden" value="Booster"/>
<input name="item_option_price_7" type="hidden" value="25.0"/>
<input name="item_option_description_7" type="hidden" value="Boosters will be listed on the PGXN contributors page."/>
<input name="item_option_quantity_7" type="hidden" value="1"/>
<input name="item_option_currency_7" type="hidden" value="USD"/>
<input name="shopping-cart.item-options.items.item-7.digital-content.key" type="hidden" value="QbtXqo7l94Sc3iidlaln5sF+K3D36OVqTFMkVGRVAws="/>
<input name="shopping-cart.item-options.items.item-7.digital-content.key.is-encrypted" type="hidden" value="true"/>
<input name="shopping-cart.item-options.items.item-7.digital-content.url" type="hidden" value="http://www.pgxn.org/thanks.html"/>
<input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=871585407805003&amp;w=117&amp;h=48&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
</div>
</form>
</div>
</div>
<ul id="footer" class="clearfix">
<li>Design: <span>Get <a href="http://www.letseat.at">restaurant website templates</a> at </span><a href="http://www.letseat.at">LetsEat</a>, Courtesy <a href="http://www.openwebdesign.org">Open Web Design</a>, Thanks to <a href="http://www.chinatours.com/">China Travel Tours</a></li>
<li>&copy; 2010 PostgreSQL Experts, Inc. Some Rights Reserved.</li>
</ul>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.