<?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.turnkeylinux.org/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://www.turnkeylinux.org/blog">
  <channel>
    <title>Blog</title>
    <link>http://www.turnkeylinux.org/blog</link>
    <description />
    <language>en</language>
          <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.turnkeylinux.org/turnkeylinux-blog" /><feedburner:info uri="turnkeylinux-blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>turnkeylinux-blog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
    <title>TurnKey Core 12.0 RC optimized builds</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/6cJCZor47lc/core-rc-squeeze-builds</link>
    <description>&lt;p&gt;Last month we announced the &lt;a href="http://www.turnkeylinux.org/blog/core-rc-squeeze"&gt;release candidate for TurnKey Core 12.0&lt;/a&gt; - the common base for all appliances, based on the rock solid Debian Squeeze (6.0.4).&lt;/p&gt;
&lt;p&gt;It took a little longer than expected, but we&amp;#39;ve finally released all the &lt;a href="http://www.turnkeylinux.org/docs/builds"&gt;optimized builds&lt;/a&gt; for TurnKey Core 12.0RC: &lt;a href="http://www.turnkeylinux.org/core"&gt;ISO&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/docs/builds#vm-default"&gt;VMDK&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/docs/builds#vm-ovf"&gt;OVF&lt;/a&gt;, &lt;a href="https://hub.turnkeylinux.org"&gt;Amazon EC2&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/docs/builds#openstack"&gt;OpenStack&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/docs/builds#openvz"&gt;OpenVZ&lt;/a&gt; and &lt;a href="http://www.turnkeylinux.org/docs/builds#xen"&gt;Xen&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Optimized Builds" src="http://cdn.turnkeylinux.org/files/images/blog/optimized-build-logos.png" style="width: 640px; height: 97px;" /&gt;&lt;/p&gt;
&lt;p&gt;The optimized builds can be downloaded from the &lt;a href="http://www.turnkeylinux.org/core"&gt;core appliance page&lt;/a&gt;, directly via the &lt;a href="http://www.turnkeylinux.org/blog/openvz-proxmox"&gt;TurnKey channel in ProxmoxVE&lt;/a&gt; (OpenVZ), deployed in the Amazon EC2 cloud via the &lt;a href="https://hub.turnkeylinux.org"&gt;TurnKey Hub&lt;/a&gt;, or via one of the &lt;a href="http://www.turnkeylinux.org/partners"&gt;official TurnKey partners&lt;/a&gt;&amp;nbsp;(soon).&lt;/p&gt;
&lt;h2&gt;
	Build specific release notes&lt;/h2&gt;
&lt;h3&gt;
	Common (ISO)&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		See the &lt;a href="http://www.turnkeylinux.org/blog/core-rc-squeeze"&gt;announcement&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	Amazon EC2&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;Deployment:&lt;/strong&gt; The &lt;a href="https://hub.turnkeylinux.org"&gt;TurnKey Hub&lt;/a&gt; has been updated to support Core 12.0 deployment and management (Launch new server -&amp;gt; 12.0). Once the full library has been updated to TKL 12.0 it will become the default, and the current release will be moved to Legacy.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	VM optimized (VMDK, OVF)&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;Open-VM-Tools:&lt;/strong&gt; Previous VM optimized builds included the proprietry VMWare-Tools, but since VMWare have released a large portion of the code under the GPL, we&amp;#39;ve moved to &lt;a href="http://open-vm-tools.sourceforge.net/faq.php"&gt;open-vm-tools&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Swap warning:&lt;/strong&gt; VMware products might display a warning that no swap space was detected. This is a false positive, as swap is configured in LVM.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	OpenStack&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;Ramdisk required:&lt;/strong&gt;&amp;nbsp;TurnKey 12.0 requires the initrd to be registered for successful boot (&lt;a href="http://www.turnkeylinux.org/blog/announcing-openstack-builds#comment-12909"&gt;exemplary import and registration code&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	OpenVZ&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;Naming convention:&lt;/strong&gt; We&amp;#39;ve updating the naming convention for openvz builds to support vanilla OpenVZ out of the box, and eliminate duplication for the Turnkey PVE channel. Thanks &lt;a href="http://www.turnkeylinux.org/users/jedmeister"&gt;Jeremy&lt;/a&gt;!&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Removed NTP daemon:&lt;/strong&gt; The NTP daemon has been removed as the clock is managed by the host. Thanks Martin!&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;No more upstart hacks:&lt;/strong&gt; Removed Ubuntu upstart hacks as they are not relevant in Debian.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	Xen&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;Xen optimized kernel:&lt;/strong&gt;&amp;nbsp;Moved to the Xen optimized kernel provided by Debian (linux-image-xen-686).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As always, we need your help in testing the builds. If you come across any issues or have ideas how they can be improved, please post a comment.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/6cJCZor47lc" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/core-rc-squeeze-builds#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/cloud">cloud</category>
 <category domain="http://www.turnkeylinux.org/blog/core">core</category>
 <category domain="http://www.turnkeylinux.org/blog/debian">debian</category>
 <category domain="http://www.turnkeylinux.org/blog/ec2">ec2</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/openstack">openstack</category>
 <category domain="http://www.turnkeylinux.org/blog/openvz">openvz</category>
 <category domain="http://www.turnkeylinux.org/blog/proxmox">proxmox</category>
 <category domain="http://www.turnkeylinux.org/blog/vmware">vmware</category>
 <category domain="http://www.turnkeylinux.org/blog/xen">xen</category>
 <pubDate>Mon, 16 Apr 2012 01:03:17 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3395 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/core-rc-squeeze-builds</feedburner:origLink></item>
  <item>
    <title>New Hub feature: Server snapshots</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/ruTQI1nymTE/hub-snapshots</link>
    <description>&lt;p&gt;I usually get excited when adding new features to the &lt;a href="https://hub.turnkeylinux.org"&gt;TurnKey Hub&lt;/a&gt;. Recent excitement included &lt;a href="http://www.turnkeylinux.org/blog/hub-metrics"&gt;server monitoring&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/blog/reserved-instances"&gt;reserved instances&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/blog/hub-domains"&gt;domain management&lt;/a&gt;, and the &lt;a href="http://www.turnkeylinux.org/blog/hub-api"&gt;Hub API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m very excited about todays annoucement, not only is it awesomely useful, it&amp;#39;s also technically cool!&lt;/p&gt;
&lt;h2&gt;
	So what are snapshots?&lt;/h2&gt;
&lt;p&gt;I&amp;#39;m sure you can guess, but let me explain anyway.&lt;/p&gt;
&lt;p&gt;Snapshots can be used with EBS-backed instances to create point-in-time snapshots of the root filesystem, which are persisted to Amazon S3 for storage durability. Snapshots are incremental, meaning that only changes since the last snapshot are saved, taking up less storage, time, and reducing costs (see below for technical details).&lt;/p&gt;
&lt;p&gt;Snapshots ask Amazon&amp;#39;s fiber-optic storage backplane to save your server&amp;#39;s disk state while it&amp;#39;s running without impacting performance.&lt;/p&gt;
&lt;p&gt;Ok, but what can I do with them?&lt;/p&gt;
&lt;h3&gt;
	Server clones&lt;/h3&gt;
