<?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/" ><channel><title>iheli.us</title> <atom:link href="http://iheli.us/feed" rel="self" type="application/rss+xml" /><link>http://iheli.us</link> <description>Health Nut, Entrepreneur, Nerd blog</description> <lastBuildDate>Tue, 21 Feb 2012 04:00:30 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Good Bye Facebook!</title><link>http://iheli.us/health/good-bye-facebook</link> <comments>http://iheli.us/health/good-bye-facebook#comments</comments> <pubDate>Fri, 17 Feb 2012 18:33:57 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Enlightenment]]></category> <category><![CDATA[Health]]></category> <category><![CDATA[Security]]></category><guid isPermaLink="false">http://iheli.us/?p=274</guid> <description><![CDATA[WHEW!!!! I&#8217;m done. As of 11AM this morning, I have deleted (I hope) my facebook account. My reasoning is my own. I don&#8217;t and will not miss it. Good bye Facebook. You suck.]]></description> <content:encoded><![CDATA[<p>WHEW!!!! I&#8217;m done. As of 11AM this morning, I have deleted (I hope) my facebook account. My reasoning is my own. I don&#8217;t and will not miss it.</p><p>Good bye Facebook. <em>You suck.</em></p><p><a href="http://iheli.us/wp-content/uploads/2012/02/0278615_facebook_sucks_xlarge.png"><img src="http://iheli.us/wp-content/uploads/2012/02/0278615_facebook_sucks_xlarge.png" alt="" title="0278615_facebook_sucks_xlarge" width="350" height="311" class="aligncenter size-full wp-image-275" /></a></p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/health/good-bye-facebook/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>GNUPG Public Key</title><link>http://iheli.us/linux/gnupg-public-key</link> <comments>http://iheli.us/linux/gnupg-public-key#comments</comments> <pubDate>Sun, 12 Feb 2012 20:29:36 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category><guid isPermaLink="false">http://iheli.us/?p=258</guid> <description><![CDATA[Here are my public keys. Please use them when you send me an email. Thanks. -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.9 (MingW32) mQENBE84HWABCADHzo8Dd8h6CM52YorP97wXH56xBHA370EKgpAADs6kX4754opC 6tdNyrFQw72hedXhlXjwhv+0TztyLj20HM5UNsY260ZWNgKVHbvP3OFuV1MU3HG5 kTnKb0F/oLHuSlRgPS7H5IWsIZqXw7F6+RACZWgXkVLV8Bs8k7Ixf1VOIAsZEUG+ IPEVB0lH198niy2s5+NeEmslJxeUeY/nmSyJmxnE/Sad7KoiT2OgdDNj5jeAFbwq gvvUUr3OH5I6eEuB5Fbk9c/zwGjPXFVq5bOQRgqp0OcceFrIsr3xrRqHdUJYLpyk 0RToU99dEoC+hpWGuNTFHm+6YnieHV8+raR9ABEBAAG0Jk5hdGhhbiBQaWVyY2Ug PGhlbGl1c2Rlc2lnbkBnbWFpbC5jb20+iQE8BBMBAgAmBQJPOB1gAhsjBQkJZgGA BgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQnSSSHpQ5yDC5XQf/WqC/7aWHCg6l IxzcuIDSrGeAXysAB8JK1n7XLg3BgHY8F2l14sCBq/2CGuoCDQpBOcZ+NtJhQcDj B3m1J3MvtDNgtfwTsoyntB0kHtppN4WWyHQYD2zvZbiXiCYHpI+ySH5x2x7nw+8n nyGJig1ZUyXgrgEKe59dsyUE1jQpvH/REjORFLjem3Xr91H5jOcOrZSeJkNQrIcY 3Z0KprKF97jfjM5FOmYpuI1O/YU/8ELlTMxrlONZreFdMWoiROFzqUk+iDGgycuT LVSPrl3b0NpmdqsbMFutaHCFqnRQMHxwwX+s3qBa/LULI19iTxdyQ/xzMRzSqgNt DfbDy5079rkBDQRPOB1gAQgAkR/il/Q8doTzhb448vxX4v5GrHuP+jN4fGMZI3vx Sae1WSE9g1mbfkeX3RjKEDYPWjZt5HIUcqquXnfErTrFLMjdBxjmmT3YxEBrspwK rNakg68eFgwXXnWd0LH9lTv7Akx4Y11Tm+k4/DylHK+TSZWh+C1iqHw2d5AIVsLJ a8fJ1AZtXyFB9cDK3UPSYtAWbALrVmLrQf96ZXeMToQwqcS6v9+YquWWeYAOmIc+ /Jd8x+/YTY3wMxY9QWnQ+PhU6SviVNkMYuOBPGZruTAl13XZr2fds/4QQXGfR8VC q6M+RcqedQGJJGlTvpTSgF3nVDPAxCG8sDJq0CSGu8UY8QARAQABiQElBBgBAgAP BQJPOB1gAhsMBQkJZgGAAAoJEJ0kkh6UOcgwsxQIAJjbQvmcEKJT52d1mbMGMPnB zMDZrN+rN2SW+AKYspTkk24ChqXkorgmYbz++seZ6LzXWcgqwNVM4KdisAOla3S0 NRrVRbqnXoFq6rkoKTHBTzFg4j+5N5xgc1wM9GVPTa8KYHUnrOg8sSByU8JT3wDy mVpLrUJTYbP5Fo1iMJdZHSQ4/7BJxuBuc4Pnc1J6xKgBuAtMqocodXYjm5+e18Au niNgjUrRwjTTCnlHU+1/5S1PZGyvx0EWEMhcsN8EI2C9XTnmHkZkDFX21qi8UJYb Tho2yuULHMsMybQ7C646A03ikvoAA2J9dd6IVIntlB+eAlJgwQ70YjZbAz+P638= =wSdE -----END PGP PUBLIC KEY BLOCK-----]]></description> <content:encoded><![CDATA[<p>Here are my public keys. Please use them when you send me an email. Thanks.</p><pre><span style="color: #808080;">-----BEGIN PGP PUBLIC KEY BLOCK-----</span>
<span style="color: #808080;"> Version: GnuPG v1.4.9 (MingW32)</span></pre><pre><span style="color: #808080;">mQENBE84HWABCADHzo8Dd8h6CM52YorP97wXH56xBHA370EKgpAADs6kX4754opC</span>
<span style="color: #808080;"> 6tdNyrFQw72hedXhlXjwhv+0TztyLj20HM5UNsY260ZWNgKVHbvP3OFuV1MU3HG5</span>
<span style="color: #808080;"> kTnKb0F/oLHuSlRgPS7H5IWsIZqXw7F6+RACZWgXkVLV8Bs8k7Ixf1VOIAsZEUG+</span>
<span style="color: #808080;"> IPEVB0lH198niy2s5+NeEmslJxeUeY/nmSyJmxnE/Sad7KoiT2OgdDNj5jeAFbwq</span>
<span style="color: #808080;"> gvvUUr3OH5I6eEuB5Fbk9c/zwGjPXFVq5bOQRgqp0OcceFrIsr3xrRqHdUJYLpyk</span>
<span style="color: #808080;"> 0RToU99dEoC+hpWGuNTFHm+6YnieHV8+raR9ABEBAAG0Jk5hdGhhbiBQaWVyY2Ug</span>
<span style="color: #808080;"> PGhlbGl1c2Rlc2lnbkBnbWFpbC5jb20+iQE8BBMBAgAmBQJPOB1gAhsjBQkJZgGA</span>
<span style="color: #808080;"> BgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQnSSSHpQ5yDC5XQf/WqC/7aWHCg6l</span>
<span style="color: #808080;"> IxzcuIDSrGeAXysAB8JK1n7XLg3BgHY8F2l14sCBq/2CGuoCDQpBOcZ+NtJhQcDj</span>
<span style="color: #808080;"> B3m1J3MvtDNgtfwTsoyntB0kHtppN4WWyHQYD2zvZbiXiCYHpI+ySH5x2x7nw+8n</span>
<span style="color: #808080;"> nyGJig1ZUyXgrgEKe59dsyUE1jQpvH/REjORFLjem3Xr91H5jOcOrZSeJkNQrIcY</span>
<span style="color: #808080;"> 3Z0KprKF97jfjM5FOmYpuI1O/YU/8ELlTMxrlONZreFdMWoiROFzqUk+iDGgycuT</span>
<span style="color: #808080;"> LVSPrl3b0NpmdqsbMFutaHCFqnRQMHxwwX+s3qBa/LULI19iTxdyQ/xzMRzSqgNt</span>
<span style="color: #808080;"> DfbDy5079rkBDQRPOB1gAQgAkR/il/Q8doTzhb448vxX4v5GrHuP+jN4fGMZI3vx</span>
<span style="color: #808080;"> Sae1WSE9g1mbfkeX3RjKEDYPWjZt5HIUcqquXnfErTrFLMjdBxjmmT3YxEBrspwK</span>
<span style="color: #808080;"> rNakg68eFgwXXnWd0LH9lTv7Akx4Y11Tm+k4/DylHK+TSZWh+C1iqHw2d5AIVsLJ</span>
<span style="color: #808080;"> a8fJ1AZtXyFB9cDK3UPSYtAWbALrVmLrQf96ZXeMToQwqcS6v9+YquWWeYAOmIc+</span>
<span style="color: #808080;"> /Jd8x+/YTY3wMxY9QWnQ+PhU6SviVNkMYuOBPGZruTAl13XZr2fds/4QQXGfR8VC</span>
<span style="color: #808080;"> q6M+RcqedQGJJGlTvpTSgF3nVDPAxCG8sDJq0CSGu8UY8QARAQABiQElBBgBAgAP</span>
<span style="color: #808080;"> BQJPOB1gAhsMBQkJZgGAAAoJEJ0kkh6UOcgwsxQIAJjbQvmcEKJT52d1mbMGMPnB</span>
<span style="color: #808080;"> zMDZrN+rN2SW+AKYspTkk24ChqXkorgmYbz++seZ6LzXWcgqwNVM4KdisAOla3S0</span>
<span style="color: #808080;"> NRrVRbqnXoFq6rkoKTHBTzFg4j+5N5xgc1wM9GVPTa8KYHUnrOg8sSByU8JT3wDy</span>
<span style="color: #808080;"> mVpLrUJTYbP5Fo1iMJdZHSQ4/7BJxuBuc4Pnc1J6xKgBuAtMqocodXYjm5+e18Au</span>
<span style="color: #808080;"> niNgjUrRwjTTCnlHU+1/5S1PZGyvx0EWEMhcsN8EI2C9XTnmHkZkDFX21qi8UJYb</span>
<span style="color: #808080;"> Tho2yuULHMsMybQ7C646A03ikvoAA2J9dd6IVIntlB+eAlJgwQ70YjZbAz+P638=</span>
<span style="color: #808080;"> =wSdE</span>
<span style="color: #808080;"> -----END PGP PUBLIC KEY BLOCK-----</span></pre>]]></content:encoded> <wfw:commentRss>http://iheli.us/linux/gnupg-public-key/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Dude Says</title><link>http://iheli.us/random/the-dude-says</link> <comments>http://iheli.us/random/the-dude-says#comments</comments> <pubDate>Sun, 29 Jan 2012 18:51:48 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Random]]></category><guid isPermaLink="false">http://iheli.us/?p=241</guid> <description><![CDATA[This dude is my coworker. This dude posts random stuff which is hilarious. http://thedudesays.com/]]></description> <content:encoded><![CDATA[<p><img src="http://24.media.tumblr.com/tumblr_lx77sijQMo1qk2n1po1_400.gif" alt="THE DUDE SPRAYS " /></p><p>This dude is my coworker. This dude posts random stuff which is hilarious. <a href="http://thedudesays.com/" title="The Dude Says - Blog">http://thedudesays.com/</a></p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/random/the-dude-says/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Have you tried turning off and back on again?</title><link>http://iheli.us/politics/have-you-tried-turning-off-and-back-on-again</link> <comments>http://iheli.us/politics/have-you-tried-turning-off-and-back-on-again#comments</comments> <pubDate>Sun, 22 Jan 2012 19:56:10 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Politics]]></category><guid isPermaLink="false">http://iheli.us/?p=237</guid> <description><![CDATA[Hehehe, I had to save this somewhere.]]></description> <content:encoded><![CDATA[<p><a href="http://i.imgur.com/ss59D.jpg"><img src="http://i.imgur.com/ss59D.jpg" alt="" title="ss59D" width="320" height="205" class="aligncenter size-full wp-image-238" /></a></p><p>Hehehe, I had to save this somewhere.</p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/politics/have-you-tried-turning-off-and-back-on-again/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Karnivool &#8211; One of my favorites.</title><link>http://iheli.us/music/karnivool-one-of-my-favorites</link> <comments>http://iheli.us/music/karnivool-one-of-my-favorites#comments</comments> <pubDate>Tue, 17 Jan 2012 05:30:51 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Music]]></category><guid isPermaLink="false">http://iheli.us/?p=228</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p><iframe width="500" height="284" src="http://www.youtube.com/embed/J93Jqw_WcAg" frameborder="0" allowfullscreen></iframe></p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/music/karnivool-one-of-my-favorites/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How I keep Windows Virus &amp; Malware free</title><link>http://iheli.us/computers/how-i-keep-windows-virus-malware-free-and-secure</link> <comments>http://iheli.us/computers/how-i-keep-windows-virus-malware-free-and-secure#comments</comments> <pubDate>Tue, 17 Jan 2012 00:38:59 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Computers]]></category><guid isPermaLink="false">http://iheli.us/?p=218</guid> <description><![CDATA[Windows sucks, we all know that. But I play games and like windows when it works. Therefor I&#8217;m going to post what keeps my machine clean, secure, and virus free. 1. Secunia PSI &#8211; http://secunia.com/vulnerability_scanning/personal/ This sweet baby checks and even auto updates some stuff when software becomes out of date. For example, the company [...]]]></description> <content:encoded><![CDATA[<p><a href="http://iheli.us/wp-content/uploads/2012/01/sqdnguns_advise.jpg"><img class="aligncenter size-full wp-image-219" title="sqdnguns_advise" src="http://iheli.us/wp-content/uploads/2012/01/sqdnguns_advise.jpg" alt="" width="400" height="237" /></a><br /> Windows sucks, we all know that. But I play games and like windows when it works. Therefor I&#8217;m going to post what keeps my machine clean, secure, and virus free.</p><p><strong>1. Secunia PSI &#8211; http://secunia.com/vulnerability_scanning/personal/</strong><br /> This sweet baby checks and even auto updates some stuff when software becomes out of date. For example, the company I work for had thousands of customers become hacked and it was through FTP. We called it Gumblar. This was a vulnerability with Out of Date Flash Player and FTP programs. Secunia noticed FTP and Flash player were out of date and updated for me. Boom &#8211; Secure.</p><p><strong>2. AVG &#8211; http://free.avg.com/us-en/homepage</strong><br /> Everyone needs a good anti-virus. Preferably one which doesn&#8217;t HOG RESOURCES *cough* Mcafee *cough* Norton *cough*. AVG is free, lightweight, and just works. Never had a complaint with it.</p><p><strong>3. MalwareBytes Anti-Malware (well gee, I never would have guessed by the name) &#8211; http://www.malwarebytes.org/</strong><br /> It works just fine with the free version. It will find trojans and even malware (ha).</p><p><strong>4. Hitman Pro &#8211; http://www.surfright.nl/en/hitmanpro</strong><br /> This was the only thing which was able to un-rootkit a client&#8217;s computer. Thing was crazy dug in, but it did the job. Always good to keep on hand.</p><p>That&#8217;s really it. You don&#8217;t need anything crazy. Just make sure you&#8217;re up to date with windows update too and you&#8217;ll be golden.</p><p>Or you could just use Linux.</p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/computers/how-i-keep-windows-virus-malware-free-and-secure/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Silverchair &#8211; Emotional Sickness Guitar Pro Tab</title><link>http://iheli.us/music/silverchair-emotional-sickness-guitar-pro-tab</link> <comments>http://iheli.us/music/silverchair-emotional-sickness-guitar-pro-tab#comments</comments> <pubDate>Wed, 11 Jan 2012 17:48:44 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Music]]></category><guid isPermaLink="false">http://iheli.us/?p=212</guid> <description><![CDATA[So I couldn&#8217;t find a GOOD acoustic copy for Silverchair&#8217;s Emotion Sickness song. So I re-tabbed it based on a crappy one I found online. Download Silverchair &#8211; Emotion Sickness guitar pro tab]]></description> <content:encoded><![CDATA[<p>So I couldn&#8217;t find a GOOD acoustic copy for Silverchair&#8217;s Emotion Sickness song. So I re-tabbed it based on a crappy one I found online.</p><p><a href="http://www.mediafire.com/?vy961t77bl6xged" target="_blank">Download Silverchair &#8211; Emotion Sickness guitar pro tab</a></p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/music/silverchair-emotional-sickness-guitar-pro-tab/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Subversion 1.7.2 on cPanel / Centos</title><link>http://iheli.us/linux/subversion-1-7-2-on-cpanel-centos</link> <comments>http://iheli.us/linux/subversion-1-7-2-on-cpanel-centos#comments</comments> <pubDate>Wed, 04 Jan 2012 21:39:09 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://iheli.us/?p=186</guid> <description><![CDATA[This was an installation for a customer and I figured I&#8217;d post my problems to help anyone else. I use Apache 2 Make sure to delete any yum&#8217;d version of SVN: yum remove subversion cd /usr/src wget http://www.webdav.org/neon/neon-0.2X.0.tar.gz tar -xzvf neon-0.2X.0.tar.gz make &#038;&#038; make install Then, I did a normal install but specified neon&#8217;s install [...]]]></description> <content:encoded><![CDATA[<p>This was an installation for a customer and I figured I&#8217;d post my problems to help anyone else. I use Apache 2</p><p>Make sure to delete any yum&#8217;d version of SVN:</p><ol><li><code>yum remove subversion</li><p></code></p><li><code>cd /usr/src</code></li><li><code>wget http://www.webdav.org/neon/neon-0.2X.0.tar.gz</code></li><li><code>tar -xzvf neon-0.2X.0.tar.gz</li><p></code></p><li><code>make &#038;&#038; make install</code></li></ol><p>Then, I did a normal install but specified neon&#8217;s install path:</p><ol><li><code>cd /usr/src</li><p></code></p><li><code>wget http://apache.xmundo.com.ar/subversion/subversion-1.7.2.tar.gz</li><p></code></p><li><code>tar -xzvf subversion-1.7.2.tar.gz</li><p></code></p><li><code>cd subversion-1.7.2</li><p></code></p><li><code>./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-ssl --with-neon=/usr/local/</li><p></code></p><li><code>make &#038;&#038; make install</li><p></code></ol><p>You may now need to install the SVN Apache modules. These will be in /usr/src/subversion-<version>/subversion, and should already be installed into Apache. If not, go back into the subversion source dir and re-run the configure line adding <em>&#8211;enable-dso</em> and then make but to <strong>NOT</strong> make install.</p><p>Add the following lines to httpd.conf:</p><ol><li><code>LoadModule dav_svn_module     modules/mod_dav_svn.so</li><p></code></p><li><code>LoadModule authz_svn_module   modules/mod_authz_svn.so</li><p></code></p></ol><p>Zen Roon:</p><ol><li><code>/usr/local/cpanel/bin/apache_conf_distiller --update</li><p></code></ol><p>If apache throws an error like the one below (it&#8217;s not the entire error) -</p><p>&#8220;subversion/libsvn_subr/.libs/libsvn_subr-1.so.0: undefined symbol: sqlite3_clear_bindings&#8221;</p><p>- you need to upgrade sqlite manually (not from yum, since the readme for subversion says you need 3.4.0 or higher and 3.3.6 is what my yum is forcing me to install)</p><p>I did the following to update sqlite:</p><ol><li><code>wget http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/sqlite-3.7.0.1-1.el5.art.x86_64.rpm</li><p></code></p><li><code>rpm -Uvh sqlite-3.7.0.1-1.el5.art.x86_64.rpm (or rpm -i)</li><p></code></ol><p>You may have to create a symbolic link to the /usr/bin/ folder for svn: ln -s /usr/local/bin/svn /usr/bin/svn</p><p>Otherwise, both svn &#8211;version and whereis svn show correct info.</p> ]]></content:encoded> <wfw:commentRss>http://iheli.us/linux/subversion-1-7-2-on-cpanel-centos/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>FFMPEG installation with extras for Centos VPS</title><link>http://iheli.us/linux/ffmpeg-installation-with-extras-for-centos-vps</link> <comments>http://iheli.us/linux/ffmpeg-installation-with-extras-for-centos-vps#comments</comments> <pubDate>Tue, 03 Jan 2012 01:59:09 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://iheli.us/?p=160</guid> <description><![CDATA[*Updated 02/02/12* I just found you can just yum everything after installing RPM forge. ffmpeg-php may not be included so you&#8217;ll want to skip to the very bottom afterwords and compile it manually. GUIDE IS FOR VPS AND HIGHER PLANS (with root &#8211; I haven&#8217;t tried without but it may be possible). Shared class does [...]]]></description> <content:encoded><![CDATA[<p>*Updated 02/02/12* I just found you can just yum everything after installing RPM forge. ffmpeg-php may not be included so you&#8217;ll want to skip to the very bottom afterwords and compile it manually.</p><p>GUIDE IS FOR VPS AND HIGHER PLANS (with root &#8211; I haven&#8217;t tried without but it may be possible). Shared class does not come with the ability to do this.</p><p>Also, a lot of my help came from http://wiki.jvideodirect.com/w/Converter_Setup, which I was installing on a VPS. You can review their installation instructions, but they don&#8217;t exactly fit our Centos 5 VPS servers. This guide is my logs from installing it on a 1024M VPS.</p><h3><span style="color: #00ccff;"><strong>Necessary before installation</strong></span></h3><ol><li><code>yum install libXv-devel-1.0.1-4.1.i386</code></li><li><code>yum install libXv-devel-1.0.1-4.1.x86_64</code></li></ol><p>&nbsp;<br /> You can use the below command to install RPMForge in one command.</p><ol><li> <code>cd /usr/src/ &#038;&#038; wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el`cat /etc/redhat-release | cut -d' ' -f3|cut -d. -f1`.rf.`uname -i`.rpm &#038;&#038; rpm -Uhv rpmforge-release-0.5.2-2.el`cat /etc/redhat-release | cut -d' ' -f3|cut -d. -f1`.rf.`uname -i`.rpm</code></li></ol><p>http://adityo.blog.binusian.org/?tag=add-rpmforge-and-dag-repository-on-centos</p><h2><span style="color: #04FcfD;"><strong>Quick Installation Guide -</strong></span></h2><ol><li><code>yum update</code></li><li><code>yum install ffmpeg ffmpeg-devel ffmpeg-php mplayer mencoder libogg libvorbis</code></li></ol><h2><span style="color: #00ccff;"><strong>Manual Installation Guide -</strong></span></h2><p>Make sure you cd /opt &#8211; We will be wget&#8217;ng everything into the /opt folder.</p><h3><span style="color: #00ccff;">== Step 0.5 SVN</span></h3><p><strong><em>Easy Method</em></strong></p><ol><li><code>yum update</code></li><li><code>yum install subversion</code></li></ol><p>&nbsp;</p><p><strong><em>Advanced Method</em></strong></p><ol><li><code>cd /usr/src</code></li><li><code>wget http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz</code></li><li><code>wget http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.gz</code></li><li><code>tar xvzf subversion-1.6.13.tar.gz</code></li><li><code>tar xvzf subversion-deps-1.6.13.tar.gz</code></li><li><code>cd subversion-1.6.13</code></li><li><code>./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-ssl</code></li><li><code>make &amp;&amp; make install</code></li></ol><p>for apache module support, add this to httpd.conf or appropriate template</p><ol><li><code> LoadModule dav_svn_module modules/mod_dav_svn.so</code></li><li><code>LoadModule authz_svn_module modules/mod_authz_svn.so</code></li></ol><h3><span style="color: #00ccff;">== Step One &#8211; FAAD2</span></h3><p>Grab the newest (tar.gz) version from http://sourceforge.net/projects/faac/files/faad2-src/</p><ol><li><code>wget http://PATH TO FAAD2 VERSION.com/file.tar.gz</code></li><li><code>tar zxf faad2-2.6.1.tar.gz</code></li><li><code>cd faad2</code></li><li><code>autoreconf -vif</code></li><li><code>./configure --disable-drm --disable-mpeg4ip --with-mp4v2 --prefix=/usr</code></li><li><code>make &amp;&amp; make install</code></li><li><code>cd ..</code></li></ol><p>&nbsp;</p><h3><span style="color: #00ccff;">== Step Two &#8211; FAAC</span></h3><p>Grab the newest (tar.gz) version from http://sourceforge.net/projects/faac/files/faac-src/</p><ol><li><code>wget http://PATH TO FAAC VERSION.com/file.tar.gz</code></li><li><code>tar zxfv faac-1.26.tar.gz</code></li><li><code>cd faac</code></li><li><code>./bootstrap</code></li><li><code>./configure --prefix=/usr</code></li><li><code>make &amp;&amp; make install</code></li><li><code> cd ..</code></li></ol><h3><span style="color: #00ccff;">== Step Three &#8211; Lame</span></h3><p>Grab the newest (tar.gz) version from http://sourceforge.net/projects/lame/files/lame/</p><ol><li><code>wget http://PATH TO LAME VERSION.com/file.tar.gz</code></li><li><code>tar zxfv lame-3.98b8.tar.gz</code></li><li><code>cd lame-3.98b8</code></li><li><code>tar xzvf lame-398-2.tar.gz</code></li><li><code> cd lame-398-2</code></li><li><code>./configure --prefix=/usr</code></li><li><code>make clean</code></li><li><code>make &amp;&amp; make install</code></li><li><code>cd ..</code></li></ol><h3><span style="color: #00ccff;">== Step Four &#8211; Yasm</span></h3><ol><li><code>wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz</code></li><li><code>tar zfvx yasm-1.1.0.tar.gz</code></li><li><code>cd yasm-1.1.0</code></li><li><code>./configure --prefix=/usr</code></li><li><code>make &amp;&amp; make install</code></li><li><code>cd ..</code></li></ol><h3><span style="color: #00ccff;">== Step Five &#8211; MP4Box/GPAC</span></h3><ol><li><code>wget http://sourceforge.net/projects/gpac/files/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz</code></li><li><code>wget http://sourceforge.net/projects/gpac/files/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5 /gpac_extra_libs-0.4.5.tar.gz</code></li><li><code>tar -xzf gpac-0.4.5.tar.gz</code></li><li><code>tar -xzf gpac_extra_libs-0.4.5.tar.gz</code></li><li><code>cd gpac_extra_libs</code></li><li><code>cp -rf * ../gpac/extra_lib/</code></li><li><code>cd ../gpac</code></li><li><code>chmod +x configure</code></li><li><code>./configure</code></li><li><code>make lib</code></li><li><code>make apps</code></li><li><code>make install lib</code></li><li><code>make install</code></li><li><code>cp bin/gcc/libgpac.so /usr/lib/</code></li></ol><h3><span style="color: #00ccff;">== Step Six &#8211; x264 (LIBX264)</span></h3><p>Again, grab the newest release: http://download.videolan.org/pub/videolan/x264/snapshots/</p><ol><li><code>wget http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20110213-2245.tar.bz2</code></li><li><code>bzip2 -cd x264-snapshot-20110213-2245.tar.bz2 | tar xvf -</code></li><li><code>cd x264-snapshot-20110213-2245</code></li><li><code>./configure --enable-mp4-output --enable-shared --enable-pthread --prefix=/usr</code></li><li><code>make &amp;&amp; make install</code></li><li><code>cd ..</code></li></ol><p>&nbsp;</p><h3><span style="color: #00ccff;">== Step Seven &#8211; xvid</span></h3><p>Grab the newest (tar.gz) version from http://www.xvid.org/Downloads.43.0.html</p><ol><li><code>wget http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gz</code></li><li><code>tar zxfv xvidcore-1.2.2.tar.gz</code></li><li><code>cd xvidcore/build/generic</code></li><li><code>./configure --prefix=/usr</code></li><li><code>make &amp;&amp; make install</code></li><li><code>cd ../../..</code></li></ol><p>&nbsp;</p><h2><span style="color: #00ccff;">== Step Eight &#8211; FFMPEG</span></h2><ol><li><code>svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg</code></li><li><code>cd ffmpeg</code></li><li><code>./configure --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-swscale --enable-<br /> avfilter --enable-pthreads --enable-libxvid --enable-libmp3lame --enable-libfaac --disable-ffserver<br /> --disable-ffplay --enable-libx264 --prefix=/usr --enable-shared --enable-mmx</code></li><li><code>make (check for errors)</code></li><li><code>make install</code></li></ol><p>*Original with disabled x264 and 1394</p><ol><li><code>./configure --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad<br /> --enable-swscale --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-<br /> libmp3lame --enable-libdc1394 --enable-liba52 --enable-libfaac --disable-ffserver --disable-ffplay<br /> --prefix=/usr</code></li></ol><p>&nbsp;</p><p>This may or may not be necessary -</p><ol><li><code>ln -s /usr/local/lib/libavformat.so.50 /usr/lib64/libavformat.so.50</code></li><li><code>ln -s /usr/local/lib/libavcodec.so.51 /usr/lib64/libavcodec.so.51</code></li><li><code>ln -s /usr/local/lib/libavutil.so.49 /usr/lib64/libavutil.so.49</code></li><li><code>ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib64/libmp3lame.so.0</code></li><li><code>ln -s /usr/local/lib/libavformat.so.51 /usr/lib64/libavformat.so.51</code></li></ol><p>&nbsp;</p><h2><span style="color: #00ccff;">== Step NiNE &#8211; FFMPEG-PHP</span></h2><ol><li><code>wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download</code></li><li><code>tar jxvf ffmpeg-php-0.6.0.tbz2</code></li><li><code>cd ffmpeg-php-0.6.0</code></li><li><code>phpize</code></li><li><code>./configure</code></li></ol><p>&nbsp;</p><h3><span style="color: #ff0000;">*****IMPORTANT IF YOU GET ERRORS ON CONFIGURE*****</span><br /> 1. Open the file “/root/ffmpeg-php-0.5.0/ffmpeg_frame.c” using vi editor (or nano).<br /> 2. Go to the line you are getting this error. [In this example, line #495].<br /> 3. Execute the following command.<br /> Press ESC and :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32<br /> 4. Save the file and recompile it once again.</h3><ol><li><code>make</code></li><li><code>make install</code></li><li><code>copy /usr/src/ffmpeg/libavutil/libavutil.so.50 to /usr/lib64</code></li></ol><p>&nbsp;</p><h3><span style="color: #00ccff;">== Step Ten &#8211; flvtool2</span></h3><p>flvtool2 install info http://www.mysql-apache-php.com/ffmpeg-install.htm</p><h4>Optional &#8212; == Install MENCODER + MPLAYER</h4><p>MENCODER is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs. The Installation Process [[ Note: I used /opt and not usr/local/src, but I would suggest following the instructions if you're not familiar with this stuff.]]</p><ol><li><code>mkdir /usr/local/src</code></li><li><code>cd /usr/local/src</code></li><li><code>wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2</code></li><li><code>tar jxvf essential-20061022.tar.bz2</code></li><li><code>mkdir /usr/local/lib/codecs/</code></li><li><code>mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/</code></li><li><code>chmod -R 755 /usr/local/lib/codecs/</code></li><li><code>mkdir /usr/local/src/tmp</code></li><li><code>chmod 777 /usr/local/src/tmp</code></li><li><code>export TMPDIR=/usr/local/src/tmp</code></li><li><code>svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer</code></li><li><code>cd /usr/local/src/mplayer</code></li><li><code>svn update</code></li><li><code>make distclean</code></li><li><code>./configure</code></li><li><code>make clean</code></li><li><code>make</code></li><li><code>make install</code></li></ol> ]]></content:encoded> <wfw:commentRss>http://iheli.us/linux/ffmpeg-installation-with-extras-for-centos-vps/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing Varnish Caching on a VPS</title><link>http://iheli.us/linux/installing-varnish-caching-on-a-vps</link> <comments>http://iheli.us/linux/installing-varnish-caching-on-a-vps#comments</comments> <pubDate>Sun, 01 Jan 2012 22:20:12 +0000</pubDate> <dc:creator>Tenche</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://iheli.us/?p=133</guid> <description><![CDATA[Overview This guide is for my VPS 1024M with InMotionHosting. Credit for this goes to David Dunn root ~]#: cat /etc/redhat-release CentOS release 5.7 (Final) Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to [...]]]></description> <content:encoded><![CDATA[<h2>Overview</h2><p>This guide is for my VPS 1024M with InMotionHosting.<br /> Credit for this goes to <a href="https://plus.google.com/116636257265434224064">David Dunn</a></p><ol><li><p>root ~]#: cat /etc/redhat-release<br /> CentOS release 5.7 (Final)</li></ol><p>Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 &#8211; 1000x, depending on your architecture.</p><p>Like many other caching systems, the increase in speed (and decrease in CPU) does come at the expense of memory. For practicality purposes, it can be installed on any VPS, but is best suited to a high-end VPS (512M or higher) or Dedicated server.</p><p>&nbsp;</p><p><a id="Installation" name="Installation"></a></p><h2>Installation</h2><p>Much like installing a third-party webserver or apache module, cPanel won&#8217;t be able to directly control or manage Varnish. This doesn&#8217;t mean that it can&#8217;t be installed in such a way as to preserve all the existing cPanel functionality.</p><p><a id="Changing_the_non-ssl_port_on_apache" name="Changing_the_non-ssl_port_on_apache"></a></p><h4>Changing the non-ssl port on apache</h4><p>While you can use the &#8220;default&#8221; varnish settings, this won&#8217;t respond to port 80, so you won&#8217;t see any benefit unless you wish to simply perform benchmarking. First, things first, you&#8217;ll want to change the default apache port from 80 to something else (so Varnish can listen on port 80). This doesn&#8217;t have to be the first step in the process, but please make certain that its done before you attempt to run Varnish.</p><ol><li><code># Open WHM as root on the target server and go to Server Configuration -&gt; Tweak Settings</code></li><li><code># Scroll down to the System section(or use the "find" option on the right to search for port) and change the default Apache non-SSL IP/port from 0.0.0.0:80 to the IP/Port of your choosing</code></li><li><code># If you only want apache to listen on a specific IP (not recommended) change 0.0.0.0 to that IP, it won't matter what you change the port to (but give it a number that won't conflict with any other service and keep a record of what you choose)</code></li></ol><p>For this example I&#8217;m setting the apache port to 1985, so the option would read 0.0.0.0:1985.</p><p><a id="Installing_Varnish" name="Installing_Varnish"></a></p><h4>Installing Varnish</h4><p>You&#8217;ll need to add the appropriate repository to install Varnish with yum. Since varnish can proxy _any_ server (not just apache) apache is not a prerequisite and you should be able to install it without needing to uncomment any restricted packages in /etc/yum.conf</p><p>Add the repository with:</p><ol><li><code>rpm --nosignature -i <a title="http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm" href="http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm" rel="nofollow">http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm</a></code></li></ol><p>then install varnish with</p><ol><li><code>yum install varnish</code></li></ol><p>Since its registered with yum, this means that varnish should update like any other system service during updates.</p><p><a id="Configuring_Varnish" name="Configuring_Varnish"></a></p><h4>Configuring Varnish</h4><p>Once Varnish is installed you&#8217;ll want to edit the configuration file located at /etc/sysconfig/varnish</p><p>If you&#8217;d like to make the most minimal edits (and use the simplest configuration settings) you can add the following to the bottom of this file (based off the simple &#8220;Alternative 1&#8243; configuration settings)</p><ol><li><code>DAEMON_OPTS="-a :80 \</code></li><li><code>-T localhost:6082 \</code></li><li><code>-b localhost:1985 \</code></li><li><code>-u varnish -g varnish \</code></li><li><code>-s file,/var/lib/varnish/varnish_storage.bin,1G"</code></li></ol><p>boiled down, this effectively is telling Varnish to:</p><ol><li><p>listen on all IP addresses on port 80</p></li><li><p>set the administrative interface on port 6082 (the default)</p></li><li><p>forward requests to localhost on port 1985 (our apache server)</p></li><li><p>set the user/group for child processes to varnish:varnish</p></li><li><p>use the file storage mechanism at /var/lib/varnish/varnish_storage,bin and use only 1GB for the file.</p></li></ol><p>restart varnish and apache with</p><ol><li><code>service varnish restart</code></li><li><code>service httpd restart</code></li></ol><p>and confirm that this is working. Please note that in subsequent changes you&#8217;ll only need to restart Varnish (not apache).</p><p><a id="modifying_the_DAEMON_OPTS" name="modifying_the_DAEMON_OPTS"></a></p><h3>modifying the DAEMON_OPTS</h3><p>If you notice that the Varnish Cache isn&#8217;t responding properly (or is giving you the generic cPanel page) you may need to specify your rules via a vcl file. There&#8217;s an example one provided. Simply modify your DAEMON_OPTS section like so:</p><ol><li><code>DAEMON_OPTS="-a :80 \</code></li><li><code>-T localhost:6082 \</code></li><li><code>-f /etc/varnish/oursettings.vcl \</code></li><li><code>-u varnish -g varnish \</code></li><li><code>-s file,/var/lib/varnish/varnish_storage.bin,2G"</code></li></ol><p>Note that we&#8217;re no longer defining the port apache is stored on. We&#8217;ll get to that in the VCL rules section below.</p><p><a id="Setting_the_VCL_rules" name="Setting_the_VCL_rules"></a></p><h3>Setting the VCL rules</h3><p>Navigate to the /etc/varnish/ directory and copy the default.vcl file to oursettings.vcl.</p><p>Open oursettings.vcl in your editor of choice to this file:</p><ol><li><code>backend b127_0_0_1{</code></li><li><code>.host = "127.0.0.1";</code></li><li><code>.port = "1985";</code></li><li><code>}</code></li><li><code>acl a127_0_0_1{</code></li><li><code>"127.0.0.1";</code></li><li><code>}</code></li><li><code>sub vcl_recv{</code></li><li><code>set req.http.X-Forwarded-For = client.ip;</code></li><li><code>if(server.ip ~ a127_0_0_1){</code></li><li><code>set req.backend = b127_0_0_1;</code></li><li><code>}</code></li><li><code>}</code></li></ol><p>The above example rules are based off a single IP configuration for the address &#8220;127.0.0.1&#8243; you&#8217;ll need to adjust appropriately (adding different backends for different IPS and adding them in the sub vcl_recv section</p><p><a id="Correcting_Apache_Logs" name="Correcting_Apache_Logs"></a></p><h2>Correcting Apache Logs</h2><p>Apache will log all IP addresses with the server&#8217;s own (since the request will be coming from Varnish and not the client). To adjust this, you will need to edit /usr/local/apache/conf/httpd.conf and distill the following changes.</p><p>First, update the logging format. Most sites should default to &#8220;combined&#8221; so make change that line in the &lt;IfModule log_config_module&gt; section from:</p><ol><li><code>LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined</code></li></ol><p>to:</p><ol><li><code>LogFormat "%{X-Forwarded-for}i %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined</code></li></ol><p>You&#8217;ll need to distill this and restart httpd</p><ol><li><code>/usr/local/cpanel/bin/apache_conf_distiller --update </code></li><li><code>service httpd restart</code></li></ol><p>If everything goes well you should be able to confirm that access logs are reflecting the correct IP by tailing them.</p><p>If you have sites that are using https (SSL) this could potentially break secure logs. If you need to avoid this, simply change the logging back and add a new LogFormat entry (called cached) and set the userdata entry to use this. Please note that this may not properly persist between updates.</p><h1>WHAT WON&#8217;T WORK -</h1><p>Since clients are no longer making requests directly to varnish certain IP-dependent features may not work (or may not work as expected)</p><ol><li><code>Hotlink Protection: will no longer work since Apache isn't directly receiving the request. (see this page for an alternate solution)</code></li><li><code> PHP logging IP addresses: mailerscripts/forums/comment functions will record the IP of the varnish server and not the visitor (there is a solution for this by replacing references for "REMOTE_ADDR" with "X_FORWARED_FOR". See this page for more information, alternatively you can place these forms behind a secure address where apache will process the request directly).</code></li><li><code> Exim logging IP addresses: similar to the above issue, mailer scripts triggered via PHP scripts will show the varnish address instead of the originating request. No fix at this time, though you can recommend applying a similar fix</code></li><li><code> Blocking IP via .htaccess: similar to the last two issues, since apache is not directly recieving the request it cannot block IPs. While varnish will certainly help with load related to large amounts of hits, this won't address abuse in the form of spammers or robots that you simply don't want to access your site. IPs can be blocked directly via apf, or by adding a "forbidden" acl in the varnish configuration see this page for more information. Please keep in mind that unlike a normal .htaccess block, this will completely block traffic for http connections to all sites (but not https since apache still handles those). </code></li></ol><p>&nbsp;</p><h2>ALTERNATE FIX FOR CMS/CARTS AND MAILER SCRIPTS</h2><hr /><p>You can manually override the PHP variables by adding the following line to the top of the affected PHP script (or the configuration file for the CMS/Cart/Blog)</p><ol><li><code style="font-size: 10px;">if($_SERVER['HTTPS'] !="on"){$_SERVER["REMOTE_ADDR"]=$_SERVER["HTTP_X_FORWARDED_FOR"];}</code></li></ol> ]]></content:encoded> <wfw:commentRss>http://iheli.us/linux/installing-varnish-caching-on-a-vps/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using apc
Object Caching 540/665 objects using apc

Served from: iheli.us @ 2012-02-23 03:05:25 -->
