<?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>Doug's Blog &#187; Hardware</title>
	<atom:link href="http://blog.dougco.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dougco.com</link>
	<description>Handily dispensing information to .00000001% of the world's population</description>
	<lastBuildDate>Fri, 20 Aug 2010 00:20:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fedora 13 and Nvidia</title>
		<link>http://blog.dougco.com/hardware/fedora-13-and-nvidia/</link>
		<comments>http://blog.dougco.com/hardware/fedora-13-and-nvidia/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 00:40:18 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[fedora 13]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[pae kernel]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/?p=70</guid>
		<description><![CDATA[Now that I got my new system running Fedora 13, I needed to configure my Nvidia card to support my two monitors.
It was pretty straightforward, and I found a post that does an excellent job of summarizing it at http://fedorasolved.org/video-solutions/nvidia-yum-kmod
I will comment on one thing though &#8211; when I did the install, I used the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="border: 6px solid black; margin-left: 10px; margin-right: 10px;" title="nvidia" src="http://thepcreport.net/wp-content/uploads/2010/01/nvidia-logo.gif" alt="" width="160" height="106" />Now that I got my new system running Fedora 13, I needed to configure my Nvidia card to support my two monitors.</p>
<p>It was pretty straightforward, and I found a post that does an excellent job of summarizing it at <a href="http://fedorasolved.org/video-solutions/nvidia-yum-kmod">http://fedorasolved.org/video-solutions/nvidia-yum-kmod</a></p>
<p>I will comment on one thing though &#8211; when I did the install, I used the basic kernel for my i686 32-bit CPU. I found that my 4 GB of RAM only showed up in the system information page as 2.7 GB! I looked into this a bit, and it turns out that if you want greater than 3GB of memory supported, you need to have a 64-bit machine, OR you can handle this in software with the PAE kernel.</p>
<p>PAE stands for &#8220;Physical Address Extension&#8221; and all you have to do in install the PAE kernel, and then also the PAE Nvidia modules, and everything will work fine!</p>
<p>I know have my machine up with 8GB of RAM and working perfect! I read that the PAE kernel will cause a performance hit (sort of like doing RAID via software versus hardware I suppose), but I don&#8217;t see anything like that on my system.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/hardware/fedora-13-and-nvidia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Fedora 13</title>
		<link>http://blog.dougco.com/hardware/installing-fedora-13/</link>
		<comments>http://blog.dougco.com/hardware/installing-fedora-13/#comments</comments>
		<pubDate>Sun, 30 May 2010 00:01:58 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[fedora 13]]></category>
		<category><![CDATA[logitech mx310]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/?p=62</guid>
		<description><![CDATA[I was readying my nice new home Linux server/desktop for Fedora 12 when I realized I only had to wait a few more days for Fedora 13. Sounded good!
My new server has a nice Coolermaster case that can hold 10 drives, and has a 1100 Watt power supply. I really like the case, it makes [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="fedora" src="http://linuxflavour.co.in/zen/images/manufacturers/100fedora.png" alt="" width="128" height="128" />I was readying my nice new home Linux server/desktop for Fedora 12 when I realized I only had to wait a few more days for Fedora 13. Sounded good!</p>
<p>My new server has a nice Coolermaster case that can hold 10 drives, and has a 1100 Watt power supply. I really like the case, it makes putting in drives a snap, plus the cable wiring went very well. Plus the thing is made of cool brushed aluminum. Who can argue with that?</p>
<p>I was re-commissioning this server after having used it as a gaming Windows machine for a bit. So it had dual NVidia SLI cards (GeForce 8800 Ultra) in it. When I first booted up the LiveCD, it got kernel errors that didn&#8217;t really track down to anything that was helpful. It would boot up but then freeze after a few minutes.</p>
<p>I tried the DVD install, and that got the same results. After much head scratching and googling, I tried removing one of the Nvidia cards. I was planning on only using 2 monitors anyway, and each card had 2 DVI outputs. This did the trick!</p>
<p>Next up, I had to run keyboard/mouse cables to my home office. I like to keep the actual computer down in my server room in the basement, it keeps my office nice and quiet. But I found that my 100 foot run for my PS/2 mouse didn&#8217;t work! My mouse is a Logitech MX310 that is really USB but I use a PS/2 converter on it so I can use a long cable run. This had been working fine on my previous Linux installations.</p>
<p>I found that the mouse would work fine if directly attached, so it was a distance issue! Which is odd, since on my old server it worked fine, and the cable was the same. I ended up using an USB extender device that I had bought years ago and never needed. It uses ethernet cable in between two adapters so you can have a long USB run. This did the trick! The brand is &#8220;coolgear&#8221; and I forget where I got it.</p>
<p>Next up: Getting Nvidia working on Fedora 13</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/hardware/installing-fedora-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad Marketing from Cisco</title>
		<link>http://blog.dougco.com/fun-stuff/bad-marketing-from-cisco/</link>
		<comments>http://blog.dougco.com/fun-stuff/bad-marketing-from-cisco/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:00:25 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Fun Stuff]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[bad marketing]]></category>
		<category><![CDATA[cisco router]]></category>
		<category><![CDATA[wi-fi]]></category>
		<category><![CDATA[WRT54G2]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/fun-stuff/bad-marketing-from-cisco/</guid>
		<description><![CDATA[I was in Best Buy the other day browsing some wi-fi access points and came across the WRT54G2 which seemed to suit my purposes. On the back of the box I encountered this interesting piece of marketing material:

Now seriously, what the hell? They&#8217;re using a fading scale to indicate the uses? So I suppose &#8220;Multiple [...]]]></description>
			<content:encoded><![CDATA[<p>I was in Best Buy the other day browsing some wi-fi access points and came across the WRT54G2 which seemed to suit my purposes. On the back of the box I encountered this interesting piece of marketing material:</p>
<p><a href="/wp-content/images/wrt54g2.jpg" target="_blank"><img src="/wp-content/images/wrt54g2-small.jpg" alt="wrt54g2" width="430" height="146" /></a></p>
<p>Now seriously, what the hell? They&#8217;re using a fading scale to indicate the uses? So I suppose &#8220;Multiple Computers&#8221; is vaguely recommended? And &#8220;Streaming Music&#8221; seems to be slightly recommended? I suppose the usage icon on the far right is downright not recommended, but can&#8217;t we just get an honest do or don&#8217;t from the usage guide?</p>
<p>And then the marketing team seems to have their own rating system which is not explained anywhere and is completely unhelpful. Ok, so &#8220;High Performance&#8221; is rated N++! Are you kidding me? What the hell is a &#8220;N&#8221;, and what does a plus sign indicate? What would &#8220;N&#8211;&#8221; mean?</p>
<p>The back of the box should be a case study in a marketing class on what not to do!</p>
<p>A quick tech tip&#8230; there are actually TWO WRT54G2 models floating around on shelves. DO NOT buy the one that has this silly thing on the back of the box, it actually has less onboard memory than the other model. But they both cost the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/fun-stuff/bad-marketing-from-cisco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix a Frozen ReplayTV</title>
		<link>http://blog.dougco.com/hardware/how-to-fix-a-frozen-replaytv/</link>
		<comments>http://blog.dougco.com/hardware/how-to-fix-a-frozen-replaytv/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 18:36:29 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[cable signal]]></category>
		<category><![CDATA[no video signal]]></category>
		<category><![CDATA[replaytv]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/hardware/how-to-fix-a-frozen-replaytv/</guid>
		<description><![CDATA[I have some old ReplayTV&#8217;s in use in my home setup, and sometimes they act up on me. The usual thing is they no longer are able to tune into the cable signal (&#8220;no video signal&#8221; errors).
Here are the steps I need to take to fix them:
1) Press the power button to turn the unit [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://news.digitaltrends.com/images/stories/2007/12/2990/DirecTV_Buys_ReplayTV.jpg" width="160" align="right" height="120" />I have some old ReplayTV&#8217;s in use in my home setup, and sometimes they act up on me. The usual thing is they no longer are able to tune into the cable signal (&#8220;no video signal&#8221; errors).</p>
<p>Here are the steps I need to take to fix them:</p>
<p>1) Press the power button to turn the unit off.<br />
2) Disconnect the RF coax cable from the back of the unit.<br />
3) Unplug the unit&#8217;s power cord from the wall.<br />
4) Reconnect the RF coax cable to the back of the unit.<br />
5) Wait at least one minute.<br />
6) Plug the unit&#8217;s power cord back in and allow it to boot up.<br />
7) Enjoy flawless ReplayTV operation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/hardware/how-to-fix-a-frozen-replaytv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Fedora 11 with dual Video Cards</title>
		<link>http://blog.dougco.com/hardware/installing-fedora-11-with-dual-video-cards/</link>
		<comments>http://blog.dougco.com/hardware/installing-fedora-11-with-dual-video-cards/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 19:13:11 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[dual cards]]></category>
		<category><![CDATA[dual monitor]]></category>
		<category><![CDATA[fedora 11]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/hardware/installing-fedora-11-with-dual-video-cards/</guid>
		<description><![CDATA[I&#8217;m configuring a new desktop setup for myself, using dual Nvidia 9600 GSO cards so I can hook up 3-4 monitors. I&#8217;ve been using Fedora more than other distros, so I wanted to stick with it for now (although I was tempted, after running into this issue, to jump to Ubuntu).
I had problems getting the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/docs/online/nvidia_logo.jpg" align="left" width="150" height="150" />I&#8217;m configuring a new desktop setup for myself, using dual Nvidia 9600 GSO cards so I can hook up 3-4 monitors. I&#8217;ve been using Fedora more than other distros, so I wanted to stick with it for now (although I was tempted, after running into this issue, to jump to Ubuntu).</p>
<p>I had problems getting the DVD bootup to go into graphical mode, it kept showing an error that it couldn&#8217;t start X, and would continue with text mode. Of course, this is less than ideal since the text mode doesn&#8217;t have all the nice install options (not sure why) so I needed to figure it out.</p>
<p>The easy solution was to remove one of the cards and try again! This did the trick, and now I have Fed11 nicely running on the one card powering two monitors. Another thing to note is that I had to install <a href="http://www.nvidia.com/object/unix.html">Nvidia&#8217;s linux drivers</a>. Also note, that if you run &#8220;yum update&#8221; after installing those drivers, you will need to re-install them one more time since yum will overwrite their functions.</p>
<p>My next step is to plug in the 2nd card and see if it is recognized properly and I can get 3 monitors going in independent configurations&#8230;</p>
<p>[Update] I added the second card after the fact, and now have 3 monitors hooked up nicely with no problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/hardware/installing-fedora-11-with-dual-video-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth Clash with WiFi</title>
		<link>http://blog.dougco.com/hardware/bluetooth-clash-with-wifi/</link>
		<comments>http://blog.dougco.com/hardware/bluetooth-clash-with-wifi/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 23:25:46 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[network problem]]></category>
		<category><![CDATA[sony laptop]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/hardware/bluetooth-clash-with-wifi/</guid>
		<description><![CDATA[I was helping a friend with their Sony Vaio laptop, and they just added a Bluetooth enabled mouse and found that now their wireless connection won&#8217;t work!
The laptop has a little switch on the top of the keyboard that turns wireless on/off, and usually when you turn it off and back on, the computer will [...]]]></description>
			<content:encoded><![CDATA[<p>I was helping a friend with their Sony Vaio laptop, and they just added a Bluetooth enabled mouse and found that now their wireless connection won&#8217;t work!</p>
<p>The laptop has a little switch on the top of the keyboard that turns wireless on/off, and usually when you turn it off and back on, the computer will recognize the wifi hardware and it can find networks. But in this case, it wasn&#8217;t working, and no wifi networks were begin discovered.</p>
<p>After an hour of trying all sorts of things like checking out network settings, etc, it turns out it we had to use a function key (F1) to toggle between different Bluetooth/LAN/WAN settings! We had to choose the setting of <em>Bluetooth and LAN </em>to get this working. Apparently adding the Bluetooth device switched this setting, and the only way to get it back is to use this poorly labelled function key. Live and learn.</p>
<p>I had googled around to try and find help on this, but nothing pertinent showed up &#8212; so hopefully this post can help someone who has this problem in the future!</p>
<p><img src="/wp-content/images/f1key.jpg" alt="Bluetooth LAN function key" width="593" height="395" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/hardware/bluetooth-clash-with-wifi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Digital Media System</title>
		<link>http://blog.dougco.com/fun-stuff/setting-up-a-digital-media-system/</link>
		<comments>http://blog.dougco.com/fun-stuff/setting-up-a-digital-media-system/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 17:05:53 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Fun Stuff]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[852x480]]></category>
		<category><![CDATA[digital server]]></category>
		<category><![CDATA[dvd to avi]]></category>
		<category><![CDATA[media server]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/fun-stuff/setting-up-a-digital-media-system/</guid>
		<description><![CDATA[For many years I&#8217;ve had my own home file server tucked away in my basement serving all my home file needs. It is a Linux box with 2 Terabytes of storage that acts as:

a NFS file server for other UNIX systems
a Samba file server for Windows systems
a LDAP server for keeping a single location of [...]]]></description>
			<content:encoded><![CDATA[<p>For many years I&#8217;ve had my own home file server tucked away in my basement serving all my home file needs. It is a Linux box with 2 Terabytes of storage that acts as:</p>
<ul>
<li>a NFS file server for other UNIX systems</li>
<li>a Samba file server for Windows systems</li>
<li>a LDAP server for keeping a single location of contacts</li>
<li>an Apache web server for an internal website of links and other information (photos, etc)</li>
<li>a Slimserver daemon that provides support to my <a title="Slimdevices" href="http://slimdevices.com/" target="_blank">Squeezebox</a></li>
<li>a MediaTomb server that provides support to my <a href="http://www.dlink.com/products/?pid=438" target="_blank">DLINK DSM-520</a></li>
<li>an internal Domain Name Server (DNS)</li>
</ul>
<p>and more!</p>
<p>I use this setup to hold all my digital photos, audio (mp3) files, and I&#8217;m now in the process of scanning in my DVD library. So let me take a moment to say &#8220;Just say NO to piracy!&#8221;</p>
<p>I personally have found it to be cost effective to buy used CDs or DVDs and scan them in to get good quality recordings, and all my media stays only on my local server that is inaccessible from the Internet. Aside from the legal issues, who wants to clog up their Internet connection with unnecessary traffic for others?</p>
<p><img src="http://www.audioreview.com/channels/audioreview/images/player.jpg" alt="" width="0" height="0" align="right" /> I&#8217;ll pass along some things I found while building my setup. I never went the iTunes route because I&#8217;ve always used mp3 players that were smaller and cheaper than the iPod. Plus, I want to use a generic format like mp3 and not be limited by what I can play it on. With mp3 I can play all my music on my computer, laptop, stereo (through Slimdevices Squeezebox)  or even my DSM-520. It is simple enough to get your CDs into mp3 files so I won&#8217;t go into that.<img class="alignright" title="slimserver" src="http://www.audioreview.com/channels/audioreview/images/player.jpg" alt="" width="125" height="89" /></p>
<p><img src="http://images.dlink.com/products/DSM-520/DSM-520_main.jpg" alt="Inexpensive and nice" width="230" height="180" align="left" />Next, the video portion. I chose the DSM-520 because I wanted a cheap box that had no moving parts (i.e., no hard drive) that would talk nicely to my fileserver. Well, it turns out that it doesn&#8217;t just look for a fileserver using something like Samba &#8212; it requires a UPnP type server to be running. DLINK gives you one, but it is for Windows, and you can&#8217;t really have a Windows box on all the time to that purpose. At least, not reliably <img src='http://blog.dougco.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Seriously, I have linux boxes that have been up for 450 days with no problems. I can&#8217;t let a Windows box go for 3 weeks before all hell breaks loose.</p>
<p>So, I looked around for some <a href="http://en.wikipedia.org/wiki/UPnP_AV_MediaServers" target="_blank">UPnP server</a> software I could use and chose <a href="http://mediatomb.cc/" target="_blank">MediaTomb</a> which I could easily add using Yum. It is simple enough to run, and lets me add video/photos/music that puts references of those files into a MediaTomb database.</p>
<p>Now you need to scan your DVDs into your library! There are various free packages (like handbrake) which I looked at, but in the end I settled on <a href="http://www.slysoft.com/en/clonedvd-mobile.html" target="_blank">CloneDVDMobile</a> which is by SlySoft, a great little company that I&#8217;ve used for their AnyDVD software which allows me to watch my DVDs on my PC (believe it or not, some DVDs refuse to play nice on a PC).</p>
<p>When you use this software, you are given a whole slew of formats to choose from. I used the generic DivX one that produces AVI files. Most DVDs will offer me the 852&#215;480 resolution, and I max out the quality which goes to 25-29 usually. I use 2-pass deinterlacing and prefer saving it as one big file.</p>
<p>The AVI files it produces look great on my win media player, and I had some trouble figuring out how to make it look nice on my DSM-520, and after much hair pulling it turned out that I just had to alter the aspect ratio in the DSM-520&#8217;s settings screen to 16:9 and then it was perfect!</p>
<p>So now I can kick back on my couch and flip through all my DVD titles and watch anything I want with a touch of a button!</p>
<p>Of course now my wife says, &#8220;There&#8217;s nothing here to watch! It&#8217;s all The Matrix and James Bond!&#8221;</p>
<p>So now I need to scan in a bunch of Julia Roberts movies.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/fun-stuff/setting-up-a-digital-media-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tips Using Amazon EC2</title>
		<link>http://blog.dougco.com/coding/tips-using-amazon-ec2/</link>
		<comments>http://blog.dougco.com/coding/tips-using-amazon-ec2/#comments</comments>
		<pubDate>Wed, 21 May 2008 21:08:57 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[ec2 tips]]></category>

		<guid isPermaLink="false">http://blog.dougco.com/coding/tips-using-amazon-ec2/</guid>
		<description><![CDATA[When I started using Amazon&#8217;s EC2 service, I found it hard to gather all the info I needed. There was no easy guide that provided all the steps in an easy format. So, here are some tips I hope some might find helpful. I am interacting with EC2 from a Linux system, so my tips [...]]]></description>
			<content:encoded><![CDATA[<p>When I started using <a href="http://www.amazon.com/EC2-AWS-Service-Pricing/b/ref=sc_fe_l_2?ie=UTF8&amp;node=201590011&amp;no=3435361&amp;me=A36L942TSJ2AJA" target="_blank">Amazon&#8217;s EC2 service</a>, I found it hard to gather all the info I needed. There was no easy guide that provided all the steps in an easy format. So, here are some tips I hope some might find helpful. I am interacting with EC2 from a Linux system, so my tips are from that viewpoint.</p>
<p>I assume you have already done the basics, like <a href="http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key" target="_blank">created your developer account</a> (and know your secret key), and <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88" target="_blank">installed the command line tools</a>.</p>
<p>Note that you will need <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">Java</a> installed on your system for the tools to function.</p>
<p>You can find the official EC2 docs <a href="http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=87" target="_blank">here.</a></p>
<p>Now, on to my tips!</p>
<h3><strong>Find A Starter Image</strong></h3>
<p>You can browse the images at Amazon via the command :</p>
<address><span style="color: #008000;">% ec2-describe-images</span> </address>
<p>You&#8217;ll see a bunch of images that are out there, in different UNIX flavors, and some with LAMP already installed. I found that whatever you pick, you&#8217;ll want to do your own package installs anyway, so just pick a baseline that you like, i.e. Ubuntu or Redhat or whichever you feel comfortable.</p>
<p>Note that you need the AMI string of your choice to continue. Not only will you see a number of Amazon created AMI&#8217;s, but other folks have created some public AMIs that you can choose from. Here are some <a href="http://alestic.com/" target="_blank">AMIs for Ubuntu</a> you can check out.</p>
<h3>Choose A Server Size</h3>
<p>Note that EC2 provides a small, large, and extra-large version your can use. I&#8217;ve found that the small instances are incompatible with the the large and XL, so be careful! You should start with the large if you plan on any expansion whatsoever.</p>
<p>So when you are ready to create an instance, you&#8217;ll need to specify the size (m1.large or m1.xlarge) on the command line otherwise it will default to small, i.e.:</p>
<address><span style="color: #008000;">% ec2-run-instances ami-20b65349 -k gsg-keypair -t m1.large</span></address>
<p>You&#8217;ll need to create a gsg-keypair file first of course. This is described nicely in the command line docs, you&#8217;ll use &#8220;ec2-create-keypair&#8221;.</p>
<p>Note that you can apply a firewall to your instance via the &#8220;-g &lt;name&gt;&#8221; option, where you define a group with the name of &#8220;&lt;name&gt;&#8221;. You can see what groups you have via:</p>
<address><span style="color: #008000;">%  ec2-describe-group</span></address>
<p>You can create these groups using commands like:</p>
<address><span style="color: #008000;">%  ec2-authorize mygroup -P tcp -p 22 -s 0.0.0.0/0</span></address>
<blockquote></blockquote>
<h3>Access Your Instance</h3>
<p>After you run an instance, you can check on the progress via:</p>
<address><span style="color: #008000;">%  ec2-describe-instances</span></address>
<p>And you can provide the instance name also, e.g.</p>
<address><span style="color: #008000;">%  ec2-describe-instances i-be9237aaa</span></address>
<p>Then you can SSH into it when it is ready by using the domain name it returns, e.g.</p>
<address><span style="color: #008000;">%  ssh -i gsg-keypair root@ec2-67-200-1-123.z-1.compute-1.amazonaws.com</span></address>
<blockquote></blockquote>
<h3>Customize Your Instance</h3>
<p>You should now make sure your instance has all the packages you want, and configure them how you like. I install the latest Apache, MySQL, PHP, Perl, etc, and edit all the configuration files to my liking.fone</p>
<p>Make sure you stay in &#8220;/&#8221;, and do not use &#8220;/mnt&#8221; since this will go away if you reboot and won&#8217;t be saved when you save your instance.</p>
<p>If you need more space, you can use the extra storage service from Amazon although I have not done that at this point.</p>
<p>When you have everything the way you like it, you should save your instance. You will use <a href="http://docs.amazonwebservices.com/AWSEC2/2008-02-01/DeveloperGuide/CLTRG-ami-bundle-vol.html" target="_blank">ec2-bundle-vol</a> to create the image, and <a href="http://docs.amazonwebservices.com/AWSEC2/2008-02-01/DeveloperGuide/CLTRG-ami-upload-bundle.html" target="_blank">ec2-upload-bundle</a> to upload it to Amazon&#8217;s storage service.</p>
<p>You&#8217;ll need your secret key, access key, cert key, user id and a sample command set is as follows. You will run these from your Amazon instance (where real keys and numbers are replaced by X&#8217;s and fake numbers):</p>
<address><span style="color: #008000;">amazon%  ec2-bundle-vol  -d /mnt -k pk-XXXXXXX.pem -c cert-XXXXXXX.pem -u 432132132132 -s 1536</span></address>
<address> </address>
<address> </address>
<address><span style="color: #008000;">amazon%   ec2-upload-bundle -b my_image_name -m /mnt/image.manifest.xml -a XXXXXXX -s XXXXXX</span></address>
<p>Once it is uploaded, you will need to now register it as an AMI image you can access later. You need to do this command from your local host:</p>
<address><span style="color: #008000;">%  ec2-register my_image_name/image.manifest.xml</span></address>
<p>This will output your AMI string that you need to note so you can use it later to use your new instance on new Amazon servers.</p>
<h3>Cleanup When Done</h3>
<p>Don&#8217;t forget to make sure you terminate instances you don&#8217;t need to use anymore, or you will continue to be charged for them! Run &#8220;ec2-describe-instances&#8221; to see what you are running, and then you can use &#8220;ec2-terminate-instances&#8221; with the instance string as an argument to remove them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dougco.com/coding/tips-using-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
