<?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>DMZ</title>
	<atom:link href="http://dmz.us/feed/" rel="self" type="application/rss+xml" />
	<link>http://dmz.us</link>
	<description>Information Management</description>
	<lastBuildDate>Wed, 11 Apr 2012 01:59:37 +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>Enable XMLRPC on a cPanel VPS/Dedicated Server with Mod_Security2</title>
		<link>http://dmz.us/2012/03/enable-xmlrpc-on-a-cpanel-vpsdedicated-server-with-mod_security2/</link>
		<comments>http://dmz.us/2012/03/enable-xmlrpc-on-a-cpanel-vpsdedicated-server-with-mod_security2/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 01:36:32 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mod security]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=196</guid>
		<description><![CDATA[Whew&#8230; long title no?  I&#8217;ve spent the past few days trying to get my WordPress app to work on my iPhone.  I kept getting &#8220;Http 1.1/404&#8243; errors.  I knew the login was right and tried countless variations of this site&#8217;s WordPress URL, xmlrpc.php location, etc.  What finally did it was installing the free ConfigServer ModSecurity [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Whew&#8230; long title no?  I&#8217;ve spent the past few days trying to get my WordPress app to work on my iPhone.  I kept getting &#8220;Http 1.1/404&#8243; errors.  I knew the login was right and tried countless variations of this site&#8217;s WordPress URL, xmlrpc.php location, etc.  What finally did it was installing the free <a href="http://www.configserver.com/cp/cmc.html">ConfigServer ModSecurity Control</a>, or CMC for short.  After installing, your cPanel WHM should show a link to the plugin on the bottom left of the screen.</p>
<p>Once CMC pulls up, you will notice a big text box labeled &#8220;mod_security rule ID list&#8221;.  XMLRPC has an ID of 90001, which you need to  type in the box, save the global whitelist, and boom&#8230; you are done.</p>
<p>This magical plugin works with anything that mod_security is blocking.  If something isn&#8217;t working right on your site, you can check the mod_security logs in WHM by going to &#8220;plugins -&gt; mod security&#8221;.  Everything in the log has an &#8220;ID&#8221; and that&#8217;s what you&#8217;ll need to tell CMC to unblock.  You can also disable mod_security for an entire domain all together, but this is <em>highly not recommended</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2012/03/enable-xmlrpc-on-a-cpanel-vpsdedicated-server-with-mod_security2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCL Television + DirecTV Remote</title>
		<link>http://dmz.us/2012/02/tcl-television-directv-remote/</link>
		<comments>http://dmz.us/2012/02/tcl-television-directv-remote/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 22:28:30 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[directv]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[tcl]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=194</guid>
		<description><![CDATA[This is a quick post that will hopefully help someone else out there.  I just bought an inexpensive (very inexpensive) 40&#8243; television from Amazon, built by TCL.  Getting it to work with my DirecTV universal remote has been an hour of life wasting headaches that I have finally resolved.  I figured this was going to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This is a quick post that will hopefully help someone else out there.  I just bought an inexpensive (very inexpensive) 40&#8243; television from <a href="http://www.amazon.com/L40FHDF12TA-40-Inch-1080p-2-Year-Warranty/dp/B004UETB20/ref=sr_1_1?ie=UTF8&amp;qid=1328998808&amp;sr=8-1&amp;tag=e0e3-20">Amazon</a>, built by <a href="http://en.wikipedia.org/wiki/TCL_Corporation">TCL</a>.  Getting it to work with my DirecTV universal remote has been an hour of life wasting headaches that I have finally resolved.  I figured this was going to be difficult, since the TCL manual says &#8220;this TV utilizes new remote control signals and may not be compatible with your existing universal remote&#8230;&#8221;  Awesome.</p>
<p>Anyway, I have the &#8220;standard&#8221; DirecTV universal remote, model RC34 (shown at the top left of the remote in small print).  I found that the RCA code &#8220;11547&#8243; gets the TV to work with power on/off and volume; the only two features I needed (simple setup).  By the way, I did try the built in DirecTV receiver programming options and nothing helped.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2012/02/tcl-television-directv-remote/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Show Hidden Files in OSX Lion</title>
		<link>http://dmz.us/2012/02/show-hidden-files-in-osx-lion/</link>
		<comments>http://dmz.us/2012/02/show-hidden-files-in-osx-lion/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 14:28:50 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[hidden file]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=192</guid>
		<description><![CDATA[Working in the field, I use a lot of &#8220;apps&#8221; that give me access to my files remotely (Strongspace, Expandrive, Transmit, Dropbox, etc.).  Sometimes though, I have the need to copy &#8220;hidden&#8221; files (.htaccess &#8211; for example) to/from my online storage locations.  On OSX Lion, showing these types of files is off by default. There [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Working in the field, I use a lot of &#8220;apps&#8221; that give me access to my files remotely (<a href="http://strongspace.com">Strongspace</a>, <a href="http://expandrive.com">Expandrive</a>, <a href="http://panic.com/transmit">Transmit</a>, <a href="http://dropbox.com">Dropbox</a>, etc.).  Sometimes though, I have the need to copy &#8220;hidden&#8221; files (.htaccess &#8211; for example) to/from my online storage locations.  On OSX Lion, showing these types of files is off by default.</p>
<p>There are software packages out there that will show these files for you, but you can turn this on with a quick command-line entry in Terminal:</p>
<ul>
<li>Open Terminal</li>
<li>Type:  defaults write com.apple.Finder AppleShowAllFiles YES</li>
<li>Now hold ‘alt’ on the keyboard while clicking on the Finder icon.  Click &#8220;relaunch&#8221;.  Wa-La&#8230;hidden files!</li>
<li>Quit Terminal</li>
</ul>
<p>Done!  Now all hidden files will show (including on your desktop).  To turn it back off, do the following:</p>
<ul>
<li>Open Terminal</li>
<li>Type:  defaults write com.apple.Finder AppleShowAllFiles NO</li>
<li>Now hold ‘alt’ on the keyboard while clicking on the Finder icon.  Click &#8220;relaunch&#8221;.  Wa-La&#8230;NO hidden files!</li>
<li>Quit Terminal</li>
</ul>
<p>It&#8217;s quick and easy, and you don&#8217;t need to install other software packages to make this work.  As far as I know, this trick works on OSX 10.7.x.</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2012/02/show-hidden-files-in-osx-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset OSX 10.7 Lion Mission Control Wallpapers</title>
		<link>http://dmz.us/2012/02/reset-osx-10-7-lion-mission-control-wallpapers/</link>
		<comments>http://dmz.us/2012/02/reset-osx-10-7-lion-mission-control-wallpapers/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 14:08:01 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[mission control]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[wallpaper]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=187</guid>
		<description><![CDATA[I use a Macbook Air 13&#8243; and noticed that when I plug in my external monitor &#8211; then unplug later on &#8211; my Mission Control wallpapers are messed up.  See, I use Hot Corners to access Mission Control, to access and create new desktops, and after using my external monitor, I noticed that my Mission [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I use a Macbook Air 13&#8243; and noticed that when I plug in my external monitor &#8211; then unplug later on &#8211; my Mission Control wallpapers are messed up.  See, I use Hot Corners to access Mission Control, to access and create new desktops, and after using my external monitor, I noticed that my Mission Control wallpaper is full screen, essentially blocking the view of the desktops I&#8217;ve created.</p>
<p>To fix this, I used to restart the computer &#8211; a small price to pay for getting my Mission Control back to normal.  Plus, with OSX Lion, my windows came back to life when I rebooted (mostly).  Alas, I wanted an easier way to fix my problem and I&#8217;ve found one.  Using Terminal, type in:</p>
<p style="padding-left: 30px;">killall Dock</p>
<p>This will reset the wallpapers, except those that you have custom placed in each desktop.  No need to reboot anymore!  I&#8217;m using OSX 10.7.3 but this also worked on 10.7.x before I upgraded.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2012/02/reset-osx-10-7-lion-mission-control-wallpapers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crashplan Pro Server &#8211; SSL Error Fix</title>
		<link>http://dmz.us/2011/04/crashplan-pro-server-ssl-error-fix/</link>
		<comments>http://dmz.us/2011/04/crashplan-pro-server-ssl-error-fix/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 14:25:17 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[crashplan]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=179</guid>
		<description><![CDATA[One of my clients runs their own Crashplan Pro server and needed help installing their SSL cert.  I came across an error and thought I would post the fix here.  Keep in mind that I&#8217;m using GoDaddy for the SSL but the error we&#8217;ll get is related to the Java Development Kit (JDK) install on [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>One of my clients runs their own Crashplan Pro server and needed help installing their SSL cert.  I came across an error and thought I would post the fix here.  Keep in mind that I&#8217;m using GoDaddy for the SSL but the error we&#8217;ll get is related to the Java Development Kit (JDK) install on the server.<span id="more-179"></span></p>
<p>First, <a href="http://support.crashplanpro.com/doku.php/recipe/configure_ssl" target="_blank">Crashplan&#8217;s SSL setup tutorial</a> lists the commands to generate a key and your CSR.  Let&#8217;s generate the key first:</p>
<ul>
<li>keytool -genkey -keystore keys.jks -alias tomcat -keypass tomcat -keysize 2048 -keyalg RSA -storepass tomcat</li>
</ul>
<p>I have changed the key size to be 2048 &#8211; GoDaddy requires this.  Crashplan&#8217;s command originally sets the key size to be 1024.  Next, generate your CSR:</p>
<ul>
<li>keytool -certreq -v -keystore keys.jks -alias tomcat -keypass tomcat -file test.csr -storepass tomcat</li>
</ul>
<p>Send that CSR to your CA (GoDaddy, etc.) to generate and download your cert.  Next, the error.  Crashplan says to install the cert:</p>
<ul>
<li>keytool -import -keystore keys.jks -alias tomcat -file your.domain.com.crt -trustcacerts -storepass tomcat -keypass tomcat</li>
</ul>
<p>&#8230;and we get this: <em>&#8220;Error: java.lang.exception: failed to establish chain from reply&#8221;</em></p>
<p>In a perfect world, the &#8220;-trustcacerts&#8221; should have overridden the security check and installed the cert.  Alas, it did not.  I did verify that GoDaddy was listed in my /cacerts for JKE but it still didn&#8217;t install the cert correctly.  To fix this, you need to install the intermediate cert that you should have received from your CA:</p>
<ul>
<li>keytool -import -trustcacerts -alias root -keystore keys.jks -file gd_intermediate.crt -storepass tomcat</li>
</ul>
<p>Keep the -alias as &#8220;root&#8221; &#8211; don&#8217;t change it to tomcat to match Crashplan&#8217;s previous instructions or it won&#8217;t work.  You should receive a message stating that your intermediate cert has bee installed successfully.  Now, go back and run the import again for your SSL:</p>
<ul>
<li>keytool -import -keystore keys.jks -alias tomcat -file your.domain.com.crt -trustcacerts -storepass tomcat -keypass tomcat</li>
</ul>
<p>That should successfully install your SSL.  Once that&#8217;s done, you can continue your <a href="http://support.crashplanpro.com/doku.php/recipe/edit_keystore_location" target="_blank">Crashplan SSL setup</a>.  Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2011/04/crashplan-pro-server-ssl-error-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Storage to Linux</title>
		<link>http://dmz.us/2011/04/adding-storage-to-linux/</link>
		<comments>http://dmz.us/2011/04/adding-storage-to-linux/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 17:26:09 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://dmz.us/?p=172</guid>
		<description><![CDATA[There are plenty of articles out there on how to add new storage to Linux.  This is something I don&#8217;t do that often, so I&#8217;m going to document it here for future reference &#8211; maybe it&#8217;ll help someone as well. My Linux VM is a CentOS 5.5 64-bit machine running on ESX 4.1.  I&#8217;ve directly [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There are plenty of articles out there on how to add new storage to Linux.  This is something I don&#8217;t do that often, so I&#8217;m going to document it here for future reference &#8211; maybe it&#8217;ll help someone as well.</p>
<p>My Linux VM is a CentOS 5.5 64-bit machine running on ESX 4.1.  I&#8217;ve directly attached iSCSI storage to it within vSphere and now I need to have the VM actually see the storage.  To the command line!<span id="more-172"></span></p>
<p>The first thing to do is make sure Linux sees the new drives:</p>
<ul>
<li>fdisk -l | grep Disk</li>
</ul>
<p>You should see something like this:</p>
<ul>
<li>Disk /dev/sdb:  1099.5 GB, 1099511558144 bytes</li>
</ul>
<p>Obviously, your GB size will vary depending on the size of the drive/storage you are trying to attach.  The above example is what I see because I&#8217;ve added a 1TB data store to my VM as a directly attached drive.  That being said, the next thing we need to do is create a partition:</p>
<ul>
<li>fdisk /dev/sdb</li>
<li>n  - create new partition</li>
<li>p &#8211; primary</li>
<li>1 &#8211; tell the drive what partition number it is (in my case it was the 1st partition)</li>
<li>defaults (just press &#8220;enter&#8221;) &#8211; the rest of the options, I just use the defaults because I wanted to use the whole drive for storage.  You can adjust these to your liking.</li>
<li>w &#8211; write the new partition table and exit.</li>
</ul>
<p>Now we need to format the new drive using whatever type of file system we want.  In my case, I chose ext3 so I entered the following:</p>
<ul>
<li>mkfs.ext3 /dev/sdb1 &#8211; prepare to wait a while depending on the drive size.  Note here, that with the new partition, you now see /sdb1&#8230;not just /sdb.  We will be working with /sdb1 moving forward.</li>
</ul>
<p>Once this is complete we need to create a mount point for the new drive and then actually mount the new storage.  You can create a directory anywhere you wish, but I recommend creating a folder in the /mnt/ directory for best practices:</p>
<ul>
<li>mkdir /mnt/something &#8211; this creates the directory where Linux will access the storage</li>
<li>mount /dev/sdb1 /mnt/something &#8211; note that &#8220;something&#8221; means for you to pick what you want it to say.</li>
</ul>
<p>Once this is done, you can verify your new drives are working by using:</p>
<ul>
<li>df -H &#8211; this will show your mount points and drives.</li>
</ul>
<p>The last thing to do is, we need to edit the fstab so that these drives are mounted when the system is booted:</p>
<ul>
<li>vi /etc/fstab &#8211; this opens, in vi (you can use any editor here &#8211; nano, etc.), the fstab for editing.  Enter the following for each drive you want mounted on boot:
<ul>
<li>/dev/sdb1     /mnt/something     ext3     defaults     1 2</li>
</ul>
</li>
<li>Save your changes and exit the editor.</li>
</ul>
<p>That&#8217;s it!  You now have usable storage for Linux.  This is just the tip of the iceberg; you can set partitions to boot, create multiple partitions, change the file system to any number of other choices, etc.  As always, let me know if you have questions or see something wrong!  Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://dmz.us/2011/04/adding-storage-to-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