&lt;p&gt;Snapshots can be used as the basis for a new server, essentially creating a clone (the cloud server equivalent of a time machine crossed with a portal to a less obnoxious alternative dimension), for example:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		You can clone a production server to create a staging enviroment for testing new features, hacking away, whatever, without the worry of hosing your production server (guess how I tested this new feature).&lt;/li&gt;
	&lt;li&gt;
		You can essentially upgrade your servers hardware if you need the extra horse power, memory or even disk space. Say you were testing an idea with a micro instance, and now its taking off. Firstly congrats, secondly just clone the micro&amp;#39;s latest snapshot to a larger instance size and update the DNS record / re-associate the elastic IP.&lt;/li&gt;
	&lt;li&gt;
		Let you&amp;#39;re imagination run wild!&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
	EBS Volumes&lt;/h3&gt;
&lt;p&gt;Snapshots can be used as a starting point for a new EBS volume, for example:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		You mistakenly deleted a file, hosed your database, or whatever bad thing that can happen. You create a volume from the snapshot of your choice, attach it to your instance (which is auto-mounted via &lt;a href="http://www.turnkeylinux.org/blog/ebsmount"&gt;ebsmount&lt;/a&gt;) and access the data you need.&lt;/li&gt;
	&lt;li&gt;
		Again, let you&amp;#39;re imagination run wild!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
	Can I schedule automatic snapshots?&lt;/h2&gt;
&lt;p&gt;You sure can! You can schedule automatic zero-load server snapshots for hourly, daily, weekly and monthly frequency, or manually create one at anytime.&lt;/p&gt;
&lt;p&gt;There is however a snapshot limit per Amazon account, per region, so when configuring automatic scheduled snapshots, snapshot retention is also configurable to prune old snapshots, keeping you within the limit and saving you money.&lt;/p&gt;
&lt;h2&gt;
	Sounds cool, what does it look like?&lt;/h2&gt;
&lt;p&gt;We&amp;#39;ve added 2 new fields to the server record:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Snapshots - Server Record" src="http://cdn.turnkeylinux.org/files/images/blog/snapshots-server.jpg" style="width: 640px; height: 311px; " /&gt;&lt;/p&gt;
&lt;p&gt;And this is the snapshot dashboard:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Snapshot - Dashboard" src="http://cdn.turnkeylinux.org/files/images/blog/snapshots-dashboard.jpg " style="width: 640px; height: 447px; " /&gt;&lt;/p&gt;
&lt;h2&gt;
	Are there any limitations?&lt;/h2&gt;
&lt;p&gt;Snapshots only support EBS-backed instances, and not S3-backed instances. This is a technical limitation as snapshots are performed on the EBS-backed root volume, which S3-backed instance do not have.&lt;/p&gt;
&lt;p&gt;Snapshots are saved to S3 storage, but they will not appear in your S3 buckets, nor can you access them using the standard S3 API. To access snapshot data you need to create an EBS volume or a server clone.&lt;/p&gt;
&lt;p&gt;As mentioned above, there is a limit of the amount of snapshots each Amazon account can have, but you can &lt;a href="http://aws.amazon.com/contact-us/ebs_volume_limit_request/"&gt;request to increase your limit&lt;/a&gt; (specify you want the snapshots limit increased in the comments.)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Data consistency: Do not solely rely on snapshots for backups, as they may become inconsistent due to disk-buffering and locking. We use &lt;a href="https://hub.turnkeylinux.org/tour/backup/"&gt;TKLBAM&lt;/a&gt; for our backups, and suggest you do the same.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
	Technical details - snapshots explained&lt;/h2&gt;
&lt;p&gt;I mentioned that snapshots are technically cool, and that they are incremental - let me try and explain what that means at how it works behind the scenes.&lt;/p&gt;
&lt;p&gt;A snapshot of an EBS volume can be taken at anytime, which asks Amazon&amp;#39;s fiber-optic storage backplane to save the data stored on the volume, at the block level, at that exact point-in-time, to S3 storage.&lt;/p&gt;
&lt;p&gt;To improve performance and reduce storage space, Amazon will only copy the blocks of the volume that have changed since your last snapshot - hence incremental.&lt;/p&gt;
&lt;p&gt;Now for the extra cool part, unlike regular incremental backup chains, you can delete any previous snapshot. Huh? What? Yep, snapshots are not chained, but are rather conceptually like a table-of-contents of pointers to saved data blocks.&lt;/p&gt;
&lt;p&gt;When you delete a snapshot, only the data blocks that are solely used by that specific snapshot are deleted. Data blocks that are used by subsequent snapshots are not. In the below illustration, if SNAP-B is deleted, only SNAP-B:block-2 will be deleted from Amazon S3 as a newer version (SNAP-C:block-2) has already been saved.&lt;/p&gt;
&lt;center&gt;
	&lt;p&gt;&lt;img alt="Snapshots - Blocks" src="http://cdn.turnkeylinux.org/files/images/blog/snapshots-blocks.jpg" style="width: 600px; height: 476px; " /&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;&lt;br /&gt;
	Bottom line, take snapshots for a &lt;a href="https://hub.turnkeylinux.org"&gt;spin&lt;/a&gt; and let us know what you think.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/ruTQI1nymTE" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/hub-snapshots#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/aws">aws</category>
 <category domain="http://www.turnkeylinux.org/blog/cloud">cloud</category>
 <category domain="http://www.turnkeylinux.org/blog/ec2">ec2</category>
 <category domain="http://www.turnkeylinux.org/blog/hub">hub</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/snapshots">snapshots</category>
 <pubDate>Wed, 04 Apr 2012 13:56:02 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3375 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/hub-snapshots</feedburner:origLink></item>
  <item>
    <title>TurnKey Core 12.0 RC based on Debian Squeeze</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/q6fPOYUwzQ8/core-rc-squeeze</link>
    <description>&lt;p&gt;
	I&amp;#39;m pleased to announce a spanking brand new release candidate for TurnKey Core 12.0 - the common base for all appliances, based on the rock solid Debian Squeeze (6.0.4). The rumors were true! Hurrah! Hurrah!&lt;/p&gt;
&lt;p&gt;
	This is an RC release, so take it for a spin and let us know what you think. If you come across any issues, please report them. If you have ideas on how to make it better, let us know!&lt;/p&gt;
