<?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>Marco Ceppi &#187; Blog</title>
	<atom:link href="http://marcoceppi.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcoceppi.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 13:34:20 +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>Ask Ubuntu Moderator Town Hall Chat</title>
		<link>http://marcoceppi.com/2012/02/ask-ubuntu-moderator-town-hall-chat/</link>
		<comments>http://marcoceppi.com/2012/02/ask-ubuntu-moderator-town-hall-chat/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 13:33:01 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=308</guid>
		<description><![CDATA[If you wish to drill the candidates about their philosophies and get to know them better before you vote in the Ask Ubuntu Moderator Elections then join us for our Town Hall chat today! The ...]]></description>
			<content:encoded><![CDATA[<p>If you wish to drill the candidates about their philosophies and get to know them better before you vote in the <a href="http://askubuntu.com/election">Ask Ubuntu Moderator Elections</a> then join us for our <a href="http://meta.askubuntu.com/questions/2443/2012-moderator-election-town-hall-chat-tuesday-7-feb-2100-utc-4pm-est">Town Hall chat</a> today! The chat will take place in the <a href="http://chat.stackexchange.com/rooms/info/268/ask-ubuntu-town-hall-chat?tab=schedule">Ask Ubuntu Town Hall Chatroom</a> at <a href="http://www.timeanddate.com/worldclock/fixedtime.html?month=2&amp;day=07&amp;year=2012&amp;hour=21&amp;min=0&amp;sec=0&amp;p1=0">21:00 UTC</a>. I look forward to an informative town hall with all the candidates!</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2012/02/ask-ubuntu-moderator-town-hall-chat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Advertisement for Open Source Projects and Events!</title>
		<link>http://marcoceppi.com/2012/02/open-source-advertisements/</link>
		<comments>http://marcoceppi.com/2012/02/open-source-advertisements/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 16:08:52 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[StackExchange]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=303</guid>
		<description><![CDATA[One of the great things Stack Exchange provides the community with is free advertising for projects and events that affect the Ubuntu community. The ads are rotated though and displayed ...]]></description>
			<content:encoded><![CDATA[<p>One of the great things Stack Exchange provides the community with is free advertising for projects and events that affect the Ubuntu community. The ads are rotated though and displayed on Ask Ubuntu pages. It&#8217;s a great way to get the word out about your projects.</p>
<p>Here&#8217;s a sample of events and projects that have submitted ads for this Quarter.</p>
<p><img src="http://i.imgur.com/U2ElE.png" alt="" /></p>
<p>Are you looking for outreach? Looking to advertise your Local Team? It&#8217;s easy, just create a 220&#215;250 image of your event and post it in this <a href="http://meta.askubuntu.com/questions/2158/community-promotion-ads-1h-2012">meta thread</a> following the described format. Once the post gets at least six upvotes from the community, the ad will automagically be added to the rotation of existing network ads. (Users withing to vote on ads will need <a href="http://askubuntu.com/privileges/vote-up" target="_blank">at least 15 reputation to cast an upvote</a>)</p>
<p>Want to support these events and ads on your own blog? Then check out George Edison&#8217;s <a href="http://stackapps.com/questions/741/stackad-an-easy-way-to-display-open-source-ads-on-your-site-blog">Stack Ad</a>, which will let you run these ads on your own blog!</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2012/02/open-source-advertisements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugs are not questions</title>
		<link>http://marcoceppi.com/2012/02/bugs-are-not-questions/</link>
		<comments>http://marcoceppi.com/2012/02/bugs-are-not-questions/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 19:05:11 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[StackExchange]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=295</guid>
		<description><![CDATA[It&#8217;s been a long standing policy that bugs are off-topic for Ask Ubuntu and for good reason, we have Launchpad which is the best place for bugs in Ubuntu to end ...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long standing policy that bugs are off-topic for Ask Ubuntu and for good reason, we have Launchpad which is <em>the best</em> place for bugs in Ubuntu to end up. Before I dive too deeply into the history of this issue and what we&#8217;re doing to fix this, if you have a bug <a href="http://askubuntu.com/q/5121/41" target="_blank">please see here on how to report it!</a> Despite having formed the &#8220;No bugs on Ask Ubuntu&#8221; policy over a year and a half ago we&#8217;ve ended up being too lax in how we identified and handled bugs. As a result the site is swimming with &#8220;Questions&#8221; that have no answer and likely never will because they are <span style="text-decoration: underline;">bugs</span>.</p>
<blockquote><p>We can improve Ask Ubuntu by just pointing the user to bug filing advice and promptly closing the question. - <a href="http://meta.askubuntu.com/a/2432/41" target="_blank">Martin Pool</a></p></blockquote>
<p>To combat this we&#8217;ve mobilized the community to weed out, flag, and close these buggy questions which means a lot of questions will end up closed as off-topic. This isn&#8217;t a bad thing &#8211; in fact it&#8217;s quite a good thing. With each question getting a sign post saying &#8220;This is a bug, report your bug to Launchpad&#8221; any future users who stumble on to these questions from search engines will now know where to look, instead of finding disappointment in an answer-less &#8221;question&#8221;.</p>
<p>We need more help! If you happen to come across a question on Ask Ubuntu that&#8217;s a duplicate of an existing bug report, or clearly should be submitted as a bug report, click the &#8220;flag&#8221; button at the bottom of the post and let us know! The sooner we prune and notify users these are actually bugs the quicker we can get them logged against the appropriate Launchpad project/package. The result will be a more fluid experience for new users and future users (since all these bugs will be fixed!). If you have questions about whether a question is a bug you can join the <a href="http://chat.askubuntu.com" target="_blank">Ask Ubuntu chat</a> or ask on the <a href="http://meta.askubuntu.com" target="_blank">Ask Ubuntu Meta</a> site.</p>
<ul>
<li><a href="http://meta.askubuntu.com/questions/1317/what-to-do-with-questions-that-describe-bugs" target="_blank">What to do about questions that describe bugs?</a></li>
<li><a href="http://meta.askubuntu.com/q/2419/41" target="_blank">What are some of Ask Ubuntu&#8217;s problems, if any?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2012/02/bugs-are-not-questions/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Ask Ubuntu Moderator Elections</title>
		<link>http://marcoceppi.com/2012/01/ask-ubuntu-moderator-elections/</link>
		<comments>http://marcoceppi.com/2012/01/ask-ubuntu-moderator-elections/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 20:49:01 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[StackExchange]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=290</guid>
		<description><![CDATA[We&#8217;ve had some great success in the last year at Ask Ubuntu, just as our community has grown it&#8217;s come time to grow our community elected moderation team. As such, ...]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had some great success in the last year at Ask Ubuntu, just as our community has grown it&#8217;s come time to grow our community elected moderation team. As such, another round of <a href="http://askubuntu.com/election/2" target="_blank">Moderator Elections</a> has started! I look forward to seeing the new moderator nominees and who lines up to run! Here are some statistics for those curious about how we compared from last election to this election in terms of site size.</p>
<p>Since the last election we:</p>
<ul>
<li>had over 32,000 questions have been asked</li>
<li>have seen more than 35,000 additional users join the community</li>
<li>do over fifteen times as much daily traffic</li>
</ul>
<div>I&#8217;m very proud of the growth we&#8217;ve seen so far and look forward to matching that growth by doubling the moderation team! If you have more than 300 reputation on the site and care to run the nomination phase is open for 5 more days. If you&#8217;re interested in helping to elect the people who will be added to our moderation team you&#8217;ll need at least 150 reputation to vote. With the voting not slated to start until after nomination period, so you&#8217;ve still got some time go get some great questions and answers out there! If you&#8217;re looking for a place to start <a href="http://askubuntu.com/?tab=featured">here are some questions that could use your help</a>!</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2012/01/ask-ubuntu-moderator-elections/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ask Ubuntu Lens!</title>
		<link>http://marcoceppi.com/2012/01/ask-ubuntu-lens/</link>
		<comments>http://marcoceppi.com/2012/01/ask-ubuntu-lens/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 19:19:06 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=279</guid>
		<description><![CDATA[The Ask Ubuntu lens has hit the Ubuntu Software Center after being submitted via the Ubuntu App Developer and approved by the Application Review Board (ARB). It&#8217;s now a breeze ...]]></description>
			<content:encoded><![CDATA[<p>The Ask Ubuntu lens has hit the Ubuntu Software Center after being submitted via the <a href="https://myapps.developer.ubuntu.com/dev/apps/505/">Ubuntu App Developer</a> and approved by the Application Review Board (ARB). It&#8217;s now a breeze to install the lens on Oneiric. Simply open the Ubuntu Software Center, search for Ask Ubuntu, and install the lens!</p>
<p>Once the lens is installed you can use it to answer queries you have while you use Ubuntu. For instance, if you have a question about how to find you Public IP address or how to configure Unity, just type the question or subject matter into the lens and a list of questions, tags, answers, and actions will appear. If you can&#8217;t find the answer you&#8217;re looking for you can opt to Ask the Question on the site in order to get an answer.</p>
<p>In addition to searching Ask Ubuntu, you can also search for subject matter in other areas. The lens will allow you to filter from one of the man <a href="http://stackexchange.com/sites">Stack Exchange Q&amp;A sites</a> which cover a wide variety of subject matter from Server Administration, Cooking, Gaming, WordPress, Andriod, Parenting, and many many more.</p>
<p><a href="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_066.png"><img class="aligncenter size-large wp-image-280" title="USC" src="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_066-680x469.png" alt="" width="680" height="469" /></a></p>
<p><a href="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_067.png"><img class="aligncenter size-large wp-image-281" title="USC List" src="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_067-680x469.png" alt="" width="680" height="469" /></a></p>
<p>&nbsp;</p>
<p><a href="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_071.png"><img class="aligncenter size-large wp-image-282" title="Installing" src="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_071-680x469.png" alt="" width="680" height="469" /></a></p>
<p>&nbsp;</p>
<p><a href="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_072.png"><img class="aligncenter size-large wp-image-283" title="Running" src="http://marcoceppi.com/wp-content/uploads/2012/01/Selection_072-680x382.png" alt="" width="680" height="382" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2012/01/ask-ubuntu-lens/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ask Ubuntu, 32k Mile Marker</title>
		<link>http://marcoceppi.com/2011/12/ask-ubuntu-32k-mile-marker/</link>
		<comments>http://marcoceppi.com/2011/12/ask-ubuntu-32k-mile-marker/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:40:54 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[StackExchange]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=258</guid>
		<description><![CDATA[It looks like Ask Ubuntu will be ringing in the New Year with just about 32,000 users and over 32,000 questions! This year has been a great one for Ask ...]]></description>
			<content:encoded><![CDATA[<p><a name="32kmarcoceppi"></a>It looks like <a href="http://askubuntu.com">Ask Ubuntu</a> will be ringing in the New Year with just about 32,000 users and over 32,000 questions! This year has been a great one for Ask Ubuntu. We&#8217;ve seen a <a href="http://stackexchange.com/sites" target="_blank">rapid growth in traffic, users, and great questions</a>. With next year right around the corner, we look forward to continued trends of stellar questions, phenomenal answers, and continued efforts to provide the best platform for solving questions by users. As a bit of a &#8220;year in review&#8221; here are some of the all time highest ranked questions in the community:</p>
<ul>
<li><a href="http://askubuntu.com/questions/29553/how-can-i-configure-unity">How can I configure Unity?</a></li>
<li><a href="http://askubuntu.com/questions/10373/do-i-need-to-have-antivirus-software-installed">Do I need to have &#8216;antivirus software&#8217; installed?</a></li>
<li><a href="http://askubuntu.com/questions/28086/what-are-unitys-keyboard-and-mouse-shortcuts">What are Unity&#8217;s keyboard and mouse shortcuts?</a></li>
</ul>
<p>There are plenty of other great questions in our catalog of over 30,000. Check out our <a href="http://askubuntu.com/questions?sort=faq" target="_blank">most linked questions</a>, <a href="http://askubuntu.com/questions?sort=votes" target="_blank">highest scored questions</a>, and of course our list of <a href="http://askubuntu.com/questions?sort=unanswered" target="_blank">unanswered questions</a> (for any that you might be able to help us with)!</p>
<p><center><a style="display: inline-block;" href="https://plus.google.com/107921963368679288414"><img class="aligncenter" src="http://i.stack.imgur.com/ewXR2.png" alt="" width="220" height="250" /></a>  <a style="display: inline-block;" href="http://twitter.com/#!/stackubuntu"><img class="aligncenter" src="http://i.stack.imgur.com/77fWg.png" alt="" width="220" height="250" /></a></center>On other fronts we have both a <a href="http://twitter.com/#!/stackubuntu" target="_blank">Twitter</a> and <a href="https://plus.google.com/107921963368679288414" target="_blank">Google+</a> page, which you can follow to receive updates about notable questions, tips and tricks, as well as news regarding the Ask Ubuntu site!</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2011/12/ask-ubuntu-32k-mile-marker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello, my name is Marco Ceppi</title>
		<link>http://marcoceppi.com/2011/12/hello-my-name-is-marco-ceppi/</link>
		<comments>http://marcoceppi.com/2011/12/hello-my-name-is-marco-ceppi/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 12:19:07 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Planet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=242</guid>
		<description><![CDATA[Since I&#8217;ve become an Ubuntu Member I&#8217;ve pretty much dragged my feet on writing a &#8220;Hello&#8221; blog post to introduce myself on the Planet, primarily because reading all the other ...]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve become an Ubuntu Member I&#8217;ve pretty much dragged my feet on writing a &#8220;Hello&#8221; blog post to introduce myself on the Planet, primarily because reading all the other cool things going on in the planet took up a good portion of my time <img src='http://marcoceppi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So, in brief my name is Marco Ceppi.</p>
<p>In length I&#8217;m a developer, systems admin, open source evangelical.<a href="http://askubuntu.com/about#moderators"> One of three community elect moderators of Ask Ubuntu</a>, a <a href="https://launchpad.net/charm">Juju Charmer</a>, <a href="http://ondina.co">Entrepreneur</a>, <a href="http://www.flickr.com/photos/marcoceppi/sets/72157617230224664/">Sailor</a>, Cyclist, Gamer, and <a href="http://www.flickr.com/photos/marcoceppi/sets/72157628540818577/">I like cats</a>. I look forward to reading more about the community&#8217;s happenings and contributing to the stream of consciousness that is the Planet!</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2011/12/hello-my-name-is-marco-ceppi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin Charm ready!</title>
		<link>http://marcoceppi.com/2011/12/phpmyadmin-charm/</link>
		<comments>http://marcoceppi.com/2011/12/phpmyadmin-charm/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:27:58 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[charms]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[juju]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=233</guid>
		<description><![CDATA[I finish up the phpMyAdmin charm I've been working on and show how to deploy and use it in your Juju infrastructure.]]></description>
			<content:encoded><![CDATA[<p>As a follow up to my previous <a title="Deploying the Minecraft Charm!" href="http://marcoceppi.com/2011/11/deploying-the-minecraft-charm/" target="_blank">post about the Minecraft Charm</a>, here is my next completed charm: phpMyAdmin! Unlike my last charm&#8217;s post, I&#8217;m going to keep this one sweet and to the point. For a review on how to setup your local charm directory and environment see the aforementioned post, or checkout the <a href="https://juju.ubuntu.com/CharmSchool" target="_blank">Documentation</a>. In summary you&#8217;ll need to fetch this charm, bootstrap a deployment environment, deploy MySQL charm and phpMyAdmin charm, create a relationship between the two, and expose the service. All of that is demonstrated in the video with a transcript of the commands available below.</p>
<p><iframe src="http://www.youtube.com/embed/SXsiffMI5Uc?rel=0&amp;hd=1" frameborder="0" width="500" height="400"></iframe></p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">mkdir -p ~/Projects/charms/oneiric
charm get mysql ~/Projects/charms/oneiric/mysql
charm get phpmyadmin ~/Projects/charms/oneiric/phpmyadmin
juju bootstrap
juju deploy --repository ~/Projects/charms local:mysql
juju deploy --repository ~/Projects/charms local:phpmyadmin
juju add-relation phpmyadmin mysql
juju set phpmyadmin password=&quot;password&quot; # Replace password with your actually password
juju expose phpmyadmin</pre></div></div>

<p>For switching to use the latest upstream, execute the following:</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">juju set phpmyadmin use_upstream=true</pre></div></div>

<p>Setting this value to false will revert the installation back to the one provided via the Ubuntu Archives. There are a few other features to this charm which are documented in the readme file.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2011/12/phpmyadmin-charm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deploying the Minecraft Charm!</title>
		<link>http://marcoceppi.com/2011/11/deploying-the-minecraft-charm/</link>
		<comments>http://marcoceppi.com/2011/11/deploying-the-minecraft-charm/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 18:48:59 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[charms]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[juju]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=207</guid>
		<description><![CDATA[For the past three weeks I&#8217;ve been working with Charms, which are part of the Juju project. I love charms, I even went so far as to join the Charmers ...]]></description>
			<content:encoded><![CDATA[<p>For the past three weeks I&#8217;ve been working with Charms, which are part of the Juju project. I love charms, I even went so far as to join the Charmers group on Launchpad. During the Ubuntu Developer Summit I was lucky enough to sit down with a few of the Juju hackers and get a first hand look at developing an deploying charms. There are lots of videos showing how quick and easy it is to deploy <a href="https://juju.ubuntu.com/#Can_I_see_juju_in_action.3F" target="_blank">Hadoop, WordPress, and MySQL</a> to the cloud but those demos always just kind of sailed over my head, because I didn&#8217;t really care about that kind of infrastructure.</p>
<p style="text-align: center;"><img class="aligncenter" title="Juju!" src="http://i.imgur.com/OSqry.png" alt="Juju!" width="244" height="252" /></p>
<p>So, you want to run a Minecraft server in the cloud. First you&#8217;ll need to grab juju &#8211; if you&#8217;re running the latest and greatest Ubuntu release then installation is a pretty straight forward process execute the following lines to add the Juju PPA and install Juju along with the additional charm tools.</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update &amp;&amp; sudo apt-get install juju charm-tools</pre></div></div>

<p>Once Juju is downloaded you&#8217;ll want to setup a place to store all the awesome charms that are available including the totally sweet Minecraft charm that <em>everyone</em> is clamoring for. In the terminal make a directory by running the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">mkdir -p ~/Projects/charms/oneiric &amp;&amp; cd $_
charm update ./</pre></div></div>

<p>This will create a a charms folder inside of Projects which has an oneiric directory. Charms are organized by release, so all Oneiric (11.10) compatible charms will be placed in the oneiric folder, if a charm was designed for another version of Ubuntu it&#8217;d be in that respective code name&#8217;s folder.  Then executing charm update to build the database of available charms. At the writing of this post, all charms are developed for Oneiric. Remember this directory, going forward it&#8217;ll be known as your &#8220;Local Charm Repository&#8221;.</p>
<p>Finally, we need to setup an environment for which to deploy these charms to! Run <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">juju</span> once to have Juju create it&#8217;s environments file, which is placed in <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">~/.juju/environments.yaml</span> Since I use Amazon&#8217;s Web Services (AWS) EC2, all I had to do was add two extra keys one for <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">access-key</span> and the other <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">secret-key</span>. These are the access and secret keys (respectively) from your Amazon Web Service account. All of this can be <a href="https://juju.ubuntu.com/docs/getting-started.html#configuring-your-environment" target="_blank">found in the documentation</a></p>
<div class="wp-caption aligncenter" style="width: 470px"><img src="http://i.imgur.com/7Soha.jpg" alt="" width="460" height="261" /><p class="wp-caption-text">Now you&#39;re ready for some charming!</p></div>
<p>There are a whole bunch of directions you can go in now. You can pull down all the charms in the <a href="http://charms.kapilt.com/">Charm Browser</a>, you can checkout the list of charms that are still in development/awaiting approval, or you can download the totally awesome Minecraft charm. Lets do that! You remember our Local Charm Repository? Well, all we need to do is use the charm tool to fetch the latest version of the Minecraft charm!</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">charm get minecraft ~/Projects/charms/oneiric/minecraft</pre></div></div>

<p>Remember, that&#8217;s the absolute path to your Local Charm Repository, so if you changed it make sure use whatever it&#8217;s set to. Furthermore, all this does is pull down the charm and place it in a minecraft folder, under the Local Charm Repository. Now that you have the charm, you&#8217;ll need to setup the cloud for deployment. This is done via bootstrapping, which will create an instance on the cloud that acts as the gatekeeper and manager for all services and charms you deploy with Juju to the cloud.</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">juju bootstrap</pre></div></div>

<p>Bootstrapping can take up to five minutes to complete and it runs in the background. So even though the command completed doesn&#8217;t always mean the environment is ready! You can check on the Juju environment anytime by issuing the <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">juju status</span> command. Output, when bootstrapping is completed, will look like this</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;"><span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">18</span>:<span style="">27</span>,<span style="">464</span> INFO Connecting to environment.
machines:
  <span style="">0</span>: <span class="br0">&#123;</span>dns-name: ec2-<span style="">50</span>-<span style="">19</span>-<span style="">58</span>-<span style="">136</span>.compute-<span style="">1</span>.amazonaws.com, instance-id: i-45bdd926<span class="br0">&#125;</span>
<span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">18</span>:<span style="">28</span>,<span style="">408</span> INFO 'status' command finished successfully</pre></div></div>

<p>So we&#8217;ve got one machine (our bootstrap!) and it&#8217;s all ready to rock and roll. So, lets deploy this badboy</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">juju deploy --repository ~/Projects/charms local:minecraft</pre></div></div>

<p>When that command completes, it&#8217;ll send a request to the bootstrap machine to spin up a minecraft service (just so you know, charms that are deployed are called services). It&#8217;s almost ready to rock and roll! Check on the machine periodically using the <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">juju status</span> command, eventually you&#8217;ll end up with the following:</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;"><span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">28</span>:<span style="">14</span>,<span style="">584</span> INFO Connecting to environment.
machines:
  <span style="">0</span>: <span class="br0">&#123;</span>dns-name: ec2-<span style="">50</span>-<span style="">19</span>-<span style="">58</span>-<span style="">136</span>.compute-<span style="">1</span>.amazonaws.com, instance-id: i-45bdd926<span class="br0">&#125;</span>
  <span style="">1</span>: <span class="br0">&#123;</span>dns-name: ec2-<span style="">50</span>-<span style="">17</span>-<span style="">53</span>-<span style="">192</span>.compute-<span style="">1</span>.amazonaws.com, instance-id: i-fdb8dc9e<span class="br0">&#125;</span>
services:
  minecraft:
    charm: local:oneiric/minecraft-<span style="">1</span>
    exposed: false
    relations: <span class="br0">&#123;</span><span class="br0">&#125;</span>
    units:
      minecraft/<span style="">0</span>:
        machine: <span style="">1</span>
        open-ports:
        public-address: ec2-<span style="">50</span>-<span style="">17</span>-<span style="">53</span>-<span style="">192</span>.compute-<span style="">1</span>.amazonaws.com
        relations: <span class="br0">&#123;</span><span class="br0">&#125;</span>
        state: started
<span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">28</span>:<span style="">15</span>,<span style="">711</span> INFO 'status' command finished successfully</pre></div></div>

<p>As is shown, there are two machines now, bootstrap and the newly created minecraft machine. We have one service running, minecraft, and a bunch of other information, most importantly the state and public-address. As is shown, the machine is started! So everything went A-OK! All that needs to happen now: Expose the server to the outside world. Exposing simply opens the appropriate ports for a service, if required. In this case we want our server to be available to the rest of the world so they can play! You can do this by running</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">juju expose minecraft</pre></div></div>

<p>Running <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">juju status</span> one more time will show that the Minecraft service is now exposed and ready to rock and roll</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;"><span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">32</span>:<span style="">18</span>,<span style="">630</span> INFO Connecting to environment.
machines:
  <span style="">0</span>: <span class="br0">&#123;</span>dns-name: ec2-<span style="">50</span>-<span style="">19</span>-<span style="">58</span>-<span style="">136</span>.compute-<span style="">1</span>.amazonaws.com, instance-id: i-45bdd926<span class="br0">&#125;</span>
  <span style="">1</span>: <span class="br0">&#123;</span>dns-name: ec2-<span style="">50</span>-<span style="">17</span>-<span style="">53</span>-<span style="">192</span>.compute-<span style="">1</span>.amazonaws.com, instance-id: i-fdb8dc9e<span class="br0">&#125;</span>
services:
  minecraft:
    charm: local:oneiric/minecraft-<span style="">1</span>
    exposed: true
    relations: <span class="br0">&#123;</span><span class="br0">&#125;</span>
    units:
      minecraft/<span style="">0</span>:
        machine: <span style="">1</span>
        open-ports: <span class="br0">&#91;</span><span style="">25565</span>/tcp<span class="br0">&#93;</span>
        public-address: ec2-<span style="">50</span>-<span style="">17</span>-<span style="">53</span>-<span style="">192</span>.compute-<span style="">1</span>.amazonaws.com
        relations: <span class="br0">&#123;</span><span class="br0">&#125;</span>
        state: started
<span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">32</span>:<span style="">19</span>,<span style="">558</span> INFO 'status' command finished successfully</pre></div></div>

<p>Now, the machine is available on port 25565 (the default port!) Try to connect and this is what you get:</p>
<div class="wp-caption aligncenter" style="width: 429px"><img class="  " title="Minecraft" src="http://i.imgur.com/IB0In.png" alt="" width="419" height="250" /><p class="wp-caption-text">I would have written this post sooner, but I was too busy &quot;testing&quot;</p></div>
<p>Now, I know what you&#8217;re thinking. &#8220;But Marco, I want to configure the server, now I have to log in and configure it.&#8221; Nope! Juju Charms are configurable! To get a list of configuration options just run <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">juju get minecraft</span> which <em>should</em> produce the following list</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;"><span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">31</span>:06,<span style="">718</span> INFO Connecting to environment.
charm: local:oneiric/minecraft-<span style="">1</span>
service: minecraft
settings:
    allow-nether:
        description: Allow generation of the nether, true or false
        type: string
        value: 'True'
    difficulty:
        description: Level of complexity <span style="">1</span>-<span style="">5</span>
        type: int
        value: <span style="">1</span>
    level-name:
        description: Name of the level, will be generated if it doesn't exist
        type: string
        value: world
    max-players:
        description: Maximum players allowed on the server
        type: int
        value: <span style="">10</span>
    motd:
        description: Message of the day displayed to users in the server list
        type: string
        value: Juju Powered Minecraft Server
    port:
        description: Port for which Minecraft runs upon
        type: int
        value: <span style="">25565</span>
    spawn-animals:
        description: Generate animals, true or false
        type: string
        value: 'True'
    spawn-monsters:
        description: Generate monsters, true or false
        type: string
        value: 'True'
<span style="">2011</span>-<span style="">11</span>-<span style="">16</span> <span style="">13</span>:<span style="">31</span>:07,<span style="">473</span> INFO 'config_get' command finished successfully</pre></div></div>

<p>At this point you can update the configuration at any time using juju set minecraft option=value option2=value [...] an example to change the maximum players and the MOTD would be</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">juju set minecraft motd=&quot;Juju I love you&quot; max-players=<span style="">5</span></pre></div></div>

<p>And in no time flat you&#8217;ll see something like this</p>
<p style="text-align: center;"><img class="aligncenter" title="Juju!" src="http://i.imgur.com/DKp7i.png" alt="" width="419" height="250" /></p>
<p style="text-align: left;">That about sums up getting started with launching Minecraft in Juju. It may seem like a lot but the majority of this was a one time setup. This is also just the tip of the iceburg when it comes to charms and Juju. I <em>strongly</em> recommend checking out <a href="http://juju.ubuntu.com" target="_blank">their temporary site</a> and asking questions in the <a href="https://juju.ubuntu.com/FrontPage#Ask" target="_blank">#juju room on freenode</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2011/11/deploying-the-minecraft-charm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>40 hours later</title>
		<link>http://marcoceppi.com/2011/09/40-hours-later/</link>
		<comments>http://marcoceppi.com/2011/09/40-hours-later/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 14:12:27 +0000</pubDate>
		<dc:creator>Marco Ceppi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://marcoceppi.com/?p=194</guid>
		<description><![CDATA[I was disappointed that I missed the Ondina launch for the 6th, so I decided to channel that disappointment into coding power! Little did I know that would take me ...]]></description>
			<content:encoded><![CDATA[<p>I was disappointed that I missed the Ondina launch for the 6th, so I decided to channel that disappointment into coding power! Little did I know that would take me on a 40 hour binge of coding and internet frolicking. I feared the worst this morning after I awoke: &#8220;What disastrous code did I write?!&#8221; Surprisingly, aside from quite a few profane variable names, the logic was sound. In fact I produced a lot of code, but written in a different way that I would have normally produced. It&#8217;s like reading over code by another developer where you agree with how they wrote it, but would have written it differently yourself.</p>
<p>There were some things that needed fixing. When I reviewed the commit messages this morning I had a hard time figuring out exactly <em>what</em> I had written. I knew it was for the DNS administration section because I remember making the video for it at 3AM. However, the commit messages would have you think otherwise:</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">34tf000 DELETE DELETE DELETE
cfdae81 I'M A TIGER!!!
5a1f065 DUHHH YOU NEED MORE AJAX
895612f I'M HAVING A GOOD TIME!!!!
d851f46 DON'T STOP ME NOW!
45fe891 Integration of API shit
e4cda3b Moving forward to <span style="">0.5</span> as when DNS completes we'll be a <span style="">0.5</span> release
29e6061 No ID is required
3b58f33 Added updated styles for controls and dropdown
ee0677b Created DNS module and basis
77c08aa Merge branch 'dev' of code.ondina.co:ondina/cp into dev
620cf7e small comment
ac3fdc9 affects-me-button for the outstanding reports list in the feedback form?
9b3639f fixed the input class for width
<span style="">7700967</span> Fixed weird submit buttons</pre></div></div>

<p>These commits seem to correspond to, what Last.FM confirms, is an over hour long repeat of Queen &#8211; Don&#8217;t stop me now.</p>
<div id="attachment_195" class="wp-caption aligncenter" style="width: 554px"><a href="http://marcoceppi.com/wp-content/uploads/2011/09/Selection_171.png"><img class="size-large wp-image-195 " title="Don't stop me now" src="http://marcoceppi.com/wp-content/uploads/2011/09/Selection_171-680x279.png" alt="" width="544" height="223" /></a><p class="wp-caption-text">Not even I could stop me now.</p></div>
<p>After doing some rebase magic in Git these commit messages are actual useful. The last cleanup was with code comments. Interestingly enough I was compelled to write detailed descriptions of what I was doing on every other line &#8211; as if alert and awake self couldn&#8217;t figure it out!</p>
<p>&nbsp;</p>
<div id="attachment_196" class="wp-caption aligncenter" style="width: 620px"><a href="http://marcoceppi.com/wp-content/uploads/2011/09/Selection_172.png"><img class="size-full wp-image-196" title="Code" src="http://marcoceppi.com/wp-content/uploads/2011/09/Selection_172.png" alt="" width="610" height="122" /></a><p class="wp-caption-text">Just one of the many multi-line comments</p></div>
<p>In all I had a lot of fun working with that much code in that amount of time. I don&#8217;t plan on doing this again for quite some time but I think it would be fun to do again. It&#8217;s amazing how energizing not sleeping can be.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoceppi.com/2011/09/40-hours-later/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

