<?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; VPS</title>
	<atom:link href="http://www.commandlineidiot.com/blog/category/vps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.commandlineidiot.com/blog</link>
	<description>one man&#039;s dawning realization that linux is waaaaay smarter than he is</description>
	<lastBuildDate>Tue, 01 Mar 2011 22:14:38 +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>postfix, dovecot, emailtastic!</title>
		<link>http://www.commandlineidiot.com/blog/2007/postfix-dovecot-emailtastic/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/postfix-dovecot-emailtastic/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 16:15:09 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/2007/postfix-dovecot-emailtastic/</guid>
		<description><![CDATA[I&#8217;ve gots the email! I gots the email! Christopher Haas has written what might be the best tutorial I&#8217;ve ever run across for linux. It&#8217;s accurate, complete, breaks things down into manageable steps, and explains what you&#8217;re doing while you do it. It also contains several &#8220;check&#8221; steps, where it shows you how to check [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gots the email! I gots the email!</p>
<p>Christopher Haas has written what might be the best tutorial I&#8217;ve ever run across for linux. It&#8217;s accurate, complete, breaks things down into manageable steps, and explains what you&#8217;re doing while you do it. It also contains several &#8220;check&#8221; steps, where it shows you how to check your system logs to see if the previous steps went as planned.</p>
<p>This is what a tutorial should be!</p>
<p><a href="http://workaround.org/articles/ispmail-etch/">Howto: ISP-style Email Server with Debian-Etch and Postfix 2.3</a></p>
<p>If you&#8217;re trying to get email up and running on your debian VPS, this is the place to start. It shows how to use postfix and dovecot, with secure login, spam and virus checkers. Everything you need for POP or IMAP.</p>
<p>Take note of the warning up front about the proper naming scheme for your host. Almost every VPS image that I&#8217;ve run across uses a default naming in /etc/hosts and /etc/hostname that is incorrect for proper configuration of postfix (or even apache!). This article explains why and what to do about it:</p>
<p><a href="http://cbl.abuseat.org/hostname.html">Naming Issues with Linux and xBSD</a></p>
<p>Happy installing of email!</p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=17&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/postfix-dovecot-emailtastic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache2, php5, phpmyadmin</title>
		<link>http://www.commandlineidiot.com/blog/2007/apache2-php5-phpmyadmin/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/apache2-php5-phpmyadmin/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 13:32:07 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/2007/apache2-php5-phpmyadmin/</guid>
		<description><![CDATA[So, I solved at least one of my nagging headaches. I ran into a brick wall trying to get phpmyadmin up and running on ubuntu. The Setup Ubuntu 7.04, Apache2.2, MySQL, PHP5, running on a VPS from slicehost.com. All installed from apt-get, all working fine. Gave MySQL root user a password, the login to MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>So, I solved at least one of my nagging headaches. I ran into a brick wall trying to get <a href="http://www.phpmyadmin.net">phpmyadmin</a> up and running on ubuntu.</p>
<h4>The Setup</h4>
<p>Ubuntu 7.04, Apache2.2, MySQL, PHP5, running on a VPS from <a href="https://manage.slicehost.com/customers/signup?referrer=486529880">slicehost.com</a>. All installed from apt-get, all working fine. Gave MySQL root user a password, the login to MySQL from the command line works just fine.</p>
<p>Installed phpmyadmin from apt-get, everything&#8217;s cool,  it sets up the appropriate symbolic links so that www.MYURL.com/phpmyadmin points the browser to the phpmyadmin login page.</p>
<h4>The Problem</h4>
<p>I go to www.MYURL.com/phpmyadmin, and I get the login page. I enter the MySQL user root + password. Sometimes it logs in. Sometimes it bounces me back to the login with no warning. Sometimes it redirects me to the login page and says &#8220;root&#8221;@&#8221;localhost&#8221; not permitted [password=YES]. Sometimes it&#8217;s the same warning, but with [password=NO], even though I have entered a password.</p>
<p>Sometimes, if I click login 3 or 4 times after it keeps redirecting me, I actually get let in to phpmyadmin. As soon as I do anything requiring privileges (create new user, create new database), I get bounced back to the login page again.</p>
<h4>Troubleshooting</h4>
<p>Here&#8217;s what I tried to fix it</p>
<p>1) Tried all browsers at my disposal (OSX: Firefox, Opera, Safari, Camino; Windows: IE6, IE7). Same problem with all.</p>
<p>2) Assumed it was a cookie issue. Dumped all cache and cookies on my browser, reset safari, relaunched apache2, tried again. Same problem.</p>
<p>3) Same as step 2, but also did a shutdown -r of the entire server, just in case. Old habits die hard.</p>
<p>3) Sacrificed male goat by the light of a full moon. Sticky fingers, but still no persistent login.</p>
<p>Nothing worked.</p>
<h4>The Solution</h4>
<p>Turns out, in order to run phpmyadmin with php5 on a 64bit ubuntu machine, you need to have a little package installed called php5-mcrypt. It&#8217;s not listed in the dependencies, so if you just use apt-get, it gets left behind.</p>
<p><code>sudo apt-get install php5-mcrypt<br />
</code></p>
<h4>the conclusion</h4>
<p>aaaarrrrrgh.</p>
<p>Let the record show that it was at this precise moment in time that I switched from Ubuntu to Debian for my server needs. If I wanted to shed this much stomach bile on figuring out required dependencies, I would strap on a pocket-protector and go join the gentoo geeks. At least then I know it&#8217;s up to me.</p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=10&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/apache2-php5-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>chrooting your awesome up onto our technologies</title>
		<link>http://www.commandlineidiot.com/blog/2007/chrooting-your-awesome-up-onto-our-technologies/</link>
		<comments>http://www.commandlineidiot.com/blog/2007/chrooting-your-awesome-up-onto-our-technologies/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 11:01:43 +0000</pubDate>
		<dc:creator>command line idiot</dc:creator>
				<category><![CDATA[slicehost]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.commandlineidiot.com/blog/?p=3</guid>
		<description><![CDATA[After searching for nearly a week to try to find a hosting plan that made sense for me, I realized that I don&#8217;t really need a full-blown dedicated server. Even though I run one very high-bandwidth podcast, and one fairly active blog, most of my traffic is static (the blog is cached, so the PHP [...]]]></description>
			<content:encoded><![CDATA[<p>After searching for nearly a week to try to find a hosting plan that made sense for me, I realized that I don&#8217;t really need a full-blown dedicated server. Even though I run one very high-bandwidth podcast, and one fairly active blog, most of my traffic is static (the blog is cached, so the PHP stuff isn&#8217;t sweating too hard). What I really need is something in-between shared hosting, which had started to drain the life out of my soul, and <a href="http://www.singlehop.com">dedicated hosting</a>, which seemed likely to drain the life out of my wallet.</p>
<p>Enter the brand new hotness, <a href="http://en.wikipedia.org/wiki/Virtual_private_server">VPS</a>. Basically, you buy a slice of a server, and it runs under a virtualization host (<a href="http://www.xensource.com/xen/xen/">Xen</a> seems to be everybody&#8217;s girlfriend these days). You have a chunk of harddrive, you install your own operating system and build it out in whatever way you want. You get a guaranteed minimum amount of RAM at your disposal, with the ability to spike over that amount if no one else on the server is using it.</p>
<p>Perfect. It&#8217;s not shared hosting with 3000 porn sites, it&#8217;s shared hosting with 4, 8, or 16 people, depending on the size of the slice you buy. Nothing they do can jack up your mojo, and you get to setup the server in whatever way seems good to you.</p>
<p>There are a lot of new hosting companies offering this kind of setup &#8211; I went with <a href="https://manage.slicehost.com/customers/signup?referrer=486529880">slicehost</a> because their website just screams, &#8220;screw fancy designs, we&#8217;re too busy chrooting your awesome up onto our technologies, yo!&#8221;</p>
<p>And that&#8217;s what I want in a hosting company.</p>
<img src="http://www.commandlineidiot.com/blog/?ak_action=api_record_view&id=3&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.commandlineidiot.com/blog/2007/chrooting-your-awesome-up-onto-our-technologies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

