<?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>[boomshadow.net~]#</title>
	<atom:link href="http://boomshadow.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://boomshadow.net</link>
	<description>Tech, filmmaking, &#38; thoughts.</description>
	<lastBuildDate>Sat, 13 Apr 2013 12:45:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Backing Up and Restoring MySQL Databases</title>
		<link>http://boomshadow.net/tech/backup-restore-mysql-databases/</link>
		<comments>http://boomshadow.net/tech/backup-restore-mysql-databases/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 13:02:30 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=1072</guid>
		<description><![CDATA[Backing up your data is a critical aspect of maintaining any system. Think how devastating it would be if you woke up and it was gone one day? That is why I'll show you how to backup (export) your MySQL databases and how to restore (import) them back.]]></description>
				<content:encoded><![CDATA[<div id="attachment_1115" class="wp-caption alignleft" style="width: 160px"><a href="http://boomshadow.net/wp-content/uploads/2012/11/mysql-logo.png"><img src="http://boomshadow.net/wp-content/uploads/2012/11/mysql-logo-150x150.png" alt="MySQL Logo - Copyright 2012 Oracle and/or its affiliates. All rights reserved. Used by permission." width="125" height="125" class="size-thumbnail wp-image-1115" /></a><p class="wp-caption-text">Copyright 2012 <a href="http://www.oracle.com" target="_blank">Oracle</a> and/or its affiliates. All rights reserved. Used by permission.</p></div>
<h2><a name="export"></a><a href="#export">Backing up / Exporting</a></h2>
<p>The best advice I ever heard is: if your data is important to you at all, then you should back it up. What would happen if you suddenly lost it? How devastating would it be? Backing up is such a simple step, and can potentially save you many hours of work, stress, and possibly your job (if the data is that important).</p>
<p>To backup a database, we simply need to export the database. To restore it, we need to import the database. I&#8217;ll show you how to do both using a few different methods:</p>
<h4><a name="export-from-cpanel"></a><a href="#export-from-cpanel">Backing up a Single Database from within cPanel</a></h4>
<p>In cPanel, you can download a copy of your database by simply logging into cPanel and go to the &#8216;Backup&#8217; section.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/11/cPanel-backup-section.jpg"><img src="http://boomshadow.net/wp-content/uploads/2012/11/cPanel-backup-section-300x234.jpg" alt="cPanel-backup-section" title="cPanel-backup-section" width="300" height="234" class="aligncenter size-medium wp-image-1077" /></a></p>
<p>Then click on the link for your database name. It will prompt your to download your database in a compressed archive (tar.gz) to your local computer.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/11/database-backup.jpg"><img src="http://boomshadow.net/wp-content/uploads/2012/11/database-backup-300x153.jpg" alt="database-backup" title="database-backup" width="300" height="153" class="aligncenter size-medium wp-image-1079" /></a></p>
<h4><a name="export-from-command-line"></a><a href="#export-from-command-line">Backing up a single database with command line</a></h4>
<p>If you prefer the command line, you can backup your database using a single command:</p>
<pre>
mysqldump -Q --add-drop-table your_database_name > file.sql
</pre>
<h4><a name="export-all"></a><a href="#export-all">Backing up all databases to separate files</a></h4>
<p>If you would like to play it safe or know that you have many different databases that are all important, then you can run a &#8216;for&#8217; loop to individually dump all databases to their own file:</p>
<p>Fist create a directory for all the dumps to go and create an empty list of all the database names:</p>
<pre>
mkdir /root/database_backups ; touch /root/database_backups/list-of-databases
</pre>
<p>Then, run the for loop to dump the databases and generate the list of database names:</p>
<pre>
for db in `mysql -e 'show databases' | grep -v Database` ; do mysqldump -Q --add-drop-table $db > /root/database_backups/$db.sql &#038;&#038; echo $db >> /root/database_backups/list-of-databases ; done
</pre>
<p></p>
<h2><a name="restore"></a><a href="#restore">Restoring / Importing</a></h2>
<p>In the event that you&#8217;ve got missing data, corrupt tables, or generally something went wrong, don&#8217;t worry! You have backups that you can restore from. Here&#8217;s how you restore that databases back from the exports you made above.</p>
<h4><a name="restore-from-phpmyadmin"></a><a href="#restore-from-phpmyadmin">Restoring from phpMyAdmin</a></h4>
<p>First off, you&#8217;ll need to log into phpMyAdmin. From cPanel, it is found in &#8216;Databases&#8217; section.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/11/phpMyAdmin-in-cpanel.jpg"><img src="http://boomshadow.net/wp-content/uploads/2012/11/phpMyAdmin-in-cpanel-300x183.jpg" alt="phpMyAdmin-in-cpanel" title="phpMyAdmin-in-cpanel" width="300" height="183" class="aligncenter size-medium wp-image-1081" /></a></p>
<p>Once inside, you&#8217;ll select your database on the left-hand side. This is the database that you want to import that data into.</p>
<p><strong>*** Warning:</strong> This will overwrite your existing tables.</p>
<p>Once you have the database selected, click on the &#8216;import&#8217; tab at the top.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/11/phpMyAdmin-import.jpg"><img src="http://boomshadow.net/wp-content/uploads/2012/11/phpMyAdmin-import-300x232.jpg" alt="phpMyAdmin-import" title="phpMyAdmin-import" width="300" height="232" class="aligncenter size-medium wp-image-1082" /></a></p>
<p>Click &#8216;Browse&#8217; and navigate to the file on your local computer.</p>
<p>Look over the various options. Most times, you can just leave them as is. If you don&#8217;t know what the options are, I&#8217;d advise just to leave them set to default.</p>
<p>Hit &#8216;Go&#8217;.</p>
<h4><a name="restore-from-command-line"></a><a href="#restore-from-command-line">Restore a single database from command line</a></h4>
<p>If you are similar to me, you might prefer a command line. I think its much easier to import it this way as the command is so short &#038; simple:</p>
<p>If you are logged in as root, simply run:</p>
<pre>
mysql db_name < file.sql
</pre>
<p>Make note of the direction that the arrow (greater-than sign) is pointing. This indicates the direction where the data is going. In this case, the arrow points to the left towards the MySQL database name. This indicates that the data is being imported FROM the .sql file in-TO the server's MySQL database, which is exactly what we want.</p>
<p>If you don't have root access, you can still import but the command requires a couple more flags and that you know the database credentials:</p>
<pre>
mysql -p -u db_username db_name < file.sql
</pre>
<p>It'll prompt you for that user's password. Enter it in and the import will begin.</p>
<h4><a name="restore-all"></a><a href="#restore-all">Restore all databases from command line</a></h4>
<p>Remember that command we did to export all databases to their own separate dump files? Well, lets say you wanted to easily import all of them back in for whatever reason. We just need to run another simple 'FOR' loop in order to get them back in. Basically, we are doing an individual database import, but for each database that is in that 'list-of-databases' that we generated earlier:</p>
<pre>
for db in `cat /root/database_backups/list-of-databases` ; do mysql $db < /root/database_backups/$db.sql ; done
</pre>
<p>Once that finishes, you'll have all your exported databases fully restored back as they once were: Fast, safe, and easy!</p>
<h2><a name="thoughts"></a><a href="#thoughts">Final Thoughts</a></h2>
<p>If you have a huge database, running a mysqldump can cause your entire website to go down. This is because you are locking the tables during the dump (cPanel backups can do the same thing). If you are worried about this, be sure to perform your backup export during a time of low site traffic. With that said, SQL backups are a great idea. An equally good idea is to occasionally try to restore your backups (to make sure they are good). Simply restore them to a different database name if you don’t want to overwrite an existing database.</p>
<h2><a name="notes"></a><a href="#notes">Note about this article</a></h2>
<p>This article is one I had written for the ServInt blog as part of the 'Tech bench' series. You can view it on the <a href="http://blog.servint.net/2012/12/07/the-tech-bench-backing-up-and-restoring-mysql-databases/" title="ServInt Blog" target="_blank">ServInt blog here</a>. They are using my article with my permission.</p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/backup-restore-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel&#8217;s Webinar on WHM 11.34 features</title>
		<link>http://boomshadow.net/tech/cpanel-11-34-features-webinar/</link>
		<comments>http://boomshadow.net/tech/cpanel-11-34-features-webinar/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 19:11:09 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[archiving]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[webdisk]]></category>
		<category><![CDATA[webinar]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=1054</guid>
		<description><![CDATA[If you didn't catch cPanel webinar on WHM 11.34 features, that's okay. I'll give you a quick rundown of some of the great new features such as: email auto-config, webdisk, and email archive. I'll also share some of the exciting news/gossip concerning future releases!]]></description>
				<content:encoded><![CDATA[<p><a href="http://boomshadow.net/wp-content/uploads/2012/11/cp-logo.png"><img src="http://boomshadow.net/wp-content/uploads/2012/11/cp-logo.png" alt="cPanel logo" title="cPanel logo" width="60" height="52" class="alignleft size-full wp-image-1057" /></a></p>
<p>If you didn&#8217;t have a chance to catch today&#8217;s cPanel webinar on the new WHM 11.34 features you missed out. Surprisingly, the entire webinar lasted a mere 30 minutes and the features portion wasn&#8217;t, in my mind, the most interesting section. However, it had some good information on some of the more sought after features. I took note of the three that caught my eye the most:</p>
<h4>Email auto-config scripts</h4>
<p>One of the biggest changes I&#8217;ve always felt was needed was updating the email auto-configs scripts. cPanel has had this feature for quite some time, so its nothing new. The problem was that for the longest time, neither was what it supported. Up until just a few months ago, cPanel supported up to Outlook 2000. These auto-configuration scripts made life easier, when they would actually work. Now, that will change. Although the interface may not specifically say it, the latest cPanel Mail Client Auto Configuration scripts are tested to work with modern OS and email clients such as: Mac Mountain Lion and Windows Mail clients for 2010. Oh happy day!</p>
<h4>Webdisk</h4>
<p>The Webdisk got an update as well. Webdisk is another feature thats been around for some time, but had grown outdated to the point, again in my opinion, useless. Not anymore! Now, it has auto-config scripts for modern OS&#8217;s and even for mobile devices: iPad, iPhone, &#038; Android. Mobile support is accomplished by referring you to a free app: WebDAV Navigator. I tested it out, and it works really well. Essentially, it has the power to turn your server into a private drop disk, complete with different user permission levels. You can setup as many webdisk user accounts as you like, give some of them read-only permission, even set them all to have the same directory, and bam! You have a community dropbox area on your server. I found it easy to setup, easy to use, fast, intuitive, and highly accessible for my phone. Directly from the App, it prompted me to upload photos from my photo library or take a new photo. I may start using it over FTP in many situations, such as quick blogging. This new version really brings Webdisk back into my everyday usage.</p>
<h4>Email Archiving</h4>
<p>Email archiving is a recurring feature that I&#8217;ve seen over the years. I even <a href="http://boomshadow.net/tech/forward-all-emails/" title="How to forward/archive all email for a user" target="_blank">wrote up an article</a> for a custom way to set this up with Exim. My article is happily now outdated and unnecessary. cPanel has done a great job of doing what my method did and better! It has custom levels of saving email for your personal preference or for compliance with your countries laws. You can tell it how log to save what types of email. For example, you can have it save all outgoing messages for 30 days while all incoming gets saved for 3 months. The archive is IMAP and Webmail accessible, or you can download a backup from within cPanel.</p>
<p>To enable email archiving, go to &#8216;Tweak Settings&#8217; inside of WHM.</p>
<p>    Note: Email archiving DOES count towards individual user&#8217;s disk quotas.<br />
    Note 2: Email archiving settings can be transferred with an account when doing WHM to WHM transfers, but both servers must have WHM 11.34. </p>
<h3>Q&#038;A</h3>
<p>As much as I love the above features, I actually think the Q&#038;A section yielded far more interesting information, but I suppose more in the terms of answering cPanel gossip:</p>
<h4>1) 11.34 going to &#8216;Stable&#8217; release</h4>
<p>The new 11.34 is going to be moved to the next release Tier (Stable) in as soon as the next week or the week after. This means ever more clients will be affected. If you work in or around the hosting side of things, I&#8217;m sure you&#8217;ve had quite the influx of customers contacting you saying that their server is telling them that their MySQL or Operating System is out of date. Well, with 11.34 going to &#8216;Stable&#8217; release, prepare to be surged with even more contacts. Thankfully, where I work, we&#8217;ve got things down to a science and upgrading either the OS or MySQL is easy and second nature.</p>
<h4>2) New Interface moving to cPanel</h4>
<p>cPanel confirmed that they are pushing this new feature rich visual WHM interface out to the individual customer cPanel interface in the next version (11.36). You will want to be sure you are well versed in it&#8217;s navigation and new features. You&#8217;ll probably have a bunch of your customers asking you some questions about the &#8216;new look&#8217; when that release goes out.</p>
<h4>3) Mobile support</h4>
<p>The next version will see WHM have iPhone and Android support. This will be accomplished NOT through an App, but rather through HTML5 and CSS. cPanel&#8217;s head developer put explained that with a fabulous reason: &#8230;.if we create an iPhone/iPad app, that will leave Android behind. If we make an Android app, it will leave iOS behind. If the development is done through hooks and device detection in HTML5, they can have a mobile compatible solution for ALL devices, even Blackberry.</p>
<h4>4) Regular Updates</h4>
<p>cPanel has stated that they are moving to a &#8220;three versions-per-year&#8221; release system. The next one (11.36) will be coming out at the very beginning of next year. Thats a very quick turn-around, but I&#8217;m confident they can do it while continuing to release exciting and well developed feature like they have in 11.34. Their newly organized animal named developer teams and new cPanel Feature request/discussion system (http://features.cpanel.net/) will go a long way to seeing that accomplished.</p>
<h4>Conclusion</h4>
<p>I hope you find this information helpful. If you missed out on the Webinar and want to see it, no worries. cPanel will have it posted to their Video page later end of this week: <a href="http://videos.cpanel.net/category/webinars/ " title="cPanel's Webinar Videos" target="_blank">http://videos.cpanel.net/category/webinars/ </a></p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/cpanel-11-34-features-webinar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to still get a free DynDNS account</title>
		<link>http://boomshadow.net/tech/how-to-still-get-a-free-dyndns-account/</link>
		<comments>http://boomshadow.net/tech/how-to-still-get-a-free-dyndns-account/#comments</comments>
		<pubDate>Thu, 18 Oct 2012 14:01:59 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[d-link]]></category>
		<category><![CDATA[dynamic dns]]></category>
		<category><![CDATA[dyndns]]></category>
		<category><![CDATA[loopholes]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=1030</guid>
		<description><![CDATA[DynDNS used to be the largest offeror for free Dynamic DNS until they stopped new free accounts and only did paid ones. Here's how to still get a free account.]]></description>
				<content:encoded><![CDATA[<p><a href="http://boomshadow.net/wp-content/uploads/2012/10/dynamic-dns.png"><img src="http://boomshadow.net/wp-content/uploads/2012/10/dynamic-dns-150x150.png" alt="" title="Dynamic DNS" width="100" height="100" class="alignleft size-thumbnail wp-image-1044" /></a><br />
<h4>What Happened to DynDNS</h4>
<p>Sometime around November of last year (2011), the popular Dynamic DNS provider, DynDNS severely limited their free account offerings (See reference link #1 at the bottom of the page). They eliminated new free accounts from being created, citing that users could still get the 14 day pro trial. Pre-existing free accounts were grandfathered in, but with 2 very important restrictions placed on them:</p>
<ol>
<li>Limited to 2 hostnames</li>
<li>They will expire if not updated every 30 days</li>
</ul>
<p>Many existing free users found that they were dropped down to two while some had their accounts expired because they didn&#8217;t do the update within a month. Needless to say, this upset quite a few people and sparked much debate (See reference links #2,3,&#038; 4 at the bottom of the page). I understand why they did it; they wanted to increase their profits. However, the problem was that there were many how-to guides out there that referenced <a href="http://dyn.com/dns/" target="_blank">DynDNS&#8217;s</a> free service; there were many hardware devices such as routers and IP cameras that were hard-wired to use <a href="http://dyn.com/dns/" target="_blank">DynDNS</a>.</p>
<p>Today, I&#8217;m going to show you a loophole that still allows for you to get a free DynDNS account.</p>
<h4>The Discovery</h4>
<p>While exploring the options of my D-Link router, I came across Dynamic DNS page. Normally, I skip straight to the credentials portion at the bottom where I&#8217;ve already got my pre-existing DynDNS free account setup. However, I see that D-Link offers &#8216;their own&#8217; Dynamic DNS. See image: <div id="attachment_1033" class="wp-caption aligncenter" style="width: 310px"><a href="http://boomshadow.net/wp-content/uploads/2012/10/D-Link-router.png"><img src="http://boomshadow.net/wp-content/uploads/2012/10/D-Link-router-300x196.png" alt="Picture of the D-Link router admin area where they offer their own Dynamic DNS" title="D-Link-router" width="300" height="196" class="size-medium wp-image-1033" /></a><p class="wp-caption-text">Click image to see larger view</p></div>
<p>I was curious to see if their service was any good and what limitations hey placed. Their Dynamic DNS is offered at: <a href="http://www.dlinkddns.com/" target="_blank">http://www.dlinkddns.com/</a></p>
<p>I noticed something very interesting when poking around the FAQ and How-to. They say your credentials are usable at www.dyndns.com. See attached screen shot: <div id="attachment_1035" class="wp-caption aligncenter" style="width: 310px"><a href="http://boomshadow.net/wp-content/uploads/2012/10/dlink-faq.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/10/dlink-faq-300x169.gif" alt="Screenshot of D-Link&#039;s FAQ for their Dynamic DNS" title="D-Link FAQ" width="300" height="169" class="size-medium wp-image-1035" /></a><p class="wp-caption-text">Click image to see larger view</p></div>
<p>To me, this says that D-Link&#8217;s service is merely a reselling of DynDNS&#8217;s service.</p>
<h4>Confirmation</h4>
<p>I created my account and then immediately popped over to DynDNS&#8217;s site to see if my credentials actually worked. They did! See image: <div id="attachment_1038" class="wp-caption aligncenter" style="width: 310px"><a href="http://boomshadow.net/wp-content/uploads/2012/10/dyndns-free.png"><img src="http://boomshadow.net/wp-content/uploads/2012/10/dyndns-free-300x196.png" alt="Screenshot of successful creation of free DynDNS account" title="DynDNS Free account" width="300" height="196" class="size-medium wp-image-1038" /></a><p class="wp-caption-text">Click image to see larger view</p></div>
<p>In fact, not only did I have a free DynDNS account, I actually have access to ANOTHER free hostname. As you see in the above picture, it says I&#8217;m using 0 of 1 hostname, even though I&#8217;m already using one. D-Link&#8217;s FAQ only has one question/answer and it states that you can only have 1 single hostname. <a href="https://www.dlinkddns.com/faq" target="_blank">https://www.dlinkddns.com/faq</a>. Well, I&#8217;m here to tell you apparently that&#8217;s not true. You can use DynDNS&#8217;s site interface to create another hostname; simply click on &#8220;Add New Hostname&#8221; and you&#8217;ll be taken to the setup screen. See screenshot: <div id="attachment_1040" class="wp-caption aligncenter" style="width: 293px"><a href="http://boomshadow.net/wp-content/uploads/2012/10/dyndns-another-hostname.png"><img src="http://boomshadow.net/wp-content/uploads/2012/10/dyndns-another-hostname-283x300.png" alt="DynDNS free account gives me access to an additional hostname" title="DynDNS another hostname" width="283" height="300" class="size-medium wp-image-1040" /></a><p class="wp-caption-text">Click image to see larger view</p></div>
<p>I can tell you that my legitimate, free, grandfathered-in DynDNS account doesn&#8217;t have that option. Also, once I add another hostname, the link for creating more hostnames goes away.</p>
<p>I have a few notes of interest: Using D-Link&#8217;s DynamicDNS is probably only for people who purchase and use their D-Link brand routers, though it doesn&#8217;t actually state that anywhere. I don&#8217;t know if these types of accounts are applicable to the 30 days update rule. I would assume so, as their assumption when they created this deal with D-Link was probably that the accounts would be used for that Dynamic DNS section in the router. This means that all active accounts will be on auto-update from the router.</p>
<h4>Conclusion</h4>
<p>In conclusion, you can use D-Link as a proxy for creating not just one but TWO free dynamic hostnames from DynDNS. So long as you keep them updated every 30 days, they should be good. I&#8217;ve been using mine to keep a home server public facing using ddclient as my update tool. I know this loophole is one that may close to new users as well, and then at that time I&#8217;ll have to branch out to other Dynamic DNS providers; but for now, I can keep creating new hostnames if need be, just use a different email account to sign up at <a href="http://www.dlinkddns.com/" target="_blank">D-Link&#8217;s site.</a></p>
<h2>Personal note:</h2>
<p>I don&#8217;t abuse this system. I only have need of 2 Dynamic hostnames, and that&#8217;s all I have made: my grandfathered-in account and the D-Link account. However, I like to know that I have means to create more if need be. Options are nice. </p>
<h4>References</h4>
<ol>
<li><a href="http://www.dyncommunity.com/questions/21580/from-dyn-what-happened-to-free-accounts.html" target="_blank">http://www.dyncommunity.com/questions/21580/from-dyn-what-happened-to-free-accounts.html</a></li>
<li><a href="http://tech.slashdot.org/story/11/12/17/0141213/dyndns-cuts-back-free-dns-options" target="_blank">http://tech.slashdot.org/story/11/12/17/0141213/dyndns-cuts-back-free-dns-options</a></li>
<li><a href="http://www.turnkeylinux.org/forum/general/20100930/dyndns-alternative" target="_blank">http://www.turnkeylinux.org/forum/general/20100930/dyndns-alternative</a></li>
<li><a href="http://michigantelephone.wordpress.com/2012/01/15/dyndns-mostly-discontinues-free-dns-service/" target="_blank">http://michigantelephone.wordpress.com/2012/01/15/dyndns-mostly-discontinues-free-dns-service/</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/how-to-still-get-a-free-dyndns-account/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>SSH Language Localization</title>
		<link>http://boomshadow.net/tech/ssh-language-localization/</link>
		<comments>http://boomshadow.net/tech/ssh-language-localization/#comments</comments>
		<pubDate>Fri, 08 Jun 2012 00:09:28 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=982</guid>
		<description><![CDATA[Ever wanted to change the local language in terminal on your server? This article will show you how! Farsi, here I come!]]></description>
				<content:encoded><![CDATA[<p># Updates:<br />
# <h7 class="updated">06/20/12</h7> | Revised for more details</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/06/translation-service-languages.jpg"><img src="http://boomshadow.net/wp-content/uploads/2012/06/translation-service-languages-150x150.jpg" alt="" title="Flags of the World" width="75" height="75" class="alignleft size-thumbnail wp-image-985" /></a><br />
When you get a new VPS, you&#8217;ve got a powerful new system that is a server all unto yours. There is quite a bit of customization you can do to make it suite your needs. Today, I am going to show you how to change the language of your SSH terminal.</p>
<p>Changing your VPS language setting allows you to type and sort by special characters not available in English. But more than that, it is language localization. You pick not only your language, but your country as well. This allows the server to reset date formats, use of commas and points in numbering systems, display options, etc. Bear in mind that changing VPS language settings won’t translate things such as file names or contents of files.</p>
<p>In addition, most GNU programs on your server use localization, wherein they customize their interface based on the VPS language localization settings. Intelligent applications using internationalization can greatly reduce the difficulty of interfacing with a server for non-English speakers.</p>
<p>While logged into your server via SSH, you can see what the current language setting is by running the following command:</p>
<pre>locale</pre>
<p>The output of the command will be something like this:</p>
<pre>
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
</pre>
<p>en_US is the language code (English) followed by the country code (United States).</p>
<p>To change the language of your system–as well as all the other parameters above–you will modify the LANG. To see list of all the supported locales, run:</p>
<pre>locale -a</pre>
<p>You’ll notice that names on the list are named with the format: Language_Country. Simply looks for the two letter code for language and country that you want. For example, if you want to set it to Spanish/Puerto Rico, you would select: es_PR. If you want to set it to Farsi, you would use: fa_IR</p>
<p>Check out this handy guide to look up the right code for your language and location: <a href="http://lh.2xlibre.net/locales/" target="_blank">http://lh.2xlibre.net/locales/</a></p>
<p>Once you have picked out the language and location you want to use, you will need to edit the following file:</p>
<pre>/etc/sysconfig/i18n</pre>
<p>And then simply modify the line the reads something like this:</p>
<pre>LANG="en_US.UTF-8"</pre>
<p>You will need to close your SSH session and restart a new session for the changes to take effect.</p>
<p>*Note: If you are using Terminal on a Mac, you may need to also type the following for your session to load the updated configuration:</p>
<pre>su -</pre>
<p>If you are having trouble getting these changes to take effect and show up when you initiate another locale command, then check that the default language is not set. In Nano, look at the entire file. Which lines are preceded by hash marks (#)? Those lines are designated as “comments” and not read by programs accessing the file. For example:</p>
<pre>
#LANG="en_US.utf8"
#SUPPORTED="en_US.UTF-8:en_US:en"
#SYSFONT="latarcyrheb-sun16"
LANG="C"
</pre>
<p>In this example, the LANG will always be the default (C). To change this, switch the line that is read by erasing and creating hash marks:</p>
<pre>
#LANG="en_US.utf8"
#SUPPORTED="en_US.UTF-8:en_US:en"
#SYSFONT="latarcyrheb-sun16"
LANG="C"
</pre>
<p>Now the session configuration will be based on the first line–not the fourth–and you can replace the language/location information as desired.</p>
<h4>Example:</h4>
<p>Here is a &#8216;Before&#8217; language change:<br />
<a href="http://boomshadow.net/wp-content/uploads/2012/06/SSH-English.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/06/SSH-English.gif" alt="" title="SSH-English" width="584" height="328" class="aligncenter size-full wp-image-990" /></a></p>
<p>Here is an &#8216;After&#8217; language change (to Farsi):<br />
<a href="http://boomshadow.net/wp-content/uploads/2012/06/SSH-Farsi.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/06/SSH-Farsi.gif" alt="" title="SSH-Farsi" width="601" height="327" class="aligncenter size-full wp-image-991" /></a></p>
<h2>Note about this article</h2>
<p>This article is one I had written for the ServInt blog as part of the &#8216;Tech bench&#8217; series. You can view it on the <a href="http://blog.servint.net/2012/06/08/customizing-language-vps/" title="ServInt Blog" target="_blank">ServInt blog here</a>. They are using my article with my permission.</p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/ssh-language-localization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Key Authentication</title>
		<link>http://boomshadow.net/tools-utilities/ssh-key-authentication/</link>
		<comments>http://boomshadow.net/tools-utilities/ssh-key-authentication/#comments</comments>
		<pubDate>Fri, 11 May 2012 15:00:34 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tools-Utilities]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=915</guid>
		<description><![CDATA[If you have ever wanted to log into SSH with key authentication on your cPanel server rather than password authentication, this article will show you how.]]></description>
				<content:encoded><![CDATA[<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/3d-keys.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/3d-keys-150x150.gif" alt="" title="3D Keys" width="150" height="150" class="alignleft size-thumbnail wp-image-930" /></a>One of the critical parts of administrating your server is by logging into SSH as root. With the command line, you can roll up the proverbial sleeves and really dig in: installing software, changing system configuration, investigating problems, etc&#8230; But what about the security concern of logging into a system with all that control and you&#8217;ve only got a password? This is where Key authentication comes in.</p>
<p>Instead of typing in a password, you can generate an encrypted key pair that is used to authenticate you when logging in. The server will look to see if you have this key file on your computer instead. There is a good little overview of the process from cPanel <a href="http://www.cpanel.net/2007/06/using-public-key-authentication-for-ssh-and-transfers.html" target="_blank">here</a>.</p>
<p>This is a great security measure to implement as it allows you to control which systems can access your server. You can also turn password authentication off and your server will be immune to SSH password attacks. This is major step in security hardening and is highly advised.</p>
<h4>Generating the Keys</h4>
<p>To get started, we are going to need to generate a Key pair on your computer (the public and private key). Load up a terminal and run:</p>
<pre>ssh-keygen -t rsa -b 4096</pre>
<p>It will ask where to save the key file. You can leave it at the default location.</p>
<pre class="brush: ; gutter: false;">
Enter file in which to save the key (/Users/jacob/.ssh/id_rsa): id_rsa
</pre>
<p>Next, it will ask for a passphrase.</p>
<pre class="brush: ; gutter: false;">
Enter passphrase (empty for no passphrase):
</pre>
<p>You can leave this blank if you simply want to leave the private key unlocked. This will make logins quite easy as you won&#8217;t have to type anything in and you will &#8220;auto-login&#8221;. However, for an added layer of security, you can set a password to unlock the private key.</p>
<p>It will ask for the passphrase again. Press ener to leave it blank.</p>
<pre class="brush: ; gutter: false;">
Enter same passphrase again:
</pre>
<p>Finally, it will output confirmation of the keys&#8217; location and the fingerprint:</p>
<pre class="brush: ; gutter: false;">
Your identification has been saved in id_rsa.
Your public key has been saved in id_rsa.pub.
The key fingerprint is:
7b:2d:25:c2:2e:2a:1a:ea:76:3a:96:ed:1a:29:8b:9b
</pre>
<h4>Copying the Public Key</h4>
<p>Now you will need to get a copy of the public key you just made. Simply cat the file:</p>
<pre class="brush: ; gutter: false;">
cat ~/.ssh/id_rsa.pub 
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwsIU0uzZVu6uf2GgM9B4Z7sNn5jMEs1yDrjvdI4ChXrkADegfltv0CESXknoU4NI57Dw0kyc3eJ7bADyI0uBH0PxDTZAOSKKyogsnRtgXbFLKHXpOOyiG51M9tjobObNo6SDmzbeVD5GzlmnPpgMMUoqpjYe3P45g6ouw/3Gcwt+BwZG5loSknk9lkndbyTmhb5gc4jAMYIQ3QAWCtPES04jyUWMFZ/oUn5bMaTKG2aHCgn0wTYR8ih3Ewptp0XV2z77WUmGnJV6t5wE1kZqltdh52aHTeRLoYAFoFWPt4i6sUjhFPufjeyxdXsSR5dsdqUFZRX1dsCJkGWZzfLb3w== user@computer.local
</pre>
<h4>Importing Key to the Server</h4>
<p>We&#8217;ll add the key to the server and authorize it (we have to tell the server that this particular key is allowed to access the server). Log into WHM and navigate to: Main >> Security Center >> Manage root’s SSH Keys. Click on &#8216;Import Key&#8217;</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/Import-key.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/Import-key-300x295.gif" alt="" title="Import SSH Key" width="300" height="295" class="aligncenter size-medium wp-image-920" /></a></p>
<p>On the next screen, you will want to scroll down and look for the last box that says &#8220;Paste the Public Key in this box:&#8221;. Paste your public key into that box. Leave the other boxes blank. It will automatically fill in the name. Hit &#8216;Import&#8217;.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/Paste-key.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/Paste-key-240x300.gif" alt="" title="Paste the Key" width="240" height="300" class="aligncenter size-medium wp-image-923" /></a></p>
<p>On the next screen it will tell you the import was successful. Click on &#8220;Return to SSH Manager&#8221;. This brings you back to the Key management screen. You will click on &#8220;Manage Authorization&#8221;</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/manage-authorization.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/manage-authorization-300x194.gif" alt="" title="Manage Authorization" width="300" height="194" class="aligncenter size-medium wp-image-924" /></a></p>
<p>Finally, click on the button for &#8220;Authorize&#8221;.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/authorize-key.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/authorize-key-300x136.gif" alt="" title="Authorize Key" width="300" height="136" class="aligncenter size-medium wp-image-925" /></a></p>
<p>You are done! Try logging into SSH and it should look for your key.</p>
<h4>Server Hardening &#8211; Disable Password Authentication</h4>
<p>Now, you can take your security one step further and completely disable password logins for SSH. You will have no more fears of hackers trying to guess your SSH passwords.</p>
<p>To set this up, while still in WHM, navigate to: Main >> Security Center >> SSH Password Authorization Tweak. Click on &#8220;Disable Password Auth&#8221;</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/disable-password.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/disable-password-300x119.gif" alt="" title="Disable Password Authentication" width="300" height="119" class="aligncenter size-medium wp-image-927" /></a></p>
<p>And that is that. As cPanel so eloquently puts it: Now, sit back and relax as hackers will no longer be able to gain ssh access through password cracking. They will, instead, receive errors like:</p>
<pre class="brush: ; gutter: false;">
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
</pre>
<h2>Notes</h2>
<p>The encryption method used for this was &#8216;RSA&#8217;. RSA is natively implemented in more places (it is the default key type on most generators and commercial RSA certificates are much more widely deployed) and it defaults to 2048 bit key length. At the time of this writing, for DSA to be compliant, it has to be exactly 1024 bit, which is less secure. The general consensus is that both DSA and RSA are pretty equal in security quality and speed when used merely for authentication. Either you choose will be fine as long as you follow safe security practices: use higher bit key encryption, only use SSH v2, keep your software up to date, and protect your private key. </p>
<p>References:<br />
<a href="http://security.stackexchange.com/questions/5096/rsa-vs-dsa-for-ssh-authentication-keys/5100#5100" target="_blank">http://security.stackexchange.com/questions/5096/rsa-vs-dsa-for-ssh-authentication-keys/5100#5100</a></p>
<p><a href="http://encryptme.wordpress.com/2011/05/25/ssh-keys-rsa-vs-dsa/" target="_blank">http://encryptme.wordpress.com/2011/05/25/ssh-keys-rsa-vs-dsa/</a></p>
<p><a href="http://www.linuxforums.org/forum/security/48093-openssh-user-host-authentication-rsa-versus-dsa-provides-stronger-security.html#post498142" target="_blank">http://www.linuxforums.org/forum/security/48093-openssh-user-host-authentication-rsa-versus-dsa-provides-stronger-security.html#post498142</a></p>
<h2>Note about this article</h2>
<p>This article is one I had written for the ServInt blog as part of the &#8216;Tech bench&#8217; series. You can view it on the <a href="http://blog.servint.net/2012/05/11/the-tech-bench-ssl-key-authentication/" title="ServInt Blog" target="_blank">ServInt blog here</a>. They are using my article with my permission.</p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tools-utilities/ssh-key-authentication/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to forward &#8211; archive all email for a user</title>
		<link>http://boomshadow.net/tech/forward-all-emails/</link>
		<comments>http://boomshadow.net/tech/forward-all-emails/#comments</comments>
		<pubDate>Thu, 03 May 2012 16:18:57 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[archiving]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=890</guid>
		<description><![CDATA[Ever wanted to archive all of your incoming and outgoing mail, or ever wanted to spy on your employee's mail (if you were to be so dubiously inclined)? Today, I show you how to configure Exim to quietly send a copy of all incoming and outgoing message for an address.]]></description>
				<content:encoded><![CDATA[<p># Updates:<br />
# <h7 class="updated">11/07/12</h7> | As of the release of the new WHM 11.34, some of the archive tasks of this article can be done directly with cPanel. cPanel now has it&#8217;s own built-in support for email archiving. <a href="http://boomshadow.net/tech/cpanel-11-34-features-webinar/" title="cPanel’s Webinar on WHM 11.34 features">See my WHM 11.34 features article here</a>.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/Email-Forwarding.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/Email-Forwarding-150x150.gif" alt="Email Forwarding icon" title="Email-Forwarding" width="150" height="150" class="alignleft size-thumbnail wp-image-906" /></a></p>
<p>Today I am going to show you something pretty nifty: how to forward a copy of all incoming and outgoing mail for a particular email user. If you are the cautious type, or simply the email hoarding type like myself <img src='http://boomshadow.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  , this can be really handy for easy archival of all your mail. Exim can be configured so that your server will automatically (and quietly) send a copy of every message you send and receive over to another email address. This is all done without you noticing anything extra in the &#8216;To&#8217; or &#8216;CC&#8217; fields. Silent and effective.</p>
<p>This could also be used to secretly keep track of your users&#8217; emails and monitoring what they do. I had a friend of mine recently ask me to help him set this up for him on a new Sales employee he had. He wanted to make sure they were taking care of the clients properly. While I may not personally agree with the privacy concerns of spying on another person&#8217;s email, I acknowledge that it can be used in this purpose and there are those out there who have no problem implementing it for this reason.</p>
<p>However, that is an argument of principles best saved for another time. I personally believe that all knowledge is power and people will do with their lives as they feel is best. I will show you the tech side of how to set this up; you can do with it as you please.</p>
<p>*Note: You will need SSH root access to make the following changes </p>
<h4>Find the Exim System Filter file</h4>
<p>The changes we are making will be to the &#8216;System Filter File&#8217;. Obviously, we&#8217;re gonna need to know where it is located. It could be different on your cPanel box, so be sure to look it up.</p>
<p>Log into WHM and navigate to the section: Main >> Service Configuration >> Exim Configuration Manager. Alternatively, you can simply type &#8216;Exim&#8217; into the search bar and it will be the first result.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/WHM-Exim.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/WHM-Exim.gif" alt="Exim configuration menu in WHM" title="WHM-Exim" width="550" height="208" class="aligncenter size-full wp-image-897" /></a></p>
<p>Next, scroll down and locate the &#8220;System Filter File&#8221; section. It should list the default location. On my server, it is:</p>
<pre>/etc/cpanel_exim_system_filter</pre>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/Exim-default.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/Exim-default.gif" alt="Default setting in Exim configuration" title="Exim-default" width="550" height="191" class="aligncenter size-full wp-image-899" /></a></p>
<p>Leave WHM open for now because we will be coming back to it shortly.</p>
<h4>Edit the Exim System Filter file</h4>
<p>One thing I must note is that you will not actually be directly editing the system filter file. <a href="http://forums.cpanel.net/f43/hidden-copies-incoming-outgoing-emails-201801.html#post922442" target="_blank">cPanel staff has stated</a> that if you do, the changes will get overwritten during cPanel updates. Instead, we are going to make a copy of it and make our changes to the new custom file. cPanel updates will not change your custom file.</p>
<p>*Note: Exim version changes, however, WILL overwrite custom files. When cPanel 11.34 comes out, Exim is likely to get a version change. Make sure you back up this file ahead of time. </p>
<p>Let&#8217;s get started. Log into SSH and copy the system filter file:</p>
<pre>cp /etc/cpanel_exim_system_filter /etc/cpanel_exim_system_filter_custom</pre>
<p>Next, edit the newly made file:</p>
<pre>nano /etc/cpanel_exim_system_filter_custom</pre>
<p>And place the following template at the very bottom:</p>
<pre>
### FORWARD ALL INCOMING AND OUTGOING MAIL FOR A USER ###

if ("$h_to:, $h_cc:, $h_bcc" contains "user@domain.com")
   or ("$h_from:" contains "user@domain.com")
then
   unseen deliver "archive-address@domain.com"
endif
</pre>
<p>The code above will send a copy of any email that is sent &#8220;To&#8221;, &#8220;CC&#8221;, and even &#8220;BCC&#8221; to your address. It will also send a copy for all outgoing mail. Be sure to replace the example addresses above with your actual email addresses. Save and exit the file.</p>
<h4>Reconfigure &#038; Restart Exim</h4>
<p>Now, you need to go back to WHM and change the system filter file location. Basically, we&#8217;re going to reconfigured Exim to use that new file we made instead of the default one. Copy and paste the full path to your new file into the 3rd field:</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/05/Exim-changed.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/05/Exim-changed.gif" alt="Modified Exim configuration" title="Exim-changed" width="550" height="191" class="aligncenter size-full wp-image-898" /></a></p>
<p>Scroll down and hit &#8216;Save&#8217;. Finally, all you need to do now is restart Exim:</p>
<pre>service exim restart</pre>
<p>And that is that! Your server will now start archiving all your email to the address you specified. You&#8217;re going to start getting a lot of extra mail at that address so be sure you have some automatic message organization setup such as User level filtering in cPanel or Message filters in your email client to sort them all the messages into folders. If not, you may have a little bit of a messy inbox next time you log in <img src='http://boomshadow.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2>References</h2>
<p>Special thanks goes out to <a href="http://forums.cpanel.net/members/cpaneltristan/" target="_blank">cPanel Tristan</a>. You always know your stuff and are great at helping! I really enjoy getting you in the ticket system and then also finding fixes in the forums that happen to be posted by you as well. It makes my day every time. Research for this article found on the cPanel forums <a href="http://forums.cpanel.net/f43/hidden-copies-incoming-outgoing-emails-201801.html#post828491" target="_blank">here</a></p>
<p>Also, thanks goes to Vinayak on the cPanel forums <a href="http://forums.cpanel.net/f43/want-save-all-outgoing-email-read-later-108285.html#post481941" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/forward-all-emails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More light painting</title>
		<link>http://boomshadow.net/misc/more-light-painting/</link>
		<comments>http://boomshadow.net/misc/more-light-painting/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 13:22:10 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[light painting]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=847</guid>
		<description><![CDATA[Last night I decided to have some fun and play around with light painting once again. Its such simple creative fun. Here are the resulting photos.]]></description>
				<content:encoded><![CDATA[
<p>Last night I decided to have some fun and play around with <a href="http://www.diyphotography.net/painting_with_light" target="_blank">light painting</a> once again. I love how easy it is to do and you have instant gratification on the results (assuming you&#8217;re using a digital SLR). No post-production editing, no rendering, no file transcoding. Just flip through the images directly on the camera. All you need is an SLR camera and some LED lights (and glow sticks for fun if you want to get really creative!)</p>
<p>Someday soon, I&#8217;ll have to post the pictures from my first session with light painting. For now, enjoy fun times #2:</p>

<div class="ngg-galleryoverview" id="ngg-gallery-2-847">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1265.jpg" title="Thomas illuminated. Colin decided to draw a penis behind him. Quite funny in a juvenile way." class="thickbox" rel="set_2" >
								<img title="Thomas" alt="Thomas" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1265.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-20" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1266.jpg" title="Smoke swirls. Made by swinging the necklace glow sticks." class="thickbox" rel="set_2" >
								<img title="Smoke swirls" alt="Smoke swirls" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1266.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-21" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1267.jpg" title="Emma wrote her name, obviously. It turned out really well." class="thickbox" rel="set_2" >
								<img title="Emma's name" alt="Emma's name" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1267.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-22" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1268.jpg" title="I'm not sure what was trying to be written here. But I think it looks like cool digital graffiti." class="thickbox" rel="set_2" >
								<img title="Graffiti" alt="Graffiti" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1268.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-23" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1269.jpg" title="Colin holding up a bottle. Attempt #1. Heavy use of different glow sticks produced a lot of vibrant colors." class="thickbox" rel="set_2" >
								<img title="Colin and bottle" alt="Colin and bottle" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1269.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-25" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1271.jpg" title="Colin illuminating his favorite pastime: Jack Daniels." class="thickbox" rel="set_2" >
								<img title="Colin and Jack Daniels" alt="Colin and Jack Daniels" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1271.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-26" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1272.jpg" title="Nate holding up his good gal: Tina. (AKA: Vodka)" class="thickbox" rel="set_2" >
								<img title="Nate and Tina" alt="Nate and Tina" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1272.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-27" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1276.jpg" title="The most interesting Doug in the world." class="thickbox" rel="set_2" >
								<img title="Suave Doug" alt="Suave Doug" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1276.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-28" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1277.jpg" title="Nathan Silva. Enough said." class="thickbox" rel="set_2" >
								<img title="Nate" alt="Nate" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1277.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-29" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1278.jpg" title="Emma Silva looking as lovely as can be. Light painted!" class="thickbox" rel="set_2" >
								<img title="Emma" alt="Emma" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1278.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-30" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1280.jpg" title="Light painting manifestation of a fart. Not my idea, surprisingly, but I was all on board for it! It was hard to keep my head still." class="thickbox" rel="set_2" >
								<img title="Digial fart" alt="Digial fart" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1280.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-31" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1282.jpg" title="BAM!! What more is there to say?" class="thickbox" rel="set_2" >
								<img title="BAM" alt="BAM" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1282.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-32" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1283.jpg" title="Batman. Pure awesomeness." class="thickbox" rel="set_2" >
								<img title="Batman" alt="Batman" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1283.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-33" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1284.jpg" title="Emma was writing &quot;Love and Hate&quot;. Not quite there, but its all for fun. I love how letters look when light painted. So vibrant !" class="thickbox" rel="set_2" >
								<img title="Love and Hate" alt="Love and Hate" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1284.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-34" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1285.jpg" title="I attempted to draw a heart and an arrow going through it. Almost nailed it :P" class="thickbox" rel="set_2" >
								<img title="Heart and Arrow" alt="Heart and Arrow" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1285.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-35" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1286.jpg" title="Doug got really creative here and greatly slowed down his spins on the necklace glow sticks. It made for some great color smoke." class="thickbox" rel="set_2" >
								<img title="Colors Smoke" alt="Colors Smoke" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1286.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-36" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/img_1287.jpg" title="Thomas drew a boat. It arguably looks more like a cake though. :)" class="thickbox" rel="set_2" >
								<img title="A boat" alt="A boat" src="http://boomshadow.net/wp-content/gallery/light-painting-april-2012/thumbs/thumbs_img_1287.jpg" width="250" height="166" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


<p>This sprint commercial was my original inspiration for trying light painting. Check it out:<br />
<object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/lW_9SYaWAQg&#038;hl=en_US&#038;feature=player_embedded&#038;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/lW_9SYaWAQg&#038;hl=en_US&#038;feature=player_embedded&#038;version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/misc/more-light-painting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosts file modification</title>
		<link>http://boomshadow.net/tools-utilities/hosts-mod/</link>
		<comments>http://boomshadow.net/tools-utilities/hosts-mod/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 18:00:57 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tools-Utilities]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=771</guid>
		<description><![CDATA[Need help modifying your hosts file so you can test your domain? This utility will show you how to modify your computer's hosts file on any operating system: Linux, Mac, or Windows. The page will detect your OS and print instructions specific to you.]]></description>
				<content:encoded><![CDATA[<p># Updates<br />
# <h7 class="updated">09/21/12</h7> &#8211; Revised Windows instructions to properly open Notepad with Admin rights<br />
# 05/20/12 &#8211; Updated OS detection interface</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/03/linux-mac-windows.gif"><img class="alignleft size-full wp-image-825" title="Linux Mac and Windows" src="http://boomshadow.net/wp-content/uploads/2012/03/linux-mac-windows.gif" alt="Linux, Mac, and Windows logo" width="100" height="100" /></a><br />
When you visit a website, your computer has to look up the IP address for that site so that it knows where to go. Before your computer goes out to find the IP address, it will first check the local hosts file. The hosts file on your computer is a plain text file that contains a map of hostnames to IP addresses.</p>
<p>If you wanted to override the actual IP address of a site, you could &#8216;trick&#8217; your computer by manually setting the IP address for a website and telling it where to go to find a website. This is extremely common and useful to do when testing a website that you are transferring to a new serer.</p>
<p>Imagine you are moving your website to a new powerful system. However, you do not want the existing site to go down; you want it to stay up at all times. You can copy the site and all it&#8217;s contents to the new server, but how do you test it without changing the DNS? You want to make sure that the site is going to work on the new server without any errors before you start sending traffic over to it. The best method to do this is to change your computer&#8217;s hosts file. You can send only your computer to the new server without affecting the live site at all.</p>
<p>The process for modifying the hosts file varies depending on what Operating System you are running. With the help of my good buddy Colin, we have developed a handy utility that will tell you how to modify your hosts file no matter you are running Linux, Mac, or Windows. The following section of this page will detect your OS and print instruction specific to you. Hope you enjoy!</p>
[hostsfile]
<h2>Note about this article</h2>
<p>This utility is one I had written for the ServInt blog as part of the &#8216;Tech bench&#8217; series. You can view it on the <a title="ServInt Blog" href="http://blog.servint.net/2012/04/20/the-tech-bench-hosts-file-modification/" target="_blank">ServInt blog here</a>. They are using my article with my permission.</p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tools-utilities/hosts-mod/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Assassin&#8217;s Creed for Kinect</title>
		<link>http://boomshadow.net/video/assassins-creed-for-kinect/</link>
		<comments>http://boomshadow.net/video/assassins-creed-for-kinect/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 20:01:46 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=819</guid>
		<description><![CDATA[Ever wanted to control your favorite assassin with your body to act out every fun kill? Now you can with the all new Kinect powered Assassin's Creed.]]></description>
				<content:encoded><![CDATA[
<p>Here is the demo video for Ubisoft&#8217;s Assassin&#8217;s Creed that my buddy Anibal and I worked on:</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/7NufHsmITjM?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>That&#8217;s right, its an April Fool&#8217;s day prank! Anibal and I worked on the visual effects and they used my house for all the Girl gamer party shots (as well as the table crash). It was a ton of fun making it and a lot of work to pump out in only a few short weeks.</p>
<p>Starring: <a href="http://fragdolls.com/" target="_blank">The Frag Dolls</a></p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/video/assassins-creed-for-kinect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change a document root on cPanel</title>
		<link>http://boomshadow.net/tech/change-document-root-cpanel/</link>
		<comments>http://boomshadow.net/tech/change-document-root-cpanel/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 12:36:57 +0000</pubDate>
		<dc:creator>Jacob "Boom Shadow" Tirey</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cpanel]]></category>

		<guid isPermaLink="false">http://boomshadow.net/?p=790</guid>
		<description><![CDATA[How to change the document root for domains on cPanel]]></description>
				<content:encoded><![CDATA[<p><a href="http://boomshadow.net/wp-content/uploads/2012/03/cpanel-logo.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/03/cpanel-logo-150x150.gif" alt="cPanel Logo" title="cPanel Logo" width="150" height="150" class="alignleft size-thumbnail wp-image-809" /></a></p>
<h4>What is the document root?</h4>
<p>When you visit a web site, you are accessing a particular folder on the web server. The server knows to only serve up those files located at that folder to incoming visitors. The location of that web folder is called the &#8220;Document Root&#8221;.</p>
<p>It is similar to using a coat check. You present your ticket to the attendant and they fetch it from the back room.<br />
In this metaphor, the coat is the site you want to visit and the attendant is the web server. The visitor doesn&#8217;t know the exact location where the coat is stored, but the coat does reside at a specific location.</p>
<p>For example, when you visit johns-carpentry.com, the server is pulling up the files at: /home/johnc/public_html. The document root is set by the Apache configuration.</p>
<p>What we are going to discuss today is what if you wanted to change that location? You would need to change the &#8216;Document root&#8217; for the domain. cPanel&#8217;s default location may not serve your needs or you simply want to reorganize. In any case, I&#8217;ll show you how to make that change on cPanel.</p>
<h4>Changing Addon Domains</h4>
<p>There are two types of domains on a cPanel box that can have document roots: Main (primary) domains and Addon domains. Addon domains are easy to change the document root. Simply log into your cPanel and navigate to: Domains >> Addon domains</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/03/addon.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/03/addon.gif" alt="Addon domains section in cPanel" title="Addon Domains" width="548" height="184" class="aligncenter size-full wp-image-796" /></a></p>
<p>Next, edit the Addon domain path. To do so, simply click the edit icon next to the path, and type in your new path.</p>
<p><a href="http://boomshadow.net/wp-content/uploads/2012/03/addon-remove.gif"><img src="http://boomshadow.net/wp-content/uploads/2012/03/addon-remove.gif" alt="Remove an addon domain in cPanel" title="Remove Addon" width="548" height="166" class="aligncenter size-full wp-image-799" /></a></p>
<p>It’s that simple!</p>
<h4>Changing Primary domains</h4>
<p>For changing the main/primary domain, you will need to have root SSH access. Edit the following (replacing your user &#038; domain info):</p>
<pre>/var/cpanel/userdata/USERNAME/DOMAIN.COM</pre>
<p>Look for the following line:</p>
<pre>documentroot: /home/USERNAME/public_html</pre>
<p>Modify it according to your needs. Save it and exit. </p>
<p>If you are using an SSL on the domain, be sure to update the SSL&#8217;s template as well:</p>
<pre>
/var/cpanel/userdata/USERNAME/DOMAIN.COM_SSL
documentroot: /home/USERNAME/public_html
</pre>
<p>Then, rebuild the Apache conf and restart Apache:</p>
<pre>/scripts/rebuildhttpdconf
service httpd restart</pre>
<p>The change will be immediate. Simply clear your browser cache and force refresh the page!</p>
<h2>Note about this article</h2>
<p>This article is one I had written for the ServInt blog as part of the &#8216;Tech bench&#8217; series. You can view it on the <a href="http://blog.servint.net/2012/03/30/the-tech-bench-changing-a-document-root-in-cpanel/" title="ServInt Blog" target="_blank">ServInt blog here</a>. They are using my article with my permission.</p>
]]></content:encoded>
			<wfw:commentRss>http://boomshadow.net/tech/change-document-root-cpanel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