&lt;p class="rtecenter"&gt;
	&lt;strong&gt;Download RC:&lt;/strong&gt; &lt;a href="http://www.turnkeylinux.org/download?file=turnkey-core-12.0rc2-squeeze-x86.iso"&gt;138MB ISO&lt;/a&gt; (&lt;a href="http://releases.turnkeylinux.org/turnkey-core/12.0rc2-squeeze-x86/turnkey-core-12.0rc2-squeeze-x86.changelog"&gt;changelog&lt;/a&gt;, &lt;a href="http://releases.turnkeylinux.org/turnkey-core/12.0rc2-squeeze-x86/turnkey-core-12.0rc2-squeeze-x86.iso.sig"&gt;signature&lt;/a&gt;, &lt;a href="http://releases.turnkeylinux.org/turnkey-core/12.0rc2-squeeze-x86/turnkey-core-12.0rc2-squeeze-x86.manifest"&gt;manifest&lt;/a&gt;)&lt;/p&gt;
&lt;h2&gt;
	Did you say Debian?&lt;/h2&gt;
&lt;p&gt;
	Why yes, yes I did. Here&amp;#39;s the back story...&lt;/p&gt;
&lt;p&gt;
	In mid-2010 we released our first ever Debian appliance based on Lenny. In the &lt;a href="http://www.turnkeylinux.org/blog/debian-vs-ubuntu-turnkey-appliances"&gt;announcement&lt;/a&gt; Liraz discussed whether Debian based appliances are worth the trouble as well as some notes on Ubuntu vs. Debian.&lt;/p&gt;
&lt;p&gt;
	Back then we decided not to release the entire TurnKey library based on Lenny as Squeeze was around the corner, and we were spread quite thin.&lt;/p&gt;
&lt;p&gt;
	Fast forward to a few weeks ago, Liraz and I were discussing the upcoming Ubuntu LTS release, which is scheduled for April. We were deliberating when would be the best time to begin the transition.&lt;/p&gt;
&lt;p&gt;
	During the conversation we revisited the idea of supporting Debian, and decided it was time. We&amp;#39;ve been wanting to support Debian since TurnKey&amp;#39;s inception, and it seems that a &lt;a href="http://www.turnkeylinux.org/polls/turnkey-debian"&gt;significant 59%&lt;/a&gt; of users want Debian-based appliances &amp;quot;a lot&amp;quot;!&lt;/p&gt;
&lt;h2&gt;
	Rolled up my sleeves&lt;/h2&gt;
&lt;p&gt;
	So, I rolled up my sleeves and got to work. It wasn&amp;#39;t too long and I had a working TurnKey bootstrap image (&lt;a href="http://www.turnkeylinux.org/download?file=turnkey-bootstrap-12.0rc-squeeze-x86.iso"&gt;102MB ISO&lt;/a&gt;, &lt;a href="http://releases.turnkeylinux.org/turnkey-bootstrap/12.0rc-squeeze-x86/"&gt;Meta&lt;/a&gt;) based on Squeeze. &amp;nbsp;The most annoying part of that was dealing with the non-backwards compatible bootsplash. Turns out that was a good thing, as it forced me to do cleanup, and remove panel options that weren&amp;#39;t actually doing anything. How nobody filed a bug on that is beyond me :)&lt;/p&gt;
&lt;p&gt;
	Then I moved onto Core. Upgrading our Live Installer (di-live) was a little boring, but after fixing some bugs and seeing it work, not to mention setup LVM and install the entire OS in under a minute, it put a smile on my face.&lt;/p&gt;
&lt;p&gt;
	After upgrading several key components, fixing bugs (thanks to everyone who submitted bug reports, and Jeremy for his excellent work triaging and keeping the bug tracker up to date), tweaks here and there, and testing, I was a happy camper.&lt;/p&gt;
&lt;p&gt;
	To summarize, there were ups and downs but all in all it was good fun - ask my wife, I updated her on progress every evening whether she wanted to know or not.&lt;/p&gt;
&lt;p&gt;
	But, there is still a long road ahead, and this is only the first milestone.&lt;/p&gt;
&lt;h2&gt;
	Changes&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;New and improved signature files:&lt;/strong&gt; include detailed steps on how to verify image integrity, as well as md5 and sha1 checksums for convenience. &lt;a href="http://releases.turnkeylinux.org/turnkey-core/12.0rc2-squeeze-x86/turnkey-core-12.0rc2-squeeze-x86.iso.sig"&gt;Take a look&lt;/a&gt;.&lt;br /&gt;
		&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Locale improvements:&lt;/strong&gt; default locale is now set to en_US.UTF-8, updated configuration for compatibility with Squeeze. Freeing up disk space is now performed by localepurge.&lt;br /&gt;
		&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Boot splash and loader:&lt;/strong&gt; upgraded bootsplash for compatibility, removed unused panel options, and tweaked bootloader timeouts.&lt;br /&gt;
		&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Live installer (di-live):&lt;/strong&gt; upgraded for Squeeze compatibility and misc bugfixes.&lt;br /&gt;
		&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Webmin:&lt;/strong&gt; upgraded to latest upstream release and disabled inline upgrades (managed by APT).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	All other changes, bugfixes and tweaks are available in the &lt;a href="http://releases.turnkeylinux.org/turnkey-core/12.0rc-squeeze-x86/turnkey-core-12.0rc-squeeze-x86.changelog"&gt;changelog&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	As for the &lt;a href="http://www.turnkeylinux.org/core"&gt;features&lt;/a&gt;, not much has changed except for the base distribution.&lt;/p&gt;
&lt;div id="cke_pastebin"&gt;
	&lt;strong&gt;Long story short, try the RC and tell us what you think. Obviously we have immense respect for both Ubuntu and Debian, and we&amp;#39;d like to hear your views on where we should take it from here.&lt;/strong&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/q6fPOYUwzQ8" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/core-rc-squeeze#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/core">core</category>
 <category domain="http://www.turnkeylinux.org/blog/debian">debian</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <pubDate>Thu, 01 Mar 2012 18:35:19 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3228 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/core-rc-squeeze</feedburner:origLink></item>
  <item>
    <title>Rsync the entire TurnKey library from a mirror close to you in under 5 minutes!</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/KaUj6svp0Gg/fast-rsync-mirrors</link>
    <description>&lt;p&gt;
	Like TurnKey so much you want a local copy of all the appliances but too lazy to download individual appliance images from SourceForge by hand via browser?&lt;/p&gt;
&lt;p&gt;
	I know exactly how you feel. Sloth &lt;em&gt;is&lt;/em&gt; a virtue, and in the beginning was the command line.&lt;/p&gt;
&lt;p&gt;
	So now you can use rsync or ftp to batch download the entire virtual appliance library in whatever build type you like best from a &lt;a class="reference external" href="http://www.turnkeylinux.org/mirrors"&gt;high-speed mirror&lt;/a&gt; near you. The way the net gods intended!&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;
	Thanks to generous donations of bandwidth and storage space from opensource friendly network samurais around the world TurnKey now has 16 high-speed rsync/ftp capable mirrors in 12 countries: China, Ireland, United Kingdom, France, Germany, Sweden, Japan, Belarus, Bulgaria, Denmark, Argentina, and Israel. And we&amp;#39;re just getting started...&lt;/p&gt;
