<?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>command line idiot &#187; shared hosting</title>
	<atom:link href="http://www.commandlineidiot.com/blog/category/shared-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.commandlineidiot.com/blog</link>
	<description>one man's dawning realization that linux is waaaaay smarter than he is</description>
	<lastBuildDate>Mon, 05 Oct 2009 15:10:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>12 Signs That The Recession Has Hit The Internet</title>
		<link>http://www.commandlineidiot.com/blog/2008/12-signs-that-the-recession-has-hit-the-internet/</link>
		<comments>http://www.commandlineidiot.com/blog/2008/12-signs-that-the-recession-has-hit-the-internet/#comments</comments>
		<pubDate>Thu, 15 May 2008 18:47:23 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[humor]]></category>
		<category><![CDATA[perspective]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[Bezos]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[Fark]]></category>
		<category><![CDATA[Scoble]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Woot]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/?p=30</guid>
		<description><![CDATA[digg_url = 'http://digg.com/tech_news/12_Signs_that_the_Recession_Has_Hit_the_Internet'; The United States economy is in a funk. Food prices are up, oil is through the roof, real estate has collapsed, and credit is becoming scarce. Here are 12 signs to look for when the recession hits the Internet: Digg.com moves their server over to Dreamhost Jeff Bezos delivers his TED talk [...]]]></description>
			<content:encoded><![CDATA[<div class="diggleft"><script type="text/javascript">
digg_url = 'http://digg.com/tech_news/12_Signs_that_the_Recession_Has_Hit_the_Internet';
</script><br />
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div>
<p>The United States economy is in a funk. Food prices are up, oil is through the roof, real estate has collapsed, and credit is becoming scarce. Here are 12 signs to look for when the recession hits the Internet:</p>
<ol>
<li>Digg.com moves their server over to <a href="http://www.dreamhost.com/r.cgi?161055">Dreamhost</a></li>
<li>Jeff Bezos delivers his TED talk with a <a title="Golden Palace's experiment in nude branding. - By Rob Walker - Slate Magazine" href="http://www.slate.com/id/2084647/">GoldenPalace.com</a> tattoo across his naked chest</li>
<li>i can affordz cheezburger?</li>
<li><a href="http://www.drewcurtis.com/">Drew Curtis</a> switches to Pabst Blue Ribbon</li>
<li>For $20, Rick Astley will show up to do it in person.</li>
<li>Woot.com starts accepting payment in <a title="Top 10 dot-com flops - CNET.com" href="http://www.cnet.com/4520-11136_1-6278387-1.html">Flooz</a></li>
<li><a title="Questionable Content: New comics every Monday through Friday" href="http://questionablecontent.net/">Jeph Jacques</a> sells all remaining ad space to Warner Music Group</li>
<li>Nigerian spammer steals your identity, only to return it 3 days later when he finds out your credit score</li>
<li><a href="http://scobleizer.com/">Scoble</a> spruces up resume for sweet new gig as Hugh MacLeod&#8217;s intern</li>
<li>StuffWhitePeopleLike? Liquidity.</li>
<li><a title="Guy Kawasaki" href="http://www.guykawasaki.com">Guy Kawasaki</a> trades in his MacBook for a Dell</li>
<li>You hire a PHP Developer for $12 an hour through elance.com, and it turns out to be <a title="Ma.tt" href="http://ma.tt/about/">Matt Mullenweg</a></li>
</ol>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=30&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2008/12-signs-that-the-recession-has-hit-the-internet/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Denial of (advertised) Service Attack!</title>
		<link>http://www.commandlineidiot.com/blog/2007/denial-of-advertised-service-attack/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/denial-of-advertised-service-attack/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 16:53:52 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[slicehost]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/2007/denial-of-advertised-service-attack/</guid>
		<description><![CDATA[Last spring, I posted this tutorial on how to use rsync to upload data to a Dreamhost server. It&#8217;s still the most popular article ever posted on that blog, even more popular than my liturgical poetry, if you can imagine. The result was 25 new dreamhost customers who signed up through the link in that [...]]]></description>
			<content:encoded><![CDATA[<p>Last spring, I posted <a href="http://addisonrd.com/WordPress/2007/03/09/how-to-backup-your-mac-to-a-dreamhost-server-part-1-of-2/" title="How To: Backup your Mac to a Dreamhost Server (part 1 of 2) at  Addison Road">this tutorial</a> on how to use rsync to upload data to a Dreamhost server. It&#8217;s still the most popular article ever posted on that blog, even more popular than my liturgical poetry, if you can imagine.</p>
<p>The result was 25 new dreamhost customers who signed up through the link in that article.</p>
<p>Dreamhost then altered their terms of service to prevent this sort of thing, and <a href="http://www.dreamhoststatus.com/2007/10/17/policy-clarification-personal-storage-back-ups/" title="DreamHost Status  » Blog Archive   » Policy Clarification: Personal storage &amp; back-ups…">made a big stink about it on their support site</a>. I was willing to suffer through some of the downtime, the server chokes, the high load times and stick it out with them because of the huge bandwidth pipe and large dump truck they were offering.</p>
<p>Now, they&#8217;re limiting how we can use that bandwidth and data. Apparently, they didn&#8217;t really sell me a chunk of storage and a chunk of bandwidth, what they sold me was the ability to do one specific thing (host a website) up to a certain size and distribution load. What a load.</p>
<p>The new Terms of Service (TOS) now specify that you may not use Dreamhost for anything that&#8217;s not primarily related to one of your hosted websites. Here are some of the things I use my Dreamhost account for that, apparently, are no longer considered acceptable usage.</p>
<ol>
<li><strong>Off-site backup of my studio computer</strong>. Ok, I get it. This is a pretty big strain on your system. Even though it was one of my reasons for maintaining such a large account, I&#8217;ll quit doing this and find another solution.</li>
<li><strong>WebDAV transfers between my students and I</strong>. I teach at a University, and I have a WebDAV folder setup for them to use to pass projects back and forth to me. It&#8217;s unclear to me why Dreamhost even offers WebDAV under the new TOS, since there&#8217;s no way to access that folder from an HTTP or PHP request. It is, by definition, unrelated to <a href="http://www.webhostingreport.com/">web hosting</a>.</li>
<li><strong>WebDAV synchronization of my iCal calendars</strong> between my wife and I. Our lives would be a mess if we couldn&#8217;t sync calendars. Again, not related to web-hosting, now an illegal use of Dreamhost.</li>
<li><strong>FTP transfer of media files between my clients and I</strong>. I record and produce music, frequently music to video, which means I rely on the ability to transfer large media files to and from clients. One of the reasons I bought a Dreamhost account was to setup an FTP transfer account for this. Again, not related to web-hosting, not legal under their TOS.</li>
<li><strong>Mirrored backups of sites hosted elsewhere</strong>. I host many, many websites with other hosting providers, in addition to my sites with Dreamhost. I do regular rsync backups of these sites to Dreamhost, complete with intact folder structures and database archives. If one of those other hosts goes down, I can switch to Dreamhost and take that backup live. Is this a violation? I&#8217;m honestly not sure. Until I actually make the DNS switch and serve the data from Dreamhost, the files sitting on the server are, strictly speaking, just backup data, the kind of thing explicitly prohibited by their TOS.</li>
<li><strong>File Server for podcast files.</strong> I host a podcast with about 2,500 daily subscribers, and about 10,000 downloads per episode &#8211; I need it to be up 24/7, and Dreamhost seems to be able to provide about 22 hours at a stretch, before their central networking router goes down. So, I host the actual website at <a href="https://manage.slicehost.com/customers/signup?referrer=486529880">slicehost.com</a>. There I have my own dedicated virtual server, no downtime, snappy response, it&#8217;s basically perfect. But the podcast uses about a terabyte of bandwidth a month, and that would be prohibitively expensive through slicehost. Instead, I host the actual podcast files on Dreamhost, and I reference them from the site on slicehost. Is this illegal? It sure seems to be, since I&#8217;m not hosting the site itself on Dreamhost, but I don&#8217;t know.</li>
</ol>
<p>I think what the new Terms of Service boil down to is this: Dreamhost is no longer interested in working with power users. If you need to host a simple <a href="http://lolcats.com">LOLcats</a> homage site, by all means, come sign up with us. If you&#8217;re looking to actually USE the services we advertise though, like rsync between servers, WebDAV file sharing, FTP services, any backend sharing of data that doesn&#8217;t relate to your LOLcats site, then don&#8217;t bother. We&#8217;re not interested.</p>
<p>For those who feel unduly constrained by those limitations, let me be the first to invite you to <a href="https://manage.slicehost.com/customers/signup?referrer=486529880">Slicehost</a>. Get your own dedicated bandwidth, your own chunk of harddrive, and then do whatever you want with it. Check out their <a href="http://www.slicehost.com/tos" title="Slicehost">Terms of Service</a>: as long as it&#8217;s not illegal, hackerish, or spam-a-licious, they don&#8217;t care what you do with your server.</p>
<p>Come live the dream.</p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=23&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/denial-of-advertised-service-attack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Migrating your MySQL database from Dreamhost</title>
		<link>http://www.commandlineidiot.com/blog/2007/migrating-your-mysql-database-from-dreamhost/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/migrating-your-mysql-database-from-dreamhost/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 16:55:38 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[shared hosting]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/2007/migrating-your-mysql-database-from-dreamhost/</guid>
		<description><![CDATA[Those of you who are still using the Dreamhostess with the Mostest (downtime) are probably looking for another solution for your webby goodness after the networking train wreck of the past few months (1, 2, 3, 4, 5, 6, you get the picture. By the way, if this sounds like awesome hosting to you, by [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you who are still using the Dreamhostess with the Mostest (downtime) are probably looking for another solution for your webby goodness after the networking train wreck of the past few months (<a href="http://www.dreamhoststatus.com/2007/08/29/major-network-outage-2/" title="DreamHost Status  » Blog Archive   » RESOLVED Major Network Outage">1</a>, <a href="http://www.dreamhoststatus.com/2007/08/27/network-problems-router-issues-persist/" title="DreamHost Status  » Blog Archive   » Network Problems - router issues persist">2</a>, <a href="http://www.dreamhoststatus.com/2007/08/22/networking-problems/" title="DreamHost Status  » Blog Archive   » Networking Problems">3</a>, <a href="http://www.dreamhoststatus.com/2007/08/17/emergency-router-upgrade/" title="DreamHost Status  » Blog Archive   » DONE! Emergency router upgrade">4</a>, <a href="http://www.dreamhoststatus.com/2007/08/17/dns-outage-identified/" title="DreamHost Status  » Blog Archive   » RESOLVED DNS Outage Identified">5</a>, <a href="http://www.dreamhoststatus.com/2007/08/16/network-problems-3/" title="DreamHost Status  » Blog Archive   » RESOLVED Network Problems">6</a>, you get the picture. By the way, if this sounds like awesome hosting to you, by all means, use my <a href="http://www.dreamhost.com/r.cgi?161055">referral link</a> when you signup with them! ).</p>
<p>You know I&#8217;m in love with <a href="https://manage.slicehost.com/customers/signup?referrer=486529880">Slicehost</a>, for all the wrong reasons (they tease me with wait lists to even sign up, then they hit me with the pure root goodness, and I&#8217;m jonesing for another hit). I&#8217;ve got my Debian VPS all setup to roll, just need to get my data from Dreamhost over to the new server.</p>
<p>Website files? No problem. I used handy old <a href="http://rsync.samba.org/" title="rsync">rsync</a>, and even put together a little bash script that I reference from a cron job, to do regular syncing of the Dreamhost data until I&#8217;m ready to go live with the new site.</p>
<p>But what about the database? My websites are all database driven, which mean no MySQL migration = no website! I tried using the phpmyadmin interface first, and simply exporting / importing the database from one install to another. Well, the database file is about 30 MB (this is a pretty big blog we&#8217;re moving), so that&#8217;s <a href="http://www.youtube.com/watch?v=Kk-G2twc_M4" title="YouTube - Monty Python Holy Hand Grenade">right out</a>!</p>
<p>What&#8217;s a noob server admin to do?</p>
<h4>mysqldump</h4>
<p>Command Line to the rescue! Shut down that phpmyadmin, and crank up ye olde terminal. SSH into your new server, the one you are migrating to, and run the following command. The username and password in the first part should be for the MySQL database you are migrating FROM, the second part of the command should use the username and password you are migrating TO. Everything in CAPS should be replaced with your own details. No line breaks, put the whole thing on a single line:</p>
<p><iframe src="http://commandlineidiot.com/scripts/mysqldump.txt" height="60" scrolling="yes" width="450">mysqldump &#8211;opt &#8211;compress &#8211;user=USERNAME &#8211;password=PASSWORD &#8211;host=SOURCE.HOST.HERE SOURCE_DB_NAME | mysql &#8211;user=USERNAME &#8211;password=PASSWORD &#8211;host=TARGET.HOST.HERE -D TARGET_DB_NAME -C TARGET_DB_NAME</iframe></p>
<p>Now that is <a href="http://www.campaignforrealbeauty.com/flat4.asp?id=6909" title="Dove">Easy Breezy Covergirl!</a></p>
<h4>IP Access on Dreamhost</h4>
<p>If you&#8217;re moving your database away from Dreamhost, you&#8217;ll need to do a little unlocking of the database first. Dreamhost restricts access to your databases by IP address (or the resolved domain name equivalent). This a good thing, a security feature, but it will thwart our attempts to use mysqldump from our new server. No worries, you can add access for whatever IP your new server is on. Here&#8217;s how it works.</p>
<p>From your Dreamhost control panel, hit Goodies &gt;&gt; Manage MySQL. Locate the database you&#8217;re migrating, then click on the USERNAME next to the database. It will take you to a page that lets you manage the privileges for that user. Toward the bottom, find the option for &#8220;Allowable hosts.&#8221; It will look something like this:</p>
<p><img src="http://www.commandlineidiot.com/blog/wp-content/uploads/2007/09/allowable_hosts_edit.png" alt="allowable hosts" /></p>
<p>The %.dreamhost.com line should be there by default, allowing any dreamhost server to get at your data.</p>
<p>You will need to add a new line, containing the IP address (or IP range using wildcards) for the server you intend to migrate to. Note that the IP address they list beneath this is the IP address for your current browser connection to the control panel, not the IP address you need to use in order to allow server access from your new machine. Don&#8217;t be fooled!</p>
<p>If you are on Slicehost, you have a dedicated IP number that you can use here.</p>
<p>Save, exit, run the command line for mysqldump from your new machine, and you should get a clean import of your database into the new server.</p>
<p>Taste the Freedom!</p>
<p><em>PS. Don&#8217;t cancel that dreamhost account just yet, though. Sometime in the future, I&#8217;ll show you how I used .htaccess on my new server to treat my dreamhost account like a big ole&#8217; hard drive for storing and serving large media files.</em></p>
<p><em>Make Dreamhost your bandwidth bitch!</em></p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=19&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/migrating-your-mysql-database-from-dreamhost/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Shared Hosting is Awesome!</title>
		<link>http://www.commandlineidiot.com/blog/2007/shared-hosting-is-awesome/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/shared-hosting-is-awesome/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 18:47:59 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[site admin]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/2007/shared-hosting-is-awesome/</guid>
		<description><![CDATA[Until I get my VPS server up and running, I&#8217;m hosting Command Line Idiot on a shared hosting plan with Dreamhost. Shared hosting is awesome! Here&#8217;s the uptime report on the server that&#8217;s hosting the blog. 11:32:24 up 38 min, 3 users, load average: 266.63, 259.39, 230.23 For the uninitiated, that means that the current [...]]]></description>
			<content:encoded><![CDATA[<p>Until I get my VPS server up and running, I&#8217;m hosting Command Line Idiot on a shared hosting plan with Dreamhost. Shared hosting is awesome!</p>
<p>Here&#8217;s the <a href="http://en.wikipedia.org/wiki/Load_%28computing%29#Unix-style_load_calculation">uptime</a> report on the server that&#8217;s hosting the blog.<br />
<code>11:32:24 up 38 min,  3 users,  load average: 266.63, 259.39, 230.23</code></p>
<p>For the uninitiated, that means that the current demand on the server is overloaded by 26,600%. It would take 266 servers to handle the load they&#8217;ve dumped on this one single wheezing box that my blog is sharing.</p>
<p>The end result? It just took 9 minutes for the main page of Command Line Idiot to load.</p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=13&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/shared-hosting-is-awesome/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
