<?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>Autarchy of the Private Caveshared hosting &#187;</title> <atom:link href="http://bogdan.org.ua/tags/shared-hosting/feed" rel="self" type="application/rss+xml" /><link>http://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Tue, 15 May 2012 21:56:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>An alternative to shared hosting</title><link>http://bogdan.org.ua/2008/06/04/an-alternative-to-shared-hosting.html</link> <comments>http://bogdan.org.ua/2008/06/04/an-alternative-to-shared-hosting.html#comments</comments> <pubDate>Wed, 04 Jun 2008 16:50:56 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[dedicated]]></category> <category><![CDATA[physical]]></category> <category><![CDATA[shared hosting]]></category> <category><![CDATA[slice]]></category> <category><![CDATA[slicehost]]></category> <category><![CDATA[VDS]]></category> <category><![CDATA[VPS]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=301</guid> <description><![CDATA[Personal communication resulted in a link to slicehost, who provide VDS/VPS services at prices as low as 20$/mo, which is comparable in price to good shared hosting plans, and is cheaper than Dedicated plans. I&#8217;m considering a move from shared hosting, and found Slicehost attractive. For 20$/mo, you get guaranteed 256MiB RAM, 10GiB disk and [...]]]></description> <content:encoded><![CDATA[<p>Personal communication resulted in a link to <a
href="http://www.slicehost.com/">slicehost</a>, who provide <abbr
title="Virtual Dedicated Server">VDS</abbr>/<abbr
title="Virtual Private Server">VPS</abbr> services at prices as low as 20$/mo, which is comparable in price to good shared hosting plans, and is cheaper than Dedicated plans.</p><p>I&#8217;m considering a move from shared hosting, and found Slicehost attractive. For 20$/mo, you get guaranteed 256MiB RAM, 10GiB disk and 100GiB traffic, which is sufficient to host several under-1k-per-day sites.</p><p>The only thing which isn&#8217;t spoken aloud is the guaranteed CPU speed. Based on the numbers provided: 16GiB total RAM per server, quad-core CPU, and CPU quotas set equivalently to RAM quotas, I came to a conclusion that 20$-plan guarantees ~125MHz of CPU (take 16 GiB, multiply by 4 20$-plans &#8211; you get 64 &#8220;slices&#8221; &#8211; virtual servers; quad core CPUs were quoted as 8+GHz &#8211; I assume that&#8217;s the sum of the core frequencies, thus 8GHz divided by 64 slices gives as little as 125MHz guaranteed per slice).</p><p>The better slice you buy &#8211; the more CPU is guaranteed, so for 1024-RAM slice you&#8217;d have a minimum of 500MHz of CPU.</p><p>However, slicehost describes their CPU-clamping system as the one allowing &#8220;bursted&#8221; performance, if others aren&#8217;t actively using their CPU shares. So it must be much better than what I&#8217;m calculating here. And even if it&#8217;s not, then for some applications it&#8217;s better to have a 125MHz-clamp on CPU, than have a <a
href="http://bogdan.org.ua/2007/10/16/godaddy-undocumented-20-second-cpu-time-maximal-execution-limit-python-elf.html">20-seconds maximal CPU time limit</a>.</p><p>Still, I&#8217;m looking for reasonably-priced collocation services in Ukraine &#8211; e.g. those (currently unavailable) from Volia, starting at 40$/mo for the rented physical  VIA C7-based server with enough traffic included.</p><p><ins
datetime="2009-01-03T14:16:27+00:00">Update:</ins> I now have my own server collocated in Ukraine. This blog still lives on a shared hosting, but I&#8217;m considering the move to own server (where I have the <a
href="http://biomed.org.ua/">biomed</a> half-dead site and resource-hungry <a
href="http://biomed.org.ua/COTRASIF/">COTRASIF tool</a>).</p><p><a
class="a2a_button_google_plusone addtoany_special_service" data-href="http://bogdan.org.ua/2008/06/04/an-alternative-to-shared-hosting.html"></a><a
class="a2a_button_facebook_like addtoany_special_service" data-href="http://bogdan.org.ua/2008/06/04/an-alternative-to-shared-hosting.html"></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F04%2Fan-alternative-to-shared-hosting.html&amp;title=An%20alternative%20to%20shared%20hosting" id="wpa2a_4"><img
src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/06/04/an-alternative-to-shared-hosting.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title><link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html</link> <comments>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comments</comments> <pubDate>Wed, 12 Mar 2008 06:25:54 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[install]]></category> <category><![CDATA[libmp3lame]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[shared hosting]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html</guid> <description><![CDATA[Note: this post is based on the comment by Simon, who generously shared his experience. Step-by-step: Download the compiled ffmpeg with libmp3lame support (direct download links: older version ffmpeg.with.lame and newer version ffmpeg.2007-10-28.with-libmp3lame-support). Rename the downloaded executable file to "ffmpeg" (no extension), upload it to the directory on your server (in this example /home/myusername/). Download [...]]]></description> <content:encoded><![CDATA[<p><em>Note:</em> this post is based on the <a
href="http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html#comment-59670">comment by Simon</a>, who generously shared his experience.</p><p>Step-by-step:</p><ul><li>Download the <a
title="this page will be irregularly updated with new compiled binaries of ffmpeg" href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html">compiled ffmpeg with libmp3lame support</a> (direct download links: older version <a
href="http://bogdan.org.ua/wp-content/uploads/2007/06/ffmpeg.with.lame">ffmpeg.with.lame</a> and newer version <a
href="http://bogdan.org.ua/wp-content/uploads/2007/10/ffmpeg.2007-10-28.with-libmp3lame-support">ffmpeg.2007-10-28.with-libmp3lame-support</a>).</li><li>Rename the downloaded executable file to "ffmpeg" (no extension), upload it to the directory on your server (in this example /home/myusername/).</li><li>Download <a
href="http://bogdan.org.ua/wp-content/uploads/2008/03/libmp3lame.so.0">libmp3lame.so.0</a>.</li><li>Upload libmp3lame.so.0 to the same directory where you placed ffmpeg in.</li><li>Create a php file with the following code (remember to change the paths to your own, where you actually uploaded binaries in previous steps):<div
class="igBar"><span
id="lphp-3"><a
href="#" onclick="javascript:showPlainTxt('php-3'); return false;">PLAIN TEXT</a></span></div><div
class="syntax_hilite"><span
class="langName">PHP:</span><div
id="php-3"><div
class="php"><ol><li
style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span
style="color:#000000; font-weight:bold;">&lt;?php</span></div></li><li
style="font-weight: bold;color:#26536A;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a
href="http://www.php.net/exec"><span
style="color:#000066;">exec</span></a><span
style="color:#006600; font-weight:bold;">&#40;</span><span
style="color:#FF0000;">"export LD_LIBRARY_PATH=/home/myusername/"</span><span
style="color:#006600; font-weight:bold;">&#41;</span>;</div></li><li
style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a
href="http://www.php.net/echo"><span
style="color:#000066;">echo</span></a> <a
href="http://www.php.net/passthru"><span
style="color:#000066;">passthru</span></a><span
style="color:#006600; font-weight:bold;">&#40;</span><span
style="color:#FF0000;">"/home/myusername/ffmpeg -formats"</span><span
style="color:#006600; font-weight:bold;">&#41;</span>;</div></li><li
style="font-weight: bold;color:#26536A;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span
style="color:#000000; font-weight:bold;">?&gt;</span></div></li></ol></div></div></div><p></li><li>If you access that PHP file with your browser, you should be able to see a list of formats which are supported by ffmpeg, and if you find "EA libmp3lame" somewhere in the output, then it means you now can Encode Audio in libmp3lame!</li><li>If that doesn't work for you: LD_LIBRARY_PATH can be a protected variable in PHP (you can check for this by searching for the "safe_mode_protected_env_vars" value in phpinfo() output). The workaround here can be to write your commands to a file from php, then <strong>chmod</strong> that file with 0755 permissions (rwx-rx-rx), and run the file through <strong>exec()</strong>. In this way, PHP is not changing the LD_LIBRARY_PATH, but telling the server to run a file, which tells the server to change it. This method worked for the original author of these instructions.</li></ul><p>For passing arguments to the PHP wrapper script - check out PHP's $argv variable (more on this <a
href="http://www.php.net/features.commandline">here</a>). If you decided to use shell-script as a wrapper for "export LD_LIBRARY_PATH", then using $1, $2 etc will allow you to pass parameters to the shell script, e.g. in the example below</p><div
class="igBar"><span
id="lcode-4"><a
href="#" onclick="javascript:showPlainTxt('code-4'); return false;">PLAIN TEXT</a></span></div><div
class="syntax_hilite"><span
class="langName">CODE:</span><div
id="code-4"><div
class="code"><ol><li
style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/bash</div></li><li
style="font-weight: bold;color:#26536A;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">export LD_LIBRARY_PATH=/home/myusername/</div></li><li
style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div
style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/home/myusername/ffmpeg -i /home/myusername/$<span
style="color:#800000;color:#800000;">1</span> $<span
style="color:#800000;color:#800000;">2</span> /home/myusername/$<span
style="color:#800000;color:#800000;">3</span></div></li></ol></div></div></div><p> you could pass "input file" as first argument, "parameters" as second and "output file" as third to make such a wrapper script work.</p><p><a
class="a2a_button_google_plusone addtoany_special_service" data-href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html"></a><a
class="a2a_button_facebook_like addtoany_special_service" data-href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html"></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;title=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" id="wpa2a_8"><img
src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/feed</wfw:commentRss> <slash:comments>16</slash:comments> </item> <item><title>Eco-hosting (green hosting)</title><link>http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html</link> <comments>http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html#comments</comments> <pubDate>Thu, 14 Feb 2008 00:38:00 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[aiso]]></category> <category><![CDATA[eco]]></category> <category><![CDATA[green]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[photovoltaic]]></category> <category><![CDATA[shared hosting]]></category> <category><![CDATA[solar power]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html</guid> <description><![CDATA[Today I learned that eco-hosting (or green hosting) exists not only as a words combination. On one of the "hostings rating" websites there was even a category titled "green hosting". In short: green hosting operates on the principles of minimal ecology harm. E.g., solar energy is used (mostly in the form of photovoltaic panels - [...]]]></description> <content:encoded><![CDATA[<p>Today I learned that eco-hosting (or green hosting) exists not only as a words combination. On one of the "hostings rating" websites there was even a category titled "green hosting".</p><p>In short: green hosting operates on the principles of minimal ecology harm. E.g., solar energy is used (mostly in the form of photovoltaic panels - PVs), and a bunch of other "green" technologies.</p><p>I expected green hosting to be more expensive than common shared hosting... so I took a look at <a
href="http://www.aiso.net/index.asp?af=chronos&#038;bn=12">aiso.net</a>'s hosting plans. Well, at least it doesn't look 1000%-oversold, as many shared hostings look. For 10$/mo, you get 500MiB web storage, 500MiB email space (who needs it anyway?), and 5GiB traffic/mo. Everything else seems as usual - PHP, MySQL, Perl etc (I was looking at Linux hosting). Not much, but if you can use those 5GiB of traffic in one day - that is, if there are no other stronger limitations such as low CPU - then it's still good. And - this is the most "basic" plan, I took it only because it's also the closest to what is widely known in the shared hosting market as "common price". This isn't the only green hosting provider out there, I just satisfied my interest and didn't look for more.</p><p><a
href="http://www.aiso.net/index.asp?af=chronos&#038;bn=12">AISO - see for yourself</a>.</p><p><a
class="a2a_button_google_plusone addtoany_special_service" data-href="http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html"></a><a
class="a2a_button_facebook_like addtoany_special_service" data-href="http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html"></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbogdan.org.ua%2F2008%2F02%2F14%2Feco-hosting-green-hosting.html&amp;title=Eco-hosting%20%28green%20hosting%29" id="wpa2a_12"><img
src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/02/14/eco-hosting-green-hosting.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Using libmp3lame-enabled ffmpeg on shared hosting</title><link>http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html</link> <comments>http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html#comments</comments> <pubDate>Thu, 25 Oct 2007 21:09:27 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[lame]]></category> <category><![CDATA[libmp3lame]]></category> <category><![CDATA[shared hosting]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html</guid> <description><![CDATA[Update: there's now a much more recent post on how to install libmp3lame-enabled ffmpeg on shared linux hosting. As Gabe pointed out in my post with compiled ffmpeg Linux binaries, there is a relatively simple method of adding libmp3lame.so.0 file to your shared hosting so that ffmpeg executable will see the library: You can upload [...]]]></description> <content:encoded><![CDATA[<p><ins
datetime="2008-03-12T06:35:24+00:00">Update:</ins> there's now a much more recent post on <a
href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html">how to install libmp3lame-enabled ffmpeg on shared linux hosting</a>.</p><p>As Gabe <a
href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html#comment-31359">pointed out</a> in my post with <a
href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html">compiled ffmpeg Linux binaries</a>, there is a relatively simple method of adding libmp3lame.so.0 file to your shared hosting so that ffmpeg executable will see the library:</p><blockquote><p>You can upload libmp4lame.so as well to the shared hosting site and when you call ffmpeg, call something to set an environment variable right before the call to ffmpeg i.e. in php I’d do exec(”export LD_LIBRARY_PATH=/path/to/lib/with/lame; /path/to/ffmpeg [ffmpegargs]”); That way you can use the uploaded lame. I hope that helps someone as I have been unable to find any info on how to use an uploaded lame. I’ve tried it and it works on godaddy.</p></blockquote><p>Hope this helps.</p><p><ins
datetime="2008-03-11T06:35:03+00:00">Update:</ins> here's <a
href="http://bogdan.org.ua/wp-content/uploads/2008/03/libmp3lame.so.0" title="libmp3lame.so.0 (from slackware 2.4.x, lame-3.97)">libmp3lame.so.0.0.0 (from slackware 2.4.x, lame-3.97)</a>. I have no idea if it'll work in your (shared hosting) environment; it is provided AS IS, use at your own risk etc. I can only state that the archived binary file at the moment of upload was indeed libmp3lame.so.0.0.0 from my elderly Slackware with 2.4.x kernel.</p><p><a
class="a2a_button_google_plusone addtoany_special_service" data-href="http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html"></a><a
class="a2a_button_facebook_like addtoany_special_service" data-href="http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html"></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;title=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" id="wpa2a_16"><img
src="http://bogdan.org.ua/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html/feed</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