&lt;p&gt;
	&lt;a href="http://cdn.turnkeylinux.org/files/images/blog/network2_0.jpg"&gt;&lt;img alt="" src="http://cdn.turnkeylinux.org/files/images/blog/network2_0.jpg" style="width: 650px; height: 433px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	This means if your network is good enough you can now grab a copy of the entire TurnKey appliance library in any of the &lt;a class="reference external" href="http://www.turnkeylinux.org/docs/builds"&gt;6 supported build types&lt;/a&gt; (ISO, VMDK, OVF, Xen, OpenVZ and OpenStack) from a high-speed (e.g, 10-Gbps) mirror close to you in under 5 minutes.&lt;/p&gt;
&lt;p&gt;
	A few minutes ago in a practice run I rsynced TurnKey images to my Amazon EC2 instance at an average 288 Mbps &lt;em&gt;effective&lt;/em&gt; download rate over the network.&lt;/p&gt;
&lt;p&gt;
	Wowsers! Up until I upgraded to a nice SSD a couple of weeks ago that was about as fast as I could copy files on my local hard drive.&lt;/p&gt;
&lt;p&gt;
	If you find these network speeds hard to believe I invite you to log into your TurnKey Hub account and launch a small instance in Ireland. Now let&amp;#39;s rsync the entire TurnKey appliance library in Xen format - all 8 GBs worth from the HEAnet mirror:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ rsync rsync://ftp.heanet.ie/[snip]/turnkeylinux/

