<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Valentin Bora</title>
	
	<link>http://blog.valentinbora.com</link>
	<description>My relationship with the web exposed</description>
	<lastBuildDate>Fri, 11 Mar 2011 16:52:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ValentinBoraBlog" /><feedburner:info uri="valentinborablog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Parallels Plesk Panel and Varnish working together on CentOS 5</title>
		<link>http://feedproxy.google.com/~r/ValentinBoraBlog/~3/yn71AuUYVFM/</link>
		<comments>http://blog.valentinbora.com/parallels-plesk-panel-and-varnish-working-together-on-centos-5/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 11:34:46 +0000</pubDate>
		<dc:creator>Valentin</dc:creator>
				<category><![CDATA[Server administration]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://blog.valentinbora.com/?p=239</guid>
		<description><![CDATA[The big problem with Plesk Panel is that you can have a hard time working around it and changing its defaults. In my case I wanted to configure Apache to listen on a different port than the default 80, in order to put Varnish in front of it. If you change it manually in the [...]]]></description>
			<content:encoded><![CDATA[<p>The big problem with Plesk Panel is that you can have a hard time working around it and changing its defaults.</p>
<p>In my case I wanted to configure Apache to listen on a different port than the default 80, in order to put Varnish in front of it. If you change it manually in the vhost config files and httpd.conf (talking here in particular about CentOS) it might work for a while but next time you make a change in the Plesk Panel everything is going to come back to default.</p>
<h2>Changing default Apache port with Plesk Panel</h2>
<p><strong>The solution is to run the following command:</strong></p>
<pre>/usr/local/psa/admin/sbin/websrvmng --set-http-port --port=8080
/usr/local/psa/admin/sbin/websrvmng --reconfigure-all</pre>
<p>This changes the default http port that Plesk is going to use for HTTP vhosts and then reconfigure-all is going to rewrite the whole set of config files.</p>
<h2>Installing Varnish</h2>
<p>Please refer to <a href="http://blog.quilitz.de/2010/02/varnish-on-centos/">http://blog.quilitz.de/2010/02/varnish-on-centos/</a> or other articles that you can find on Google, this one should be easy using yum.</p>
<h2>Moving Varnish to port 80</h2>
<p>On CentOS, you have to reconfigure Varnish to listen on port 80. This can be done in /etc/sysconfig/varnish. Look for DAEMON_OPTS and change it to look like the following:</p>
<pre>DAEMON_OPTS="-a :80 \
           -T localhost:6082 \
           -f /etc/varnish/default.vcl \
           -s file,/var/lib/varnish/varnish_storage.bin,1G"</pre>
<p>On Ubuntu, this can be done in /etc/default/varnish</p>
<h2>Very very basic Varnish configuration</h2>
<p>Please first make a backup of /etc/varnish/default.vcl so that you can come back to it whenever necessary. This is how it should look like for you:</p>
<pre>backend default {
   .host = "127.0.0.1";
  .port = "8080";
}</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=yn71AuUYVFM:Pj9UdbXFKLE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=yn71AuUYVFM:Pj9UdbXFKLE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=yn71AuUYVFM:Pj9UdbXFKLE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?i=yn71AuUYVFM:Pj9UdbXFKLE:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ValentinBoraBlog/~4/yn71AuUYVFM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.valentinbora.com/parallels-plesk-panel-and-varnish-working-together-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.valentinbora.com/parallels-plesk-panel-and-varnish-working-together-on-centos-5/</feedburner:origLink></item>
		<item>
		<title>node.js and comet magic</title>
		<link>http://feedproxy.google.com/~r/ValentinBoraBlog/~3/aLevHeA9dbw/</link>
		<comments>http://blog.valentinbora.com/node-js-and-comet-magic/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 10:57:52 +0000</pubDate>
		<dc:creator>Valentin</dc:creator>
				<category><![CDATA[Nirvana]]></category>

		<guid isPermaLink="false">http://blog.valentinbora.com/?p=234</guid>
		<description><![CDATA[At Joy Group we are building a website that needs a lot of real-time interaction with data, thus caching is quite a question. I took the responsibility for performance and will try to build an interesting around-the-main-app system using node.js (actually express.js), memcached, comet, varnish, drupal and other technologies. I will come up with more [...]]]></description>
			<content:encoded><![CDATA[<p>At Joy Group we are building a website that needs a lot of real-time interaction with data, thus caching is quite a question. I took the responsibility for performance and will try to build an interesting around-the-main-app system using node.js (actually express.js), memcached, comet, varnish, drupal and other technologies.</p>
<p>I will come up with more information in the future, as time permits.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=aLevHeA9dbw:JBG84VT2fIs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=aLevHeA9dbw:JBG84VT2fIs:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=aLevHeA9dbw:JBG84VT2fIs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?i=aLevHeA9dbw:JBG84VT2fIs:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ValentinBoraBlog/~4/aLevHeA9dbw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.valentinbora.com/node-js-and-comet-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.valentinbora.com/node-js-and-comet-magic/</feedburner:origLink></item>
		<item>
		<title>Updated my portfolio</title>
		<link>http://feedproxy.google.com/~r/ValentinBoraBlog/~3/mpJVHZojkOs/</link>
		<comments>http://blog.valentinbora.com/updated-my-portfolio/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 10:54:28 +0000</pubDate>
		<dc:creator>Valentin</dc:creator>
				<category><![CDATA[Nirvana]]></category>

		<guid isPermaLink="false">http://blog.valentinbora.com/?p=231</guid>
		<description><![CDATA[After a long and very busy time I have managed to allocate an hour to update my portfolio. Now it feels so much better to see all the work I&#8217;ve done lately and all the people I&#8217;ve met as a direct result. I&#8217;ve been working with Joy Group, Almere, Netherlands for 1.5 years now and [...]]]></description>
			<content:encoded><![CDATA[<p>After a long and very busy time I have managed to allocate an hour to update my portfolio. Now it feels so much better to see all the work I&#8217;ve done lately and all the people I&#8217;ve met as a direct result.</p>
<p>I&#8217;ve been working with <a href="http://www.joygroup.nl" target="_blank">Joy Group, Almere, Netherlands</a> for 1.5 years now and I am as happy as ever. The company has grown exponentially even in this difficult economic period. The company as well as myself have been crazily busy, with new opportunities knocking all the time.</p>
<p>Also, as a strategic move, we&#8217;ve decided to stop using Zend Framework and become a fully featured Drupal shop. I welcome this decision and have started to go Drupal myself, finding it fascinating with every new bit of information I learn.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=mpJVHZojkOs:cwUiu7M7XW8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=mpJVHZojkOs:cwUiu7M7XW8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=mpJVHZojkOs:cwUiu7M7XW8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?i=mpJVHZojkOs:cwUiu7M7XW8:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ValentinBoraBlog/~4/mpJVHZojkOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.valentinbora.com/updated-my-portfolio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.valentinbora.com/updated-my-portfolio/</feedburner:origLink></item>
		<item>
		<title>2010 eCommerce Gala in Bucharest</title>
		<link>http://feedproxy.google.com/~r/ValentinBoraBlog/~3/F8VCJuR40cs/</link>
		<comments>http://blog.valentinbora.com/2010-ecommerce-gala-in-bucharest/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 14:37:23 +0000</pubDate>
		<dc:creator>Valentin</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://blog.valentinbora.com/?p=220</guid>
		<description><![CDATA[About the event GPeC (Gala Premiilor eCommerce) &#8211; http://www.gpec.ro has now been at its fifth edition and culminated in the number of Romanian online shops that participated in the contest. GPeC represents a very serious competition with rigorous criteria judged by qualified individuals from the industry. The high number of contestants emphasizes the interest in [...]]]></description>
			<content:encoded><![CDATA[<h2>About the event</h2>
<p>GPeC (Gala Premiilor eCommerce) &#8211; <a href="http://www.gpec.ro" target="_blank">http://www.gpec.ro</a> has now been at its fifth edition and culminated in the number of Romanian online shops that participated in the contest. GPeC represents a very serious competition with rigorous criteria judged by qualified individuals from the industry.</p>
<p>The high number of contestants emphasizes the interest in self improvement as well as the boom in the online commerce industry in Romania.</p>
<h2>My involvement</h2>
<p>I&#8217;ve been invited as a jury member to the contest held in Bucharest at Ramada Parc Hotel on September 2, 2010. There was a lot of work to be done, I had to decide 649 marks for the 12 shops, 59 criteria for each of them. These included design, usability, technical functionality, information architecture, user experience, as well as the shopping experience. This was the first year to include mystery shopping and I must admit that it was quite an experience having to buy products such as scissors and carrots from as much as 600-800 km away. Overall I am very happy with the delivery in our country, considering the bad shape of the roads and general infrastructure.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=F8VCJuR40cs:b1b_wlYXJGY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=F8VCJuR40cs:b1b_wlYXJGY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ValentinBoraBlog?a=F8VCJuR40cs:b1b_wlYXJGY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ValentinBoraBlog?i=F8VCJuR40cs:b1b_wlYXJGY:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ValentinBoraBlog/~4/F8VCJuR40cs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.valentinbora.com/2010-ecommerce-gala-in-bucharest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.valentinbora.com/2010-ecommerce-gala-in-bucharest/</feedburner:origLink></item>
	</channel>
</rss>

