<?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>Better Programming &#187; Ubuntu</title>
	<atom:link href="http://www.betterprogramming.com/category/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.betterprogramming.com</link>
	<description>Portfolio</description>
	<lastBuildDate>Thu, 18 May 2017 14:50:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Ubuntu Lucid VPS hosting</title>
		<link>http://www.betterprogramming.com/ubuntu-lucid-vps-hosting.html</link>
		<comments>http://www.betterprogramming.com/ubuntu-lucid-vps-hosting.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 11:22:16 +0000</pubDate>
		<dc:creator><![CDATA[Florentin]]></dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.betterprogramming.com/?p=183</guid>
		<description><![CDATA[Virtual Private Server (VPS) vs Shared web hosting Virtual Private Server (VPS) Shared Hosting Pro high level of control, root access, has it&#8217;s own IP(s) and system libraries faster than the counterpart shared host (same price category) install and configure any software and service (as long as you respect the seller&#8217;s terms of service) guaranteed [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2>Virtual Private Server (VPS) vs Shared web hosting</h2>
<h2></h2>
</p>
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="50"></td>
<td>
<p align="left"><strong>Virtual Private Server (VPS)</strong></p>
</td>
<td>
<p align="left"><strong>Shared Hosting</strong></p>
</p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Pro</strong></p>
</td>
<td>
<p align="left">high level of control, root access, has it&#8217;s own IP(s) and system libraries</p>
<p align="left">faster than the counterpart shared host (same price category)</p>
<p align="left">install and configure any software and service (as long as you respect the seller&#8217;s terms of service)</p>
<p align="left">guaranteed and configurable hardware resources, upgrades are possible</p>
<p align="left">unlimited number of domains, sql databases, services, etc</p>
<p align="left">resell hosting services</p>
<p align="left">cheap unmanaged VPS providers are available (2)</p>
<p align="left">several operating system to choose from</p>
</td>
<td>
<p align="left">simplicity and easy to use, suitable for small sites</p>
<p align="left">control panels availables, easy to setup domains, emails, user and ftp accounts, mysql databases</p>
<p align="left">some hosts offer automatic backups, a necessity for the web businesses</p>
<p align="left">usually the number of domains allowed is limited, number of sql databases restricted</p>
<p align="left">if purchasing an unique IP is not possible, your sites will be found on the same IP as many more others which might affect SEO if you are in a &#8216;bad neighborhood&#8217;</p>
<p align="left">cheap (3)</p>
<p align="left">
</p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Con</strong></p>
</td>
<td>
<p align="left">often hacker attacks, daily port scans</p>
<p align="left">requires more time and energy from you</p>
<p align="left"><em>Managed VPS</em><strong><br /></strong>expensive</p>
<p align="left"><em>UnManaged VPS</em></p>
<p>you are responsible for the server administration and security, installing security updates, upgrading your software</p>
<p>usually bad support,</p>
<p>overselling happen often, which means too many hosts sharing the same CPU power, too many using the same connection, etc</p>
</td>
<td>
<p align="left">less resources available even if the hosting have &#8216;unlimited resources&#8217; advertised (1)</p>
<p align="left">low level of control, pre-configured services</p>
<p align="left">usually no ssh access which prevents you from using softare versioning systems, install custom libraries, etc</p>
<p align="left">difficult to secure completely because multiple users access the same system</p>
<p align="left">quite a few bits of downtime</p>
</td>
</tr>
</table>
<p> (1) Unlimited bandwidth is actually limited to the type of connection you have. On a 10baseT port, if you sustained 10 mbps for 30 days you would move 3200 GB&#8217;s of data. Shared hosts will probably limit you to a much lower port speed.<br />Unlimited disk space has it&#8217;s own limitations. Most hosts won&#8217;t let you store files which have nothing to do with your sites, like backup files, your private photos, etc.<br />Your CPU access is limited, speed and processes CPU usage and time is also limited. For example, Dreamhost sometimes doesn&#8217;t let me zip some larger directories because the zip process use too much CPU.<br />(2) My recommendation is www.dmehosting.com I have tried agnihost.com (which seems to be a virpus.com reseller) and burst.net before.<br />(3) I have been a Dreamhost client for 3 years. It stands out by allowing ssh access and python/django + ruby/rails support along with Php and Mysql.</p>
<h2>Good to know when buying a VPS</h2>
<ul>
<li>Xen virtualization is better than OpenVz</li>
<li>test the server&#8217;s IP from the area where you get the most traffic on your sites</li>
<li>get as much RAM as your budget allows</li>
<li>10Mbps unmetered or 3200GB bandwidth? Choose the 3200GB package if it&#8217;s on a 100baseT port. If it&#8217;s a 10baseT port either way, 10Mbps allows a maximum of 3200GB transfered in a month.</li>
<li>search for special offers on forums, www.webhostingtalk.com is very good</li>
<li>there are free alternatives to control panels like CPanel and Plesk. I am using webmin.com</li>
<li>find some reviews on the service/company you are interested in. Stay away from those who generally made a bad impression to users.</li>
<li>don&#8217;t go with the cheapest VPS, i learned that from experience <img src="http://www.betterprogramming.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> A well established company will offer higher uptime, better support, more services.</li>
<li>i like HyperVM better than SolusVM</li>
<li>see if you can find out details about the CPU power offered with the package, unamanged VPS sellers usually advertise only &#8216;equally shared CPU&#8217;<br />My first VPS had an AMD Opteron 270 which gave low benchmark scores. Currently, dmehosting is offering me i7 CPU 920 @ 2.67GHz, 4 cores</li>
<li>32 bit operating system consumes less memory than the 64 bit equivalent.</li>
</ul>
<h2>My setup</h2>
<ul>
<li>I went with dmehosting.com after trying a virpus.com reseller and burst.net</li>
<li>my hardware setup is similar to VPS 3, with the few customizations.</li>
<li>the operating systems selection is large, I went with Ubuntu Lucid 10.04 32 bit because I use Ubuntu for both my desktop and laptop computer, 32 bit consumes less memory and Ubuntu Lucid is Long Term Support (LTS)</li>
<li>webmin.com control panel, allows you to control most aspects of the VPS (apache, mysql, postfix, logs, etc)</li>
<li>http://webmin.com/virtualmin.html for managing the domains and users</li>
<li>http://www.configserver.com/cp/csf.html was my chosen firewall because of the integration with webmin and easy to use interface</li>
<li>zend server community edition (Php 5.2) because some of my sites don&#8217;t work with Php 5.3 (which comes default with Ubuntu Lucid 10.04)</li>
<li>server hardening operations.<br />Find good server hardening here:<br />http://delicious.com/search?p=server%20hardening&amp;u=&amp;chk=&amp;context=main&amp;fr=del_icio_us&amp;lc=0<br />http://delicious.com/florentin/hardening</li>
</ul>
<h2>Why dmehosting worked fine for me</h2>
<ul>
<li>affordable prices</li>
<li>use their own DNS servers</li>
<li>choose from several server locations</li>
<li>great CPU power, uptime, connection speed for the price you pay</li>
<li>good customer support so far (only used twice, other people complain about the support)</li>
<li>hardware configuration flexibility</li>
<li>good presence on the webhostingtalk forum</li>
</ul>
<h2>Cheap unmanaged VPS services</h2>
<ul>
<li>http://www.dmehosting.com/budget-linux-vps.php &#8211; I am happy customer there <img src="http://www.betterprogramming.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></li>
<li>https://www.burst.net/linvps.shtml</li>
<li>http://www.webhostingtalk.com/showthread.php?t=956901</li>
<li>http://www.webhostingtalk.com/showthread.php?t=956764</li>
<li>http://hostlatch.net/vps.html</li>
<li>https://secure.hazenet.co.uk/cart.php</li>
<li>https://www.2host.com/support/cart.php</li>
<li>http://www.webhostingtalk.com/showthread.php?t=958605</li>
<li>http://www.neutrino.us/en-us/services/vserver/default.aspx</li>
</ul>
<h2>Find the latest VPS offers</h2>
<ul>
<li>http://www.webhostingtalk.com/forumdisplay.php?f=104</li>
<li>http://www.lowendbox.com</li>
</ul>
<h2>Find VPS benchmark scores</h2>
<ul>
<li>http://www.dmehosting.com/forums/showthread.php?172-Post-your-VPS-Benchmark</li>
<li>http://www.webhostingtalk.com/showthread.php?t=924581</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.betterprogramming.com/ubuntu-lucid-vps-hosting.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Zend Server Community Edition on Ubuntu</title>
		<link>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html</link>
		<comments>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 08:59:52 +0000</pubDate>
		<dc:creator><![CDATA[Florentin]]></dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend-server]]></category>

		<guid isPermaLink="false">http://www.betterprogramming.com/?p=174</guid>
		<description><![CDATA[What is Zend Server CE (Community Edition) You can think of Zend Server as a bundle of software and Php modules. For Linux, ZSCE has it&#8217;s own php-*-zend-server packages which replace the ones offered by the host Os, usually php5-* ZSCE automatically installs lighttpd-zend-server used for the web-based administration. Why to use Zend Server CE [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2>What is Zend Server CE (Community Edition)</h2>
<p>You can think of Zend Server as a bundle of software and Php modules.<br />
For Linux, ZSCE has it&#8217;s own php-*-zend-server packages which replace the ones offered by the host Os, usually php5-*<br />
ZSCE automatically installs lighttpd-zend-server used for the web-based administration.</p>
<h2>Why to use Zend Server CE</h2>
<ul>
<li>Easy to start with specially useful for Php newcomers</li>
<li>Production-ready, integrated PHP stack for non-critical applications</li>
<li>PHP bytecode caching (Zend Optimizer+) &#8211; increases performance with no application changes</li>
<li>Data caching &#8211; a set of functions that allow developers to cache data in shared memory or to disk )</li>
<li>Zend Debugger available out of the box but possible to disable it and install Xdebug</li>
<li>Available on Windows, Linux and Mac</li>
<li>All in one install taking care of all the dependencies and needed libraries</li>
<li>Integrated administration console for setting up Apache and Php configurations</li>
<li>Free (the CE version) and supported by Zend which takes care of bug fixes and future improvements</li>
<li>Easy way to install Php 5.2 on Ubuntu Lucid or other distros which offer Php 5.3 by default</li>
<li>Easy to uninstall with no traces left on the system</li>
<li>Ability to install both Php 5.2 and Php 5.3 on the same system as described here http://ireallylikesushi.com/blog/2009/12/21/installing-both-zend-server-ce-php-5-2-php-5-3-on-snow-leopard/</li>
</ul>
<p><strong>Sources</strong></p>
<p>http://www.zend.com/en/products/server-ce/</p>
<p>http://devzone.zend.com/article/4295</p>
<h2>Installation (Ubuntu Lucid 10.04)</h2>
<p><code>echo deb http://repos.zend.com/zend-server/deb server non-free &gt; /etc/apt/sources.list.d/zend.list<br />
wget http://repos.zend.com/deb/zend.key -O- | sudo apt-key add -<br />
apt-get update<br />
apt-get install zend-server-ce-php-5.2 # for Php 5.2<br />
apt-get install zend-server-ce-php-5.3 # for Php 5.3</code></p>
<p>Please find the official installation details here:</p>
<p>http://files-source.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm</p>
<h2>Installing Xdebug on Zend Server (an alternative to Zend Debug)</h2>
<p><strong>Option 1 (recommended)</strong><br />
<code># get archive, configure and compile it. First check the latest version on xdebug.org<br />
wget http://www.xdebug.org/files/xdebug-2.1.0.tgz # replace it with the latest version<br />
tar -xzf xdebug-2.1.0.tgz<br />
cd xdebug-2.1.0/<br />
/usr/local/zend/bin/phpize<br />
./configure --enable-xdebug --with-php-config=/usr/local/zend/bin/php-config<br />
make</code><br />
<code><br />
# move the xdebug.so somewhere on the server<br />
cp modules/xdebug.so /work/xdebug/xdebug.so<br />
# edit zend-server's php.ini to enable xdebug<br />
sudo gedit /usr/local/zend/etc/php.ini<br />
# add to the end of the file<br />
zend_extension=/work/xdebug/xdebug.so<br />
</code><br />
<code><br />
# optionally, add some xdebug directives to that php.ini<br />
[xdebug]<br />
xdebug.profiler_output_dir = /tmp<br />
xdebug.profiler_enable_trigger = 1<br />
xdebug.remote_enable=1<br />
xdebug.remote_host=localhost</code><code><br />
xdebug.remote_port=9000<br />
xdebug.remote_handler=dbgp<br />
xdebug.var_display_max_data=10000<br />
xdebug.var_display_max_depth=20<br />
</code></p>
<p><strong>Option 2</strong></p>
<p>ZSCE comes with a package named php-5.2-xdebug-zend-server. At this moment, the Xdebug version offered by ZSCE is older (2.0.4) than the official one (2.1.0)<br />
<code><br />
# install xdebug.so in /usr/local/zend/lib/php_extensions/<br />
apt-get install php-5.2-xdebug-zend-server<br />
# Add the following line to /usr/local/zend/etc/php.ini<br />
zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so<br />
# You may also add the xdebug directives described in Option 1.<br />
</code></p>
<h2>Controlling Zend Server</h2>
<p># show all commands<br />
<code>sudo /usr/local/zend/bin/zendctl.sh -h</code></p>
<p># restart zend server, including apache server and lighttpd server<br />
<code>sudo /usr/local/zend/bin/zendctl.sh restart</code></p>
<h2>The end</h2>
<p># My bookmarks regarding Zend Server</p>
<p>http://delicious.com/florentin/zend-server</p>
<p># Other bookmarks</p>
<p>http://delicious.com/search?p=zend%20server&#038;u=&#038;chk=&#038;context=main&#038;fr=del_icio_us&#038;lc=0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
