<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Allow Varnish to reuse its shared object</title>
	<atom:link href="http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/feed/" rel="self" type="application/rss+xml" />
	<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/</link>
	<description>look out honey, &#039;cause I&#039;m using technology</description>
	<lastBuildDate>Sat, 11 Feb 2012 04:52:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-900</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Thu, 18 Dec 2008 19:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-900</guid>
		<description>@pejman just saw yr reply, sorry, I have the link in the post above, it&#039;s &lt;a href=&quot;http://varnish.projects.linpro.no/&quot; rel=&quot;nofollow&quot;&gt;Varnish&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@pejman just saw yr reply, sorry, I have the link in the post above, it&#8217;s <a href="http://varnish.projects.linpro.no/" rel="nofollow">Varnish</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-906</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Thu, 18 Dec 2008 19:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-906</guid>
		<description>@pejman just saw yr reply, sorry, I have the link in the post above, it&#039;s &lt;a href=&quot;http://varnish.projects.linpro.no/&quot; rel=&quot;nofollow&quot;&gt;Varnish&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@pejman just saw yr reply, sorry, I have the link in the post above, it&#8217;s <a href="http://varnish.projects.linpro.no/" rel="nofollow">Varnish</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pejman</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-899</link>
		<dc:creator>pejman</dc:creator>
		<pubDate>Sat, 19 Jul 2008 03:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-899</guid>
		<description>HI,thanks for help, I need some information about varnish(what is it?how it work?and...)  or a website that explain varnish.thank you very much</description>
		<content:encoded><![CDATA[<p>HI,thanks for help, I need some information about varnish(what is it?how it work?and&#8230;)  or a website that explain varnish.thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pejman</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-905</link>
		<dc:creator>pejman</dc:creator>
		<pubDate>Sat, 19 Jul 2008 03:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-905</guid>
		<description>HI,thanks for help, I need some information about varnish(what is it?how it work?and...)  or a website that explain varnish.thank you very much</description>
		<content:encoded><![CDATA[<p>HI,thanks for help, I need some information about varnish(what is it?how it work?and&#8230;)  or a website that explain varnish.thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-898</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Tue, 15 Jul 2008 13:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-898</guid>
		<description>@pejman
Sure, there are packages for Red Hat available, follow this link:
http://varnish.projects.linpro.no/wiki/VarnishOnRedhat

After that, check out the default config in /etc/varnish/default.vcl - select the port you want run it on (80) and the port your webserver will run on - change your webserver to run on that different port, launch both, then run varnishlog to see the action in varnish, and finally surf and check out the results in the logs.</description>
		<content:encoded><![CDATA[<p>@pejman<br />
Sure, there are packages for Red Hat available, follow this link:<br />
<a href="http://varnish.projects.linpro.no/wiki/VarnishOnRedhat" rel="nofollow">http://varnish.projects.linpro.no/wiki/VarnishOnRedhat</a></p>
<p>After that, check out the default config in /etc/varnish/default.vcl &#8211; select the port you want run it on (80) and the port your webserver will run on &#8211; change your webserver to run on that different port, launch both, then run varnishlog to see the action in varnish, and finally surf and check out the results in the logs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-904</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Tue, 15 Jul 2008 13:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-904</guid>
		<description>@pejman
Sure, there are packages for Red Hat available, follow this link:
http://varnish.projects.linpro.no/wiki/VarnishOnRedhat

After that, check out the default config in /etc/varnish/default.vcl - select the port you want run it on (80) and the port your webserver will run on - change your webserver to run on that different port, launch both, then run varnishlog to see the action in varnish, and finally surf and check out the results in the logs.</description>
		<content:encoded><![CDATA[<p>@pejman<br />
Sure, there are packages for Red Hat available, follow this link:<br />
<a href="http://varnish.projects.linpro.no/wiki/VarnishOnRedhat" rel="nofollow">http://varnish.projects.linpro.no/wiki/VarnishOnRedhat</a></p>
<p>After that, check out the default config in /etc/varnish/default.vcl &#8211; select the port you want run it on (80) and the port your webserver will run on &#8211; change your webserver to run on that different port, launch both, then run varnishlog to see the action in varnish, and finally surf and check out the results in the logs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pejman</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-897</link>
		<dc:creator>pejman</dc:creator>
		<pubDate>Tue, 15 Jul 2008 08:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-897</guid>
		<description>HI, I want to install varnish on redhat linux,please help me</description>
		<content:encoded><![CDATA[<p>HI, I want to install varnish on redhat linux,please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pejman</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-903</link>
		<dc:creator>pejman</dc:creator>
		<pubDate>Tue, 15 Jul 2008 08:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-903</guid>
		<description>HI, I want to install varnish on redhat linux,please help me</description>
		<content:encoded><![CDATA[<p>HI, I want to install varnish on redhat linux,please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-896</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Sat, 17 Nov 2007 05:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-896</guid>
		<description>Hey, glad you liked the post, it was more to mirror my idea to the Varnish devs, I was going to write a howto, but it&#039;s really easy.

&gt; 1. Which distro/OS gives me the best performance &amp; stability?
&gt; I am thinking about using Ubuntu.

Varnish is developed to work with the features of FreeBSD 6.x and Linux 2.6 - so any current Linux would be fine.  I run it on Debian at home, so Ubuntu will be identical.

&gt; 2. Is varnish sitting in-path in reg. of cabling?

I have it on the same server, just running on :80 and pointing to the other port for the &#039;real&#039; webserver.  If you are just running it on server, it&#039;s even easier.  Is it in-path?  Not sure what you&#039;re asking, see the next question for the layout.

3. Can I cable like this: webserver-varnish-firewall-router?

Internet
&#124;
Firewall
&#124;
Varnish
&#124;
Webserver

&gt; 4. How do I set up IP addresses for this setup?

If you&#039;re just running on a separate server, just give it whatever IP you are running on your internal private network; only thing to do is have any www requests port :80, be directed to your Varnish server by your Firewall/Router instead of your webserver.

&gt; 5. Should do a vanilla/default install or is there more config to do?

To get started, very little config to do, there&#039;s two things you need to change after install:

edit /etc/default/varnish

change:
VARNISH_LISTEN_PORT=6081

to:
VARNISH_LISTEN_PORT=80

edit /etc/varnish/vcl.conf

backend default {
        set backend.host = &quot;127.0.0.1&quot;;
        set backend.port = &quot;80&quot;;
}

Just change the set backend.host line to your webserver&#039;s IP - so if it was 192.168.1.10

set backend.host = &quot;192.168.1.10&quot;;

&gt; I mean, as far as I understad, this varnish http-accelerator
&gt; can be installed on a standalone box so it doesn’t need
&gt; to change anything on the web server it is accelerating
&gt; the connection to.

Yep, that&#039;s right, just have Varnish handle the web requests before the webserver, and you&#039;re set.

One thing, instead of installing the version Debian/Ubuntu has in the repos (something like 1.0.x) download the latest (1.1.1) from here:
http://sourceforge.net/project/showfiles.php?group_id=155816&amp;package_id=173643&amp;release_id=533569

Grab the libvarnish and varnish debs and install those.  Give me a shout if you have any other questions for install, I&#039;ve been running it at work on a few Red Hat Enterprise servers (not a fan of that distro though...) and it&#039;s been amazing.

While you&#039;re at it, feel free to checkout another (simplified) article I wrote about Varnish for Tech Republic, the graph should tell you about its performance:
http://phil.cryer.us/articles/varnish.html</description>
		<content:encoded><![CDATA[<p>Hey, glad you liked the post, it was more to mirror my idea to the Varnish devs, I was going to write a howto, but it&#8217;s really easy.</p>
<p>&gt; 1. Which distro/OS gives me the best performance &amp; stability?<br />
&gt; I am thinking about using Ubuntu.</p>
<p>Varnish is developed to work with the features of FreeBSD 6.x and Linux 2.6 &#8211; so any current Linux would be fine.  I run it on Debian at home, so Ubuntu will be identical.</p>
<p>&gt; 2. Is varnish sitting in-path in reg. of cabling?</p>
<p>I have it on the same server, just running on :80 and pointing to the other port for the &#8216;real&#8217; webserver.  If you are just running it on server, it&#8217;s even easier.  Is it in-path?  Not sure what you&#8217;re asking, see the next question for the layout.</p>
<p>3. Can I cable like this: webserver-varnish-firewall-router?</p>
<p>Internet<br />
|<br />
Firewall<br />
|<br />
Varnish<br />
|<br />
Webserver</p>
<p>&gt; 4. How do I set up IP addresses for this setup?</p>
<p>If you&#8217;re just running on a separate server, just give it whatever IP you are running on your internal private network; only thing to do is have any www requests port :80, be directed to your Varnish server by your Firewall/Router instead of your webserver.</p>
<p>&gt; 5. Should do a vanilla/default install or is there more config to do?</p>
<p>To get started, very little config to do, there&#8217;s two things you need to change after install:</p>
<p>edit /etc/default/varnish</p>
<p>change:<br />
VARNISH_LISTEN_PORT=6081</p>
<p>to:<br />
VARNISH_LISTEN_PORT=80</p>
<p>edit /etc/varnish/vcl.conf</p>
<p>backend default {<br />
        set backend.host = &#8220;127.0.0.1&#8243;;<br />
        set backend.port = &#8220;80&#8243;;<br />
}</p>
<p>Just change the set backend.host line to your webserver&#8217;s IP &#8211; so if it was 192.168.1.10</p>
<p>set backend.host = &#8220;192.168.1.10&#8243;;</p>
<p>&gt; I mean, as far as I understad, this varnish http-accelerator<br />
&gt; can be installed on a standalone box so it doesn’t need<br />
&gt; to change anything on the web server it is accelerating<br />
&gt; the connection to.</p>
<p>Yep, that&#8217;s right, just have Varnish handle the web requests before the webserver, and you&#8217;re set.</p>
<p>One thing, instead of installing the version Debian/Ubuntu has in the repos (something like 1.0.x) download the latest (1.1.1) from here:<br />
<a href="http://sourceforge.net/project/showfiles.php?group_id=155816&#038;package_id=173643&#038;release_id=533569" rel="nofollow">http://sourceforge.net/project/showfiles.php?group_id=155816&#038;package_id=173643&#038;release_id=533569</a></p>
<p>Grab the libvarnish and varnish debs and install those.  Give me a shout if you have any other questions for install, I&#8217;ve been running it at work on a few Red Hat Enterprise servers (not a fan of that distro though&#8230;) and it&#8217;s been amazing.</p>
<p>While you&#8217;re at it, feel free to checkout another (simplified) article I wrote about Varnish for Tech Republic, the graph should tell you about its performance:<br />
<a href="http://phil.cryer.us/articles/varnish.html" rel="nofollow">http://phil.cryer.us/articles/varnish.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-902</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Sat, 17 Nov 2007 05:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://fak3r.com/2007/11/07/allow-varnish-to-reuse-its-shared-object/#comment-902</guid>
		<description>Hey, glad you liked the post, it was more to mirror my idea to the Varnish devs, I was going to write a howto, but it&#039;s really easy.

&gt; 1. Which distro/OS gives me the best performance &amp; stability?
&gt; I am thinking about using Ubuntu.

Varnish is developed to work with the features of FreeBSD 6.x and Linux 2.6 - so any current Linux would be fine.  I run it on Debian at home, so Ubuntu will be identical.

&gt; 2. Is varnish sitting in-path in reg. of cabling?

I have it on the same server, just running on :80 and pointing to the other port for the &#039;real&#039; webserver.  If you are just running it on server, it&#039;s even easier.  Is it in-path?  Not sure what you&#039;re asking, see the next question for the layout.

3. Can I cable like this: webserver-varnish-firewall-router?

Internet
&#124;
Firewall
&#124;
Varnish
&#124;
Webserver

&gt; 4. How do I set up IP addresses for this setup?

If you&#039;re just running on a separate server, just give it whatever IP you are running on your internal private network; only thing to do is have any www requests port :80, be directed to your Varnish server by your Firewall/Router instead of your webserver.

&gt; 5. Should do a vanilla/default install or is there more config to do?

To get started, very little config to do, there&#039;s two things you need to change after install:

edit /etc/default/varnish

change:
VARNISH_LISTEN_PORT=6081

to:
VARNISH_LISTEN_PORT=80

edit /etc/varnish/vcl.conf

backend default {
        set backend.host = &quot;127.0.0.1&quot;;
        set backend.port = &quot;80&quot;;
}

Just change the set backend.host line to your webserver&#039;s IP - so if it was 192.168.1.10

set backend.host = &quot;192.168.1.10&quot;;

&gt; I mean, as far as I understad, this varnish http-accelerator
&gt; can be installed on a standalone box so it doesn’t need
&gt; to change anything on the web server it is accelerating
&gt; the connection to.

Yep, that&#039;s right, just have Varnish handle the web requests before the webserver, and you&#039;re set.

One thing, instead of installing the version Debian/Ubuntu has in the repos (something like 1.0.x) download the latest (1.1.1) from here:
http://sourceforge.net/project/showfiles.php?group_id=155816&amp;package;_id=173643&amp;release;_id=533569

Grab the libvarnish and varnish debs and install those.  Give me a shout if you have any other questions for install, I&#039;ve been running it at work on a few Red Hat Enterprise servers (not a fan of that distro though...) and it&#039;s been amazing.

While you&#039;re at it, feel free to checkout another (simplified) article I wrote about Varnish for Tech Republic, the graph should tell you about its performance:
http://phil.cryer.us/articles/varnish.html</description>
		<content:encoded><![CDATA[<p>Hey, glad you liked the post, it was more to mirror my idea to the Varnish devs, I was going to write a howto, but it&#8217;s really easy.</p>
<p>&gt; 1. Which distro/OS gives me the best performance &amp; stability?<br />
&gt; I am thinking about using Ubuntu.</p>
<p>Varnish is developed to work with the features of FreeBSD 6.x and Linux 2.6 &#8211; so any current Linux would be fine.  I run it on Debian at home, so Ubuntu will be identical.</p>
<p>&gt; 2. Is varnish sitting in-path in reg. of cabling?</p>
<p>I have it on the same server, just running on :80 and pointing to the other port for the &#8216;real&#8217; webserver.  If you are just running it on server, it&#8217;s even easier.  Is it in-path?  Not sure what you&#8217;re asking, see the next question for the layout.</p>
<p>3. Can I cable like this: webserver-varnish-firewall-router?</p>
<p>Internet<br />
|<br />
Firewall<br />
|<br />
Varnish<br />
|<br />
Webserver</p>
<p>&gt; 4. How do I set up IP addresses for this setup?</p>
<p>If you&#8217;re just running on a separate server, just give it whatever IP you are running on your internal private network; only thing to do is have any www requests port :80, be directed to your Varnish server by your Firewall/Router instead of your webserver.</p>
<p>&gt; 5. Should do a vanilla/default install or is there more config to do?</p>
<p>To get started, very little config to do, there&#8217;s two things you need to change after install:</p>
<p>edit /etc/default/varnish</p>
<p>change:<br />
VARNISH_LISTEN_PORT=6081</p>
<p>to:<br />
VARNISH_LISTEN_PORT=80</p>
<p>edit /etc/varnish/vcl.conf</p>
<p>backend default {<br />
        set backend.host = &#8220;127.0.0.1&#8243;;<br />
        set backend.port = &#8220;80&#8243;;<br />
}</p>
<p>Just change the set backend.host line to your webserver&#8217;s IP &#8211; so if it was 192.168.1.10</p>
<p>set backend.host = &#8220;192.168.1.10&#8243;;</p>
<p>&gt; I mean, as far as I understad, this varnish http-accelerator<br />
&gt; can be installed on a standalone box so it doesn’t need<br />
&gt; to change anything on the web server it is accelerating<br />
&gt; the connection to.</p>
<p>Yep, that&#8217;s right, just have Varnish handle the web requests before the webserver, and you&#8217;re set.</p>
<p>One thing, instead of installing the version Debian/Ubuntu has in the repos (something like 1.0.x) download the latest (1.1.1) from here:<br />
<a href="http://sourceforge.net/project/showfiles.php?group_id=155816&#038;package;_id=173643&#038;release;_id=533569" rel="nofollow">http://sourceforge.net/project/showfiles.php?group_id=155816&#038;package;_id=173643&#038;release;_id=533569</a></p>
<p>Grab the libvarnish and varnish debs and install those.  Give me a shout if you have any other questions for install, I&#8217;ve been running it at work on a few Red Hat Enterprise servers (not a fan of that distro though&#8230;) and it&#8217;s been amazing.</p>
<p>While you&#8217;re at it, feel free to checkout another (simplified) article I wrote about Varnish for Tech Republic, the graph should tell you about its performance:<br />
<a href="http://phil.cryer.us/articles/varnish.html" rel="nofollow">http://phil.cryer.us/articles/varnish.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

