<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>
<channel>
	<title>Blog.ChenHow.Net &#187; Using apt-p2p For Faster Upgrades From Intrepid to Jaunty</title>
	<atom:link href="http://blog.chenhow.net/tag/using-apt-p2p-for-faster-upgrades-from-intrepid-to-jaunty/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chenhow.net</link>
	<description>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</description>
	<lastBuildDate>Wed, 21 Dec 2011 03:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; Blog.ChenHow.Net 2010 </copyright>
	<managingEditor>chenhow@chenhow.net (Blog.ChenHow.Net)</managingEditor>
	<webMaster>chenhow@chenhow.net (Blog.ChenHow.Net)</webMaster>
	<image>
		<url>http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Blog.ChenHow.Net</title>
		<link>http://blog.chenhow.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Blog.ChenHow.Net</itunes:author>
	<itunes:owner>
		<itunes:name>Blog.ChenHow.Net</itunes:name>
		<itunes:email>chenhow@chenhow.net</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>[Ubuntu] Using apt-p2p For Faster Upgrades From Intrepid to Jaunty</title>
		<link>http://blog.chenhow.net/2009/04/04/linux/using-apt-p2p-for-faster-upgrades-from-intrepid-to-jaunty/</link>
		<comments>http://blog.chenhow.net/2009/04/04/linux/using-apt-p2p-for-faster-upgrades-from-intrepid-to-jaunty/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 15:39:17 +0000</pubDate>
		<dc:creator>chenhow</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu p2p upgrade]]></category>
		<category><![CDATA[Using apt-p2p For Faster Upgrades From Intrepid to Jaunty]]></category>
		<guid isPermaLink="false">http://blog.chenhow.net/?p=464</guid>
		<description><![CDATA[apt-p2p is a p2p proxy for apt dowloads, it will act as a proxy between apt requests and a repository server, downloading any request files from peers (if possible), else will fallback to direct HTTP download. In general, apt-p2p save bandwidth, use limited cpu and memory resources and reduce congestion on the ubuntu mirrors. So [...]]]></description>
			<content:encoded><![CDATA[<p><strong>apt-p2p</strong> is a p2p proxy for apt dowloads, it will act as a proxy between apt requests and a repository server, downloading any request files from peers (if possible), else will fallback to direct HTTP download. In general, apt-p2p save bandwidth, use limited cpu and memory resources and reduce congestion on the ubuntu mirrors.</p>
<p><em><strong>So how apt-p2p can increase the upgrade speed?</strong></em><br />
As mentioned earlier, apt-p2p will get the request files from peers, therefore, it will avoid the congestion on the ubuntu mirrors.</p>
<p><strong><em>Steps:</em></strong><br />
1. Install apt-p2p</p>
<blockquote><p>sudo apt-get install apt-p2p</p></blockquote>
<p>2. Prepare sources.list</p>
<blockquote><p><strong>#Backup sources.list</strong></p>
<p>chenhow@chenhow:-$ sudo cp /etc/apt/sources.list /etc/apt/sources.list-apt-p2p-backup</p></blockquote>
<p>3. Edit sources.list</p>
<blockquote><p><strong>#Add &#8220;localhost:9977&#8243; after the &#8220;http://&#8221;</strong><br />
deb http://localhost:9977/archive.canonical.com/ubuntu hardy partner<br />
deb-src http://localhost:9977/archive.canonical.com/ubuntu hardy partner<br />
deb http://localhost:9977/*mirror-address*/ubuntu/ hardy main universe restricted multiverse<br />
deb-src http://localhost:9977/*mirror-address*/ubuntu/ hardy main universe restricted multiverse</p></blockquote>
<p>4. Update packages</p>
<blockquote><p>sudo rm -rf /var/cache/apt-p2p/cache/*<br />
chenhow@chenhow:-$ sudo apt-get update</p></blockquote>
<p>5. Start upgrade from Interpid to Jaunty</p>
<blockquote><p>chenhow@chenhow:-$ sudo update-manager -d</p></blockquote>
<p>6. Check peers, downloads and uploads speed and DHT statistics</p>
<blockquote><p>Open Internet browser,  go to http://localhost:9977</p></blockquote>
<p>7. Done</p>
<div  class="related_post_title">Related Posts</div><ul class="related_post"><li>No Related Posts</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.chenhow.net/2009/04/04/linux/using-apt-p2p-for-faster-upgrades-from-intrepid-to-jaunty/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>

