<?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>TLF Blog &#187; TLF Blog</title>
	<atom:link href="http://thelinuxfix.com/blog/category/tlf-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxfix.com/blog</link>
	<description>Hosting, Unix, and everything in between.</description>
	<lastBuildDate>Thu, 16 Feb 2012 23:20:39 +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>Understanding IonCube</title>
		<link>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-ioncube</link>
		<comments>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:52:55 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[TLF Blog]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thelinuxfix.com/blog/?p=136</guid>
		<description><![CDATA[PHP has been an Internet mainstay for well over a decade.   Originally created to make boring, static home pages more dynamic and interesting (factoid: PHP originally stood for Personal Home Pages!) it is now nearly ubiquitous in deployment, installed on over one million web servers all over the planet. Much of PHP&#8217;s success can [...]]]></description>
			<content:encoded><![CDATA[<p><a title="PHP Home" href="http://www.php.net/" target="_blank">PHP</a> has been an Internet mainstay for well over a decade.   Originally created to make boring, static home pages more dynamic and interesting (factoid: PHP originally stood for Personal Home Pages!) it is now nearly ubiquitous in deployment, installed on over one million web servers all over the planet.</p>
<p>Much of PHP&#8217;s success can be attributed to it being free and open, able to run on nearly every operating system, and being easy to use and learn.   Yet the same things that have made it so successful in the open source community have historically hindered its commercial success.   But why?</p>
<p>Quite simply PHP is a scripted language.   Unlike C programs which need pre-compilation to run, PHP is compiled and executed on the fly by the PHP engine.  Perl, JavaScript, and Shell script all execute in a similar manner.  This makes PHP very flexible and friendly to open source and hobbyist developers, but it essentially <em>requires</em> you to &#8220;give away&#8221; your source code in order to distribute your program.</p>
<p>Of course commercial developers attempting to make a profit on their work won&#8217;t  want to give away their code, not if they expect to make money! But the PHP market was huge and lucrative, so unsurprisingly a company stepped in to offer a solution.  That solution is IonCube, and here’s how it works.</p>
<p>First, the commercial PHP developer will write their application.   When it&#8217;s finished, the developer will use the IonCube program to encode the raw, human-readable PHP source code in a proprietary binary format.  This protects the underlying source code from prying eyes by turning it into a jumble of unreadable goobleygook.</p>
<p>Next,  the application is purchased by an end user.  After the purchase, the application developer provides the customer with a special key which is used to &#8220;unlock&#8221; the encoded source.</p>
<p>Finally, the customer installs the IonCube Loader on their web server, which acts as a on-the-fly decoder for the coded application.    At no time is the user ever able to view the PHP source code:  all the decoding happens inside the web server via the IonCube loader.   This keeps the application code a secret for the developer, as well as allowing fine control over the licensing of their application via the unlock key.</p>
<p>Though IonCube had a rocky start at its debut in 2002 (thanks somewhat to vocal opposition by strong open source proponents), it has slowly become the de-facto standard for distributing non-free PHP applications.   Though not all web hosts support it, The Linux Fix offers the <a title="TLF Hosting Features" href="http://tlfhosting.com/hosting-features" target="_blank">IonCube Loader</a> with every <a href="http://tlfhosting.com/hosting">web hosting plan</a> we provide.  We hope that it gives you the freedom of using whatever PHP application you choose, without much fuss!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2012/01/10/understanding-ioncube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloning and Templates with ESXi</title>
		<link>http://thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-esxi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cloning-and-templates-with-esxi</link>
		<comments>http://thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-esxi/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 15:00:00 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[TLF Blog]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[cloning]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[virtual center]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://www.thelinuxfix.com/blog/?p=14</guid>
		<description><![CDATA[For those not familiar with it, VMware ESX is an enterprise-level virtualization solution packed with features, high-availability clusters chief among those.  For those that do not require these extra features, VMware had made, freely available, VMware Server, which ran on a single instance on top of Windows or Linux.  ESX, on the other hand, is [...]]]></description>
			<content:encoded><![CDATA[<p><em>For those not familiar with it, VMware ESX is an enterprise-level  virtualization solution packed with features, high-availability  clusters chief among those.  For those that do not require these extra  features, VMware had made, freely available, VMware Server, which ran on  a single instance on top of Windows or Linux.  ESX, on the other hand,  is entirely self contained and runs on the vmkernel.  In a move that i  can only imagine makes it easier to manage a single code base, VMware  did away with the Server product, to be replaced by ESXi, a stripped  down version of ESX.  It is great for environments where  high-availabilty is not necessary.</em></p>
<p>So now that you know what VMware ESX and ESXi are, let’s get on with  it.  We started implementing ESXi internally, and to our dismay  discovered one other feature that is missing from ESXi &#8211; the ability to  clone virtual machines and to create templates.  Without cloning and  templates, you lose out on one of the biggest advantage of using virtual  machines, VMware or otherwise &#8211; rapid deployment.  I guess VMware wants  you to purchase ESX if you need these features.</p>
<p>Unsatisfied with that assessment, I started digging around and came  up with a procedure to be able to clone VM’s.  It’s more manual than  using the ‘Clone to Virtual Machine…’ option in Virtual Center with ESX,  but that’s what you pay the big bucks for &#8211; ease of management.  In a  nutshell, this is what I did:</p>
<ol>
<li>Build a virtual machine with your OS of choice.  <strong>*cough*</strong> Linux <strong>*cough*</strong></li>
<li>Enable ssh into the ESX host</li>
<li>ssh into the host</li>
<li>Go into the datastore in which you created your VM</li>
<li>Make a copy of the VM you just built</li>
</ol>
<p>There you have your template.  In order to deploy it, it’s not as bad as one might think for a manual process.</p>
<ol>
<li>Go into the datastore you are going to keep your new VM.</li>
<li>Make a new directory &#8211; I always call it the same as the short name of the VM I am creating</li>
<li>Copy only the .vmdk files into the new directory you’ve created.</li>
<li>Logout, and fire up the Virtual Infrastructure Client, and create a new VM as you normally would.</li>
<li>When it asks about the disk, choose “Use an existing disk,” and select the copy of the vmdk.</li>
</ol>
<p>The new Virtual Machine will have been created with the disk.  Boot  the server up and change the network settings and customize to your  heart’s content.  I’ve thrown in a sample session of creating the  template and deploying it below.  Note that in you have to build the  source VM first.</p>
<p><code><br />
[root@tlf1 ~]# ssh tlfesx1<br />
root@tlfesx1’s password:</code></p>
<p><code>Tech Support Mode successfully accessed.<br />
The time and date of this access have been sent to the system logs.<br />
</code><br />
<code>WARNING - Tech Support Mode is not supported unless used in<br />
consultation with VMware Tech Support.</code></p>
<p><code>~ # cd /vmfs/<br />
/vmfs/devices/  /vmfs/volumes/<br />
~ # cd /vmfs/volumes/datastore1/<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # mkdir template<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # cp -p tlfsource/*.vmdk template/<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # mkdir tlfnewsrvr1<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # cp -p template/sda*.vmdk newserver1/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-esxi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