Welcome to the HEAnet mirror site, ftp.heanet.ie (&lt;a href="http://ftp.heanet.ie/about" title="http://ftp.heanet.ie/about"&gt;http://ftp.heanet.ie/about&lt;/a&gt;)
-----------------------------------------------------------------------------

 NOTE: All connections and transfers are logged; if this is disagreeable,
 please disconnect now.

 * ftp.heanet.ie is located in Dublin, Ireland and operated by HEAnet, the
   Irish National Research and Education Network.

 * This is a four node cluster with 10 Gigabit access to the HEAnet backbone.

 * Please contact &lt;a href="mailto:mirrors@heanet.ie"&gt;mirrors@heanet.ie&lt;/a&gt; with any operational queries.

 * You are connected to ftp-node2 (kokapetl)

-----------------------------------------------------------------------------

drwxr-xr-x         157 2012/02/12 17:05:27 .
drwxr-xr-x        4709 2012/02/08 18:00:08 iso
drwxr-xr-x        5686 2012/02/08 18:00:58 openstack
drwxr-xr-x        5434 2012/02/08 18:01:10 openvz
drwxr-xr-x        4930 2012/02/08 18:01:21 ovf
drwxr-xr-x        2759 2012/01/13 08:31:59 pve
drwxr-xr-x        5014 2012/02/08 18:00:44 vmdk
drwxr-xr-x        5266 2012/02/09 20:41:48 xen

$ time rsync -av -P rsync://ftp.heanet.ie/[snip]/turnkeylinux/xen ./

receiving incremental file list
xen/
xen/turnkey-appengine-11.3-lucid-x86-xen.tar.bz2
   299570436 100%   30.43MB/s    0:00:09 (xfer#1, to-check=83/85)
xen/turnkey-appengine-11.3-lucid-x86-xen.tar.bz2.sig
         490 100%    0.38kB/s    0:00:01 (xfer#2, to-check=82/85)
xen/turnkey-bugzilla-11.3-lucid-x86-xen.tar.bz2
   191193216 100%   34.68MB/s    0:00:05 (xfer#3, to-check=81/85)
xen/turnkey-bugzilla-11.3-lucid-x86-xen.tar.bz2.sig
         490 100%    0.48kB/s    0:00:00 (xfer#4, to-check=80/85)

[ .. snip .. ]

sent 1629 bytes  received 7993104501 bytes  36919658.80 bytes/sec
total size is 7992120707  speedup is 1.00

real    3m35.152s
user    0m29.290s
sys     0m30.220s

$
&lt;/pre&gt;
&lt;p&gt;
	Speaking with the authority of someone that used to download shareware from a local BBS 20,000 times slower (I.e., 6MB/hour on a 14400 baud modem) I can unequivocally state that this is just friggin awesome. The future is now!&lt;/p&gt;
&lt;p&gt;
	Shouts out to TurnKey mirror best buddies all over the globe:&lt;/p&gt;
&lt;ul class="simple"&gt;
	&lt;li&gt;
		Zhang from the USTC Linux User Group in China&lt;/li&gt;
	&lt;li&gt;
		James from Bytemark hosting in the UK&lt;/li&gt;
	&lt;li&gt;
		Arnoud from LIP6 in France, and Manuel from Ircam, also in France&lt;/li&gt;
	&lt;li&gt;
		Carsten from RWTH Aachen in Germany&lt;/li&gt;
	&lt;li&gt;
		Mattias from Umea Uni in Sweden&lt;/li&gt;
	&lt;li&gt;
		Mitry from Beltelecom MGTS in Belarus&lt;/li&gt;
	&lt;li&gt;
		Boian from IPACCT in Bulgaria&lt;/li&gt;
	&lt;li&gt;
		Georg from dotsrc.org in Denmark&lt;/li&gt;
	&lt;li&gt;
		Ariel from Cooperativa Telefonica in Argentina&lt;/li&gt;
	&lt;li&gt;
		Lior from the Israel Internet Association in Israel&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	Not yet a TurnKey mirror best buddy but thinking you might want to be? If you have the resources to provide a mirror for TurnKey in your country reach out to our &lt;a class="reference external" href="http://www.turnkeylinux.org/mirrors/new"&gt;global mirror commando team&lt;/a&gt; 24 hours a day in any real or fictional language!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/KaUj6svp0Gg" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/fast-rsync-mirrors#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/ftp">ftp</category>
 <category domain="http://www.turnkeylinux.org/blog/mirrors">mirrors</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/rsync">rsync</category>
 <pubDate>Wed, 22 Feb 2012 05:51:39 +0000</pubDate>
 <dc:creator>Liraz Siri</dc:creator>
 <guid isPermaLink="false">3175 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/fast-rsync-mirrors</feedburner:origLink></item>
  <item>
    <title>Announcing TurnKey Xen optimized builds</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/Qx8ds2sXtSg/announcing-xen-builds</link>
    <description>&lt;p&gt;
	&lt;img alt="Xen Logo" src="http://cdn.turnkeylinux.org/files/images/blog/xen-logo.png" style="float: left; width: 200px; height: 89px; " /&gt;As we mentioned before, making TurnKey easy to deploy on as many public and private clouds is an important goal for the project.&lt;/p&gt;
&lt;p&gt;
	Recently we announced TurnKey optimized builds in a number of new formats, which brings the supported list to: ISO, VMDK, OVF, &lt;a href="https://hub.turnkeylinux.org/tour/cloud/"&gt;Amazon EC2&lt;/a&gt;, &lt;a href="http://www.turnkeylinux.org/blog/announcing-openstack-builds"&gt;OpenStack&lt;/a&gt; and &lt;a href="http://www.turnkeylinux.org/blog/openvz-proxmox"&gt;OpenVZ&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	I&amp;#39;m pleased to announce that we have just added Xen to the list of optimized builds. They are hot out of the build farm and available for immediate download.&lt;/p&gt;
&lt;p&gt;
	You can get them from the Download link on the appliance pages.&lt;/p&gt;
&lt;h2&gt;
	Pre-seeding / Default passwords&lt;/h2&gt;
&lt;p&gt;
	The Xen images are mainly built for hosting providers who utilize the Xen Hypervisor.&lt;/p&gt;
&lt;p&gt;
	Because Xen builds are used in headless deployments (without an interactive console), they include an &lt;a href="http://www.turnkeylinux.org/docs/inithooks"&gt;inithook&lt;/a&gt; which preseeds default values and passwords.&lt;/p&gt;
&lt;pre&gt;
&lt;strong&gt;/usr/lib/inithooks/firstboot.d/29preseed
&lt;/strong&gt;
MASTERPASS=turnkey

cat&amp;gt;$INITHOOKS_CONF&amp;lt;&amp;lt;EOF
export ROOT_PASS=$MASTERPASS
export DB_PASS=$MASTERPASS
export APP_PASS=$MASTERPASS
export APP_EMAIL=admin@example.com
export APP_DOMAIN=DEFAULT
export HUB_APIKEY=SKIP
export SEC_UPDATES=FORCE
EOF&lt;/pre&gt;
&lt;p&gt;
	You will most likely want to have your provisioning system to override the defaults by creating &lt;strong&gt;/etc/inithooks.conf&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;
	Note that inithooks.conf will be blanked out once its no longer needed for security. You should also make sure that inithooks.conf includes *ALL* of the variables, otherwise the inithook system will turn on interactivity.&lt;/p&gt;
&lt;p&gt;
	If you cannot support preseeding, the alternative is to have the user execute &lt;strong&gt;turnkey-init&lt;/strong&gt; on first login.&lt;/p&gt;
&lt;p&gt;
	&lt;em&gt;Muchas Gracias to Marc from &lt;a href="http://www.gigatux.com"&gt;GigaTux&lt;/a&gt; (an official TurnKey partner) for testing the Xen images and providing feedback!&lt;/em&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/Qx8ds2sXtSg" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/announcing-xen-builds#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/xen">xen</category>
 <pubDate>Fri, 10 Feb 2012 08:45:17 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3139 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/announcing-xen-builds</feedburner:origLink></item>
  <item>
    <title>Announcing TurnKey OpenStack optimized builds</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/-C5VISN4JRM/announcing-openstack-builds</link>
    <description>&lt;p&gt;
	&lt;img alt="OpenStack Logo" src="http://cdn.turnkeylinux.org/files/images/blog/openstack-logo.png" style="float: left; width: 200px; height: 200px; " /&gt;&lt;/p&gt;
&lt;p&gt;
	As we mentioned before, making TurnKey easy to deploy on as many public and private clouds is an important goal for us. Unfortunately there are too many players in the cloud software space for us to support every single one. It&amp;#39;s much easier to put effort into making TurnKey work well with the winning horses.&lt;/p&gt;
&lt;p&gt;
	TurnKey has been supported on the leading public cloud platform Amazon EC2 from early on, not to mention simplifying management and deployment via the &lt;a href="https://hub.turnkeylinux.org/tour/cloud/"&gt;Hub&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	OpenStack is particularly interesting, because as it is &lt;a href="http://www.turnkeylinux.org/blog/why-rackspace-opensourced-openstack"&gt;most likely&lt;/a&gt; the future of open source clouds.&lt;/p&gt;
&lt;p&gt;
	I originally got intrigued when I heard about &lt;a href="http://nebula.nasa.gov/blog/2009/11/16/lowering-barrier-open-source/"&gt;NASA planning to open source Nebula in 2009&lt;/a&gt;, which has become the basis for Nova, the compute component in OpenStack. Since then, I&amp;#39;ve been following OpenStack development from a far and have been itching to develop support for TurnKey on the platform.&lt;/p&gt;
&lt;p&gt;
	The time has finally arrived, and I&amp;#39;m pleased to announce TurnKey optimized builds are hot out of our build farm, and available for immediate download and deployment.&lt;/p&gt;
&lt;p&gt;
	You can get them from the &amp;quot;Download -&amp;gt; More Builds&amp;quot; link on the appliance pages.&lt;/p&gt;
&lt;h2&gt;
	TurnKey OpenStack optimized builds&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;
		&lt;strong&gt;EBS auto-mounting support:&lt;/strong&gt;&amp;nbsp;we&amp;#39;ve updated our custom &lt;a href="http://www.turnkeylinux.org/blog/ebsmount"&gt;EBSmount&lt;/a&gt; mechanism for OpenStack, which automatically mounts EBS devices when attached.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Support for automating instance setup:&lt;/strong&gt;&amp;nbsp;via the &lt;a href="http://www.turnkeylinux.org/blog/ec2-userdata"&gt;user-data&lt;/a&gt; scripts mechanism.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Automatic APT configuration on boot:&lt;/strong&gt; saves bandwidth costs by using the &lt;a href="http://www.turnkeylinux.org/blog/auto-apt-archive"&gt;closest package archive&lt;/a&gt; for maximum performance.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;SSH key support:&lt;/strong&gt; instances that are launched with a key-pair will be configured accordingly.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;SSH host key fingerprints displayed in system log:&lt;/strong&gt; verification of server to prevent man-in-the-middle (mitm) attacks.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Randomly generated root password:&lt;/strong&gt; is set on first boot, and displayed in the system log **.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Randomly generated mysql/postgres passwords:&lt;/strong&gt; the MySQL root and/or PostgreSQL postgres passwords are set to to the same random password as root **.&lt;/li&gt;
	&lt;li&gt;
		&lt;strong&gt;Instance metadata python library and CLI:&lt;/strong&gt; used internally, but useful for advanced users. (&lt;a href="http://www.turnkeylinux.org/blog/amazon-ec2-metadata"&gt;learn more&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	** Because OpenStack builds are used in headless deployments (without a console), they include an inithook which preseeds default values, and random passwords:&lt;/p&gt;
&lt;pre&gt;
&lt;strong&gt;/usr/lib/inithooks/firstboot.d/29preseed&lt;/strong&gt;

MASTERPASS=$(mcookie | cut --bytes 1-8)

cat&amp;gt;$INITHOOKS_CONF&amp;lt;&amp;lt;EOF
export ROOT_PASS=$MASTERPASS
export DB_PASS=$MASTERPASS
export APP_PASS=turnkey
export APP_EMAIL=admin@example.com
export APP_DOMAIN=DEFAULT
export HUB_APIKEY=SKIP
export SEC_UPDATES=FORCE
&lt;/pre&gt;
&lt;p&gt;
	Depending on your use case, you can utilize user-data (note the security implications) to preseed during boot, or once the system has booted by executing &lt;strong&gt;turnkey-init&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
	Exemplary import of TurnKey Core on OpenStack&lt;/h2&gt;
&lt;p&gt;
	There are several ways of uploading an image into an OpenStack deployment, below is one way to get you started.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
# cd /tmp
# tar -zxf turnkey-core-11.3-lucid-x86-openstack.tar.gz
# ls turnkey-core-11.3-lucid-x86
    turnkey-core-11.3-lucid-x86-initrd
    turnkey-core-11.3-lucid-x86-kernel
    turnkey-core-11.3-lucid-x86.img

# IMG=turnkey-core-11.3-lucid-x86

# glance add -A $GLANCE_TOKEN \
    is_public=true \
    container_format=aki \
    disk_format=aki \
    name=&amp;quot;$IMG-kernel&amp;quot; \
    &amp;lt; /tmp/$IMG/$IMG-kernel

&lt;em&gt;Added new image with ID: 5&lt;/em&gt;

# KERNEL_ID=5

# glance add -A $GLANCE_TOKEN \
    is_public=true \
    container_format=ami \
    disk_format=ami \
    kernel_id=$KERNEL_ID \
    name=&amp;quot;$IMG&amp;quot; \
    &amp;lt; /tmp/$IMG/$IMG.img

&lt;em&gt;Added new image with ID: 6&lt;/em&gt;

# glance -A $GLANCE_TOKEN index

&lt;em&gt;ID  Name                                Disk Format  Container Format  Size
--  ----------------------------------  -----------  ----------------  ---------
6   turnkey-core-11.3-lucid-x86         ami          ami               688498688
5   turnkey-core-11.3-lucid-x86-kernel  aki          aki               4179712
&lt;/em&gt;
# euca-describe-images

&lt;em&gt;IMAGE   ami-00000006    turnkey-core-11.3-lucid-x86         available  public                  machine aki-00000005
IMAGE   aki-00000005    turnkey-core-11.3-lucid-x86-kernel  available  public                  kernel
&lt;/em&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/-C5VISN4JRM" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/announcing-openstack-builds#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/openstack">openstack</category>
 <pubDate>Wed, 01 Feb 2012 11:51:51 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3109 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/announcing-openstack-builds</feedburner:origLink></item>
  <item>
    <title>Announcing TurnKey OpenVZ optimized builds (+ Proxmox VE channel)</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/HxMYKHYeg-I/openvz-proxmox</link>
    <description>&lt;p&gt;
	OpenVZ and Proxmox VE has been a recurring topic of discussion on the forums, for which we have Jeremy to &lt;strike&gt;blame&lt;/strike&gt; thank. He&amp;#39;s done tons of research, testing, preaching, and then some.&lt;/p&gt;
&lt;p&gt;
	What I love about Open Source is that if you have an itch, and the drive to scratch it yourself, you can.&lt;/p&gt;
&lt;p&gt;
	That&amp;#39;s exactly what &lt;a href="http://www.turnkeylinux.org/users/jedmeister"&gt;Jeremy&lt;/a&gt; and &lt;a href="http://www.turnkeylinux.org/users/adrianmoya"&gt;Adrian&lt;/a&gt;&amp;nbsp;did. They wanted OpenVZ optimized builds for their Proxmox VE deployments, so they developed a &lt;a href="http://www.turnkeylinux.org/forum/general/20101208/creating-openvz-templates-leveraging-tklpatch"&gt;TKLPatch&lt;/a&gt; that would convert an ISO into an OpenVZ container. And if that wasn&amp;#39;t enough, took the time to upload some of the builds to sourceforge so it would be easier for others to leverage their work.&lt;/p&gt;
&lt;p&gt;
	Hats off to you guys, you rock!&lt;/p&gt;
&lt;h2&gt;
	TurnKey OpenVZ optimized builds&lt;/h2&gt;
&lt;p&gt;
	Based on Adrian&amp;#39;s and Jeremy&amp;#39;s work, we were able to add OpenVZ support to our build infrastructure in no time, and after some initial testing, triggered the whole appliance library to be built as optimized OpenVZ containers.&lt;/p&gt;
&lt;p&gt;
	You can get them from the &amp;quot;Download -&amp;gt; More Builds&amp;quot; link on the appliance pages.&lt;/p&gt;
&lt;h3&gt;
	Pre-seeding / default passwords&lt;/h3&gt;
&lt;p&gt;
	Because OpenVZ builds are used in headless deployments (without a console), they include an inithook which preseeds default values and passwords (excluding the root password which is handled by the VZ CLI tools).&lt;/p&gt;
&lt;pre&gt;
&lt;strong&gt;/usr/lib/inithooks/firstboot.d/29preseed&lt;/strong&gt;

DB_PASS=turnkey
APP_PASS=turnkey
APP_EMAIL=admin@example.com
APP_DOMAIN=DEFAULT
HUB_APIKEY=SKIP
SEC_UPDATES=FORCE&lt;/pre&gt;
&lt;p&gt;
	Depending on your use case, you can &lt;a href="http://www.turnkeylinux.org/docs/inithooks"&gt;preseed&lt;/a&gt; the values before the system is booted for the first time, or once the system has booted by executing &lt;strong&gt;turnkey-init&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;
	&lt;em&gt;It would be great if someone would add preseeding support to PVE...&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
	TurnKey Proxmox VE channel&lt;/h2&gt;
&lt;p&gt;
	A while back the Proxmox folks came up with the &lt;a href="http://www.turnkeylinux.org/forum/general/20091109/tkl-master-server-aka-virtual-environment#comment-2960"&gt;idea&lt;/a&gt; of adding a TurnKey channel to PVE, to allow users to download TKL appliances in the same way their custom built appliances are downloaded.&lt;/p&gt;
&lt;p&gt;
	It was a great idea, but unfortunately it &lt;a href="http://www.turnkeylinux.org/forum/general/20091109/tkl-master-server-aka-virtual-environment#comment-3505"&gt;never got off the ground&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	As I mentioned above, the great thing about Open Source is that you can scratch your own itch, and I was curious how the channel mechanism worked - so I dived in. When I came up for air I had added minimal third party channel support and a TurnKey Linux channel (&lt;a href="https://github.com/turnkeylinux/pve-patches"&gt;github&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;
	What this basically means is you can now download and deploy any TurnKey appliance on your PVE server in a couple of clicks without leaving your browser.&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="proxmox turnkey channel" src="http://cdn.turnkeylinux.org/files/images/blog/proxmox-turnkey.png" style="width: 640px; height: 1100px; " /&gt;&lt;/p&gt;
&lt;p&gt;
	I hope to see this integrated in the upcoming PVE 2.0 release [update: &lt;a href="http://www.turnkeylinux.org/blog/openvz-proxmox#comment-12295"&gt;it's coming...&lt;/a&gt;]. If you&amp;#39;re running PVE 1.9 then you can add the TurnKey channel as follows:&lt;/p&gt;
&lt;pre&gt;
cd /usr/share/perl5/PVE
mv APLInfo.pm APLInfo.pm.bak
wget &lt;a href="https://raw.github.com/turnkeylinux/pve-patches/master/PVE/APLInfo.pm" title="https://raw.github.com/turnkeylinux/pve-patches/master/PVE/APLInfo.pm"&gt;https://raw.github.com/turnkeylinux/pve-patches/master/PVE/APLInfo.pm&lt;/a&gt;

# update appliance list
pveam update
&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/HxMYKHYeg-I" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/openvz-proxmox#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/openvz">openvz</category>
 <category domain="http://www.turnkeylinux.org/blog/proxmox">proxmox</category>
 <pubDate>Mon, 16 Jan 2012 14:30:41 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3068 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/openvz-proxmox</feedburner:origLink></item>
  <item>
    <title>The DDoS spam bot from hell (a suburb of China)</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/CC3MyxA4_RA/spammers-are-scum</link>
    <description>&lt;p&gt;
	Happy new year everyone,&lt;/p&gt;
&lt;p&gt;
	I&amp;#39;m back online to put out a fire. My inbox was full of alerts that the CPU on the server that runs the site was maxing out.&lt;/p&gt;
&lt;p&gt;
	Well boys and girls, it turns out &lt;a href="http://www.turnkeylinux.org" title="www.turnkeylinux.org"&gt;www.turnkeylinux.org&lt;/a&gt; has been under an escalating distributed denial of service attack that started about two weeks ago. To the best of my knowledge the site continued operating normally. We use a ton of caching. Did any of you notice a slowdown?&lt;/p&gt;
&lt;p&gt;
	Lucky for us the &amp;quot;attack&amp;quot; was braindead simple so it was easy to figure out what was happening and block the offending IPs. 32 nodes from 4 Chinese /16 network blocks which I sincerely hope aren't home to any TurnKey fans:&lt;/p&gt;
&lt;pre&gt;
60.169.73.186
222.186.24.101
60.169.78.19
60.169.75.168
61.160.232.38
222.186.26.164
60.169.78.57
60.169.78.174
61.160.232.22
60.169.78.193
60.169.78.177
222.186.25.134
60.169.78.15
60.169.78.52
60.169.75.50
60.169.78.54
61.160.232.39
60.169.78.7
61.160.232.58
61.160.232.4
61.160.232.10
60.169.75.161
60.169.78.42

&lt;/pre&gt;
&lt;p&gt;
	All using the same &lt;a href="http://en.wikipedia.org/wiki/User_agent"&gt;User Agent&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
	Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1&lt;/blockquote&gt;
&lt;p&gt;
	Supposedly identifies as Firefox but from the logs it&amp;#39;s transparent it isn&amp;#39;t behaving like a real browser. For example, a real browser gets CSS and image files. This just crawls all over the site and POSTs a zillion times the kind of predictable crap our spam filter blocks half-asleep.&lt;/p&gt;
&lt;p&gt;
	What does that sound like? Ah yes, a poorly programmed, incredibly persistent spam bot network from hell. None of the spam attempts went through our countermeasures but it still took up a ton of CPU time.&lt;/p&gt;
&lt;p&gt;
	Being naturally inquisitive I investigated the offending IPs and it turns out most of them are running a remotely exploitable version of SSH (SSH-2.0-OpenSSH_4.3). I&amp;#39;m half tempted to run metasploit to get into these systems and clean away the spambot software as a public service but that&amp;#39;s illegal and I&amp;#39;m a bit busy besides.&lt;/p&gt;
&lt;p&gt;
	Wouldn&amp;#39;t it be neat though if we had a net equivalent of the &lt;a href="http://en.wikipedia.org/wiki/Justice_League"&gt;Justice League&lt;/a&gt; to deal with the kind of lowlife scum who commandeer hapless machines to run very low quality spam software?&lt;/p&gt;
&lt;p&gt;
	Note that I tried doing the right thing and looked up the abuse contact for the network that was attacking us (and presumably thousands/millions of other sites) on &lt;a href="http://tools.whois.net/whoisbyip/"&gt;WHOIS&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;
person:         Jinneng Wang
address:        17/F, Postal Building No.120 Changjiang
address:        Middle Road, Hefei, Anhui, China
country:        CN
phone:          +86-551-2659073
fax-no:         +86-551-2659287
e-mail:         &lt;a href="mailto:wang@mail.hf.ah.cninfo.net"&gt;wang@mail.hf.ah.cninfo.net&lt;/a&gt;
nic-hdl:        JW89-AP
mnt-by:         MAINT-NEW
changed:        &lt;a href="mailto:wang@mail.hf.ah.cninfo.net"&gt;wang@mail.hf.ah.cninfo.net&lt;/a&gt; 19990818
source:         APNIC&lt;/pre&gt;
&lt;p&gt;
	Then instead of sending off an angry e-mail into the void I actually picked up the phone, dialed the number, and listened to some funky Chinese elevator music until some guy (Mr. Jinneng Wang I presume?) who didn&amp;#39;t speak English picked up and eventually hung up on me after an akward mutually incomprehensible exchange. Of course. How could it be any different?&lt;/p&gt;
&lt;p&gt;
	I don&amp;#39;t get it, what&amp;#39;s the point of putting up an abuse contact in the WHOIS records if the person listed doesn&amp;#39;t speak English? Just list the abuse contact in Mandarin and get it over with.&lt;/p&gt;
&lt;p&gt;
	Sometimes I feel like a character in a Neal Stephenson novel.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/CC3MyxA4_RA" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/spammers-are-scum#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/china">china</category>
 <category domain="http://www.turnkeylinux.org/blog/ddos">ddos</category>
 <category domain="http://www.turnkeylinux.org/blog/scum">scum</category>
 <category domain="http://www.turnkeylinux.org/blog/spam">spam</category>
 <pubDate>Fri, 30 Dec 2011 14:50:32 +0000</pubDate>
 <dc:creator>Liraz Siri</dc:creator>
 <guid isPermaLink="false">3019 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/spammers-are-scum</feedburner:origLink></item>
  <item>
    <title>Mapping AWS data centers for fastest connection </title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/VcLhpGgDrSw/aws-datacenters</link>
    <description>&lt;p&gt;
	&lt;em&gt;Yes, that&amp;#39;s &amp;#39;fastest&amp;#39;, not closest.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
	Background&lt;/h2&gt;
&lt;p&gt;
	A while back I published a blog post entitled&amp;nbsp;&lt;a href="http://www.turnkeylinux.org/blog/geoip-amazon-regions"&gt;Finding the closest data center using GeoIP and indexing&lt;/a&gt;, which described how we automatically determine the AWS regional data center to be used for storing encrypted&amp;nbsp;&lt;a href="https://hub.turnkeylinux.org/tour/backup/"&gt;server backups&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	We used the same solution to determine the preferred region when launching &lt;a href="https://hub.turnkeylinux.org/tour/cloud/"&gt;cloud servers&lt;/a&gt;&amp;nbsp;in the Hub,&amp;nbsp;as well as selecting the &lt;a href="http://www.turnkeylinux.org/blog/auto-apt-archive"&gt;closest APT package archive&lt;/a&gt;&amp;nbsp;for all TurnKey deployments.&lt;/p&gt;
&lt;h2&gt;
	New and improved&lt;/h2&gt;
&lt;p&gt;
	Since the original publication, Amazon built new regional data centers in Oregon, Sao Paulo and Tokyo, so the indexes needed to be updated.&lt;/p&gt;
&lt;p&gt;
	While adding support for the new regions I decided to take it a step further and add some improvements.&lt;/p&gt;
&lt;h3&gt;
	Improvement #1: Automatic association (distance)&lt;/h3&gt;
&lt;p&gt;
	The method originally used to perform automatic association of countries/states to data centers was lacking some what and needed to be improved.&lt;/p&gt;
&lt;p&gt;
	We are now using the &lt;a href="http://en.wikipedia.org/wiki/Haversine_formula"&gt;Haversine formula&lt;/a&gt;, which is used to determine great-circle distances between two points on a sphere from their longitudes and latitudes.&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="haversine1" src="http://cdn.turnkeylinux.org/files/images/blog/haversine1.png" style="width: 593px; height: 48px; " /&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="haversine2" src="http://cdn.turnkeylinux.org/files/images/blog/haversine2.png" style="width: 312px; height: 43px; " /&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;
	Improvement #2: Incorporated world wide underwater cables (latency)&lt;/h3&gt;
&lt;p&gt;
	Originally we relied on user feedback of connection latency to tweak the indexes. This didn&amp;#39;t scale very well, so we needed a way to make it easier.&lt;/p&gt;
&lt;p&gt;
	Based on &lt;a href="http://www.cablemap.info/"&gt;Gregs Cable map&lt;/a&gt;, we could mashup the automatic associations and tweak the index overrides based on expected latency.&lt;/p&gt;
&lt;p&gt;
	It turns out that this was a crucial part of the equasion, as a user might be physically closer to data center X, but in reality the connection to data center Y is faster. For example, previously Australia was allocated to Singapore but has been moved to California as the pipe is much fatter (see the visual map below).&lt;/p&gt;
&lt;h3&gt;
	Improvement #3: Open source&lt;/h3&gt;
&lt;p&gt;
	We originally published the indexes, but have now open sourced the whole project on &lt;a href="https://github.com/turnkeylinux/aws-datacenters"&gt;github&lt;/a&gt;&amp;nbsp;in hope that others might find it useful, and make collaboration easier.&lt;/p&gt;
&lt;h2&gt;
	Putting it all together&lt;/h2&gt;
&lt;p&gt;
	The below screenshot plots countries/states to their associated AWS regional data centers, and overlays the world wide underwater cables for reference:&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="aws-datacenters-mashup" src="http://cdn.turnkeylinux.org/files/images/blog/aws-datacenters.jpg " style="width: 640px; height: 331px; " /&gt;&lt;/p&gt;
&lt;p&gt;
	Want to zoom in? Toggle active and future cables? Check out the &lt;a href="http://turnkeylinux.github.com/aws-datacenters"&gt;live mashup&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/VcLhpGgDrSw" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/aws-datacenters#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/amazon">amazon</category>
 <category domain="http://www.turnkeylinux.org/blog/aws">aws</category>
 <category domain="http://www.turnkeylinux.org/blog/ec2">ec2</category>
 <category domain="http://www.turnkeylinux.org/blog/s3">s3</category>
 <pubDate>Thu, 29 Dec 2011 12:25:00 +0000</pubDate>
 <dc:creator>Alon Swartz</dc:creator>
 <guid isPermaLink="false">3013 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/aws-datacenters</feedburner:origLink></item>
  <item>
    <title>TurnKey 11.3 maintenance release - next stop Ubuntu 12.04!</title>
    <link>http://feeds.turnkeylinux.org/~r/turnkeylinux-blog/~3/nTBuv70ryZ8/turnkey-11.3</link>
    <description>&lt;p&gt;
	Ho ho ho, happy holidays everyone! I know most of you are already shifting into holiday mode, so I&amp;#39;ll keep it short and sweet.&lt;/p&gt;
&lt;p&gt;
	We&amp;#39;ve just pushed out TurnKey 11.3 - the final maintenance release based on Ubuntu 10.04. The next release will be based on Ubuntu 12.04. We&amp;#39;re already shifting into high gear for that. There will be surprises. Hopefully good ones!&lt;/p&gt;
&lt;p&gt;
	Anyhow the new images we just pushed out from our &lt;a class="reference external" href="http://www.turnkeylinux.org/blog/introducing-cloudtask"&gt;CloudTask&lt;/a&gt; automation swarm include &lt;a href="http://www.turnkeylinux.org/updates/core/new-turnkey-core-version-113"&gt;fixes&lt;/a&gt; for various &lt;a class="reference external" href="http://www.turnkeylinux.org/forum/support/20111111/etckeeper-has-huge-git-repo-how-remove"&gt;bruises&lt;/a&gt; and scrapes, as well as the very latest security updates.&lt;/p&gt;
&lt;p&gt;
	If you&amp;#39;ve already installed a previous version of TurnKey 11, you don&amp;#39;t need to download anything because by default TurnKey is configured to automatically install all of the security updates over the network.&lt;/p&gt;
&lt;p&gt;
	The maintenance release will mainly be of interest to new users and existing users doing new deployments. Especially those of you who are super impatient like mua and don&amp;#39;t care to wait long minutes after deployment for the system to pull over a ton of security updates. This cuts down the time it takes to fully deploy Core in the cloud from 5 minutes to just 30 seconds.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/turnkeylinux-blog/~4/nTBuv70ryZ8" height="1" width="1"/&gt;</description>
     <comments>http://www.turnkeylinux.org/blog/turnkey-11.3#comments</comments>
 <category domain="http://www.turnkeylinux.org/blog/appliances">appliances</category>
 <category domain="http://www.turnkeylinux.org/blog/news">news</category>
 <category domain="http://www.turnkeylinux.org/blog/ubuntu">ubuntu</category>
 <pubDate>Tue, 06 Dec 2011 07:34:59 +0000</pubDate>
 <dc:creator>Liraz Siri</dc:creator>
 <guid isPermaLink="false">2918 at http://www.turnkeylinux.org</guid>
  <feedburner:origLink>http://www.turnkeylinux.org/blog/turnkey-11.3</feedburner:origLink></item>
  </channel>
</rss>

