<?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>ramblings &#187; a2hosting</title>
	<atom:link href="http://techore.com/tag/a2hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://techore.com</link>
	<description>come to your own conclusions</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:08:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>updating centOS 5 PHP install with mbstring &amp; APC</title>
		<link>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/</link>
		<comments>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:17:22 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[a2hosting]]></category>
		<category><![CDATA[alternative php cache]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[httpd-dev]]></category>
		<category><![CDATA[mbstring]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-dev]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[virtual private server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://techore.com/wp/?p=229</guid>
		<description><![CDATA[The default install on A2hosting's VPS does not have mbstring or APC installed by default.  I became aware of this as I was setting up symfony on the new server.  I googled around looking for a quick guide to install them.]]></description>
			<content:encoded><![CDATA[<p>The default install on <a title="A2hosting.com" href="http://www.a2hosting.com" target="_blank">A2hosting&#8217;s</a> <a title="techore.com" href="http://techore.com/wp/about/#VPS" target="_blank">VPS</a> does not have mbstring or APC installed by default.  I became aware of this as I was setting up symfony on the new server.  I googled around looking for a quick guide to install them.</p>
<p>mbstring is a straight-forward install:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-mbstring</pre></div></div>

<p>Easy.</p>
<p>Installing APC is a pretty simple affair with one big caveat at the end.  The guide that I found for installing APC is on <a title="howtoforge.com" href="http://bit.ly/4MkeRy" target="_blank">HowToForge</a>. The last two steps are particular to CentOS on A2hosting&#8217;s platform.</p>
<p>1.  Install PEAR.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-pear</pre></div></div>

<p>2.  Install php-dev &amp; httpd-dev.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-devel httpd-devel</pre></div></div>

<p>3.  Install group Development Tools</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum groupinstall <span style="color: #ff0000;">'Development Tools'</span></pre></div></div>

<p>4.  Install group Development Libraries</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum groupinstall <span style="color: #ff0000;">'Development Libraries'</span></pre></div></div>

<p>5.  Install APC</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pecl <span style="color: #c20cb9; font-weight: bold;">install</span> apc</pre></div></div>

<p>6.  Reboot Apache</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">httpd <span style="color: #660033;">-k</span> restart</pre></div></div>

<p>7.  Error alerts you to SSLRandomSeed error.</p>
<p style="text-align: center;">
<div id="attachment_231" class="wp-caption aligncenter" style="width: 475px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/sslrandomseed_error.png" target="_blank"><img class="size-full wp-image-231 " title="sslrandomseed_error" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/sslrandomseed_error.png" alt="SSLRandomSeed Error" width="465" height="114" /></a><p class="wp-caption-text">SSLRandomSeed Error</p></div>
<p>8.  Fix Centos Dev</p>
<p style="text-align: left;">
<div id="attachment_232" class="wp-caption aligncenter" style="width: 616px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/fix_centos_dev.png" target="_blank"><img class="size-full wp-image-232  " title="fix_centos_dev" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/fix_centos_dev.png" alt="" width="606" height="310" /></a><p class="wp-caption-text">Fix CentOS Dev on A2hosting</p></div>
<p style="text-align: left;">It took me an hour last night to figure out the last step.  Without the last step there is no authentication so there is no SSH access.</p>
<p style="text-align: left;">Till Next Time</p>
]]></content:encoded>
			<wfw:commentRss>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setting up a domain-nameless domain</title>
		<link>http://techore.com/2009/12/setting-up-a-domain-nameless-domain/</link>
		<comments>http://techore.com/2009/12/setting-up-a-domain-nameless-domain/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 22:03:59 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[a2]]></category>
		<category><![CDATA[a2hosting]]></category>
		<category><![CDATA[cent os]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[kloxo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtual private server]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://techore.com/wp/?p=217</guid>
		<description><![CDATA[My company's website is being completely rewritten from scratch and I chose to move to A2hosting.com.  We are going with a Virtual Private Server (VPS) from them and have found a little difficulty setting up web access to it.]]></description>
			<content:encoded><![CDATA[<p>My company&#8217;s website is being completely rewritten from scratch and I chose to move to A2hosting.com.  We are going with a Virtual Private Server (VPS) from them and have found a little difficulty setting up web access to it.</p>
<p>The main issue is that since the website is already up and running, I can&#8217;t just transfer the domain name to the new server and be done with it.  I need to be able to access the new website by just the IP address for a while, until we move the production site over to it.  This is not documented anywhere on A2hosting&#8217;s site that I could find.</p>
<p>The issue resides in the setup of IP address of the server through Kloxo.  I am unable to configure the domain to default to the domain of my choice.  The error checking of this function disallows the assigning of that domain name since the domain name does not currently resolve to the server&#8217;s IP address.The solution resides in the /etc/hosts file.  I had to set the IP to equate to the domain name that WILL be the correct name once the production site is moved over.</p>
<p style="text-align: center;">A quick little walkthrough:</p>
<p style="text-align: center;">
<div id="attachment_226" class="wp-caption aligncenter" style="width: 504px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/etc_hosts.png" target="_blank"><img class="size-full wp-image-226 " title="etc_hosts" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/etc_hosts.png" alt="" width="494" height="386" /></a><p class="wp-caption-text">Set the /etc/hosts file</p></div>
<p style="text-align: center;">
<div id="attachment_221" class="wp-caption aligncenter" style="width: 620px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddresses.png" target="_blank"><img class="size-full wp-image-221   " title="ipaddresses" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddresses.png" alt="" width="610" height="375" /></a><p class="wp-caption-text">IP Addresses link in Kloxo admin</p></div>
<p style="text-align: center;">
<div id="attachment_220" class="wp-caption aligncenter" style="width: 635px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddress_table.png" target="_blank"><img class="size-full wp-image-220   " title="ipaddress_table" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddress_table.png" alt="" width="625" height="309" /></a><p class="wp-caption-text">IP Address table</p></div>
<p style="text-align: center;">
<div id="attachment_219" class="wp-caption aligncenter" style="width: 582px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddress_info.png" target="_blank"><img class="size-full wp-image-219   " title="ipaddress_info" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipaddress_info.png" alt="" width="572" height="278" /></a><p class="wp-caption-text">IP Address info</p></div>
<p style="text-align: center;">
<div id="attachment_218" class="wp-caption aligncenter" style="width: 601px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipdomain.png" target="_blank"><img class="size-full wp-image-218  " title="ipdomain" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/ipdomain.png" alt="" width="591" height="282" /></a><p class="wp-caption-text">Select the proper domain name for the IP Address</p></div>
<p style="text-align: left;">Hope this helps.</p>
<p style="text-align: left;">
<p style="text-align: left;">Till Next Time</p>
]]></content:encoded>
			<wfw:commentRss>http://techore.com/2009/12/setting-up-a-domain-nameless-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
