<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: USSM tech request: Apache upgrade</title>
	<atom:link href="http://www.ussmariner.com/2008/04/02/ussm-tech-requests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/</link>
	<description>Seattle Mariners blog and general baseball discussion</description>
	<lastBuildDate>Thu, 09 Feb 2012 17:41:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: scotje</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256439</link>
		<dc:creator>scotje</dc:creator>
		<pubDate>Wed, 02 Apr 2008 23:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256439</guid>
		<description>I don&#039;t have any FreeBSD specific experience, but as long as you don&#039;t accidentally smoosh any Apache1 files during the install, there shouldn&#039;t be any reason you can&#039;t have both running at the same time. Just configure Apache2 to &quot;Listen&quot; on an alternate port like 81 or 8080. Then you can install PHP into Apahce2 and test things out before making the switcharoo.

If you&#039;re pressed for RAM you might want to limit the number of workers Apache2 can use while you&#039;re testing things.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have any FreeBSD specific experience, but as long as you don&#8217;t accidentally smoosh any Apache1 files during the install, there shouldn&#8217;t be any reason you can&#8217;t have both running at the same time. Just configure Apache2 to &#8220;Listen&#8221; on an alternate port like 81 or 8080. Then you can install PHP into Apahce2 and test things out before making the switcharoo.</p>
<p>If you&#8217;re pressed for RAM you might want to limit the number of workers Apache2 can use while you&#8217;re testing things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NODO Dweller</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256390</link>
		<dc:creator>NODO Dweller</dc:creator>
		<pubDate>Wed, 02 Apr 2008 18:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256390</guid>
		<description>If you&#039;re looking to go virtual and use an MS product, both Virtual PC and Virtual Server are free as of last summer or so.  Given a choice between the two products I&#039;d suggest Virtual Server 2005 R2 SP1 (at least until Hyper-V on Longhorn is released).  DMZ, send me email offline if you have any questions, I use VS daily for a variety of servers.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re looking to go virtual and use an MS product, both Virtual PC and Virtual Server are free as of last summer or so.  Given a choice between the two products I&#8217;d suggest Virtual Server 2005 R2 SP1 (at least until Hyper-V on Longhorn is released).  DMZ, send me email offline if you have any questions, I use VS daily for a variety of servers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat Irons</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256388</link>
		<dc:creator>Nat Irons</dc:creator>
		<pubDate>Wed, 02 Apr 2008 18:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256388</guid>
		<description>VMware is also a good tool for this kind of testing. I&#039;m not a Windows guy, but I believe Virtual PC for Windows is free, and a quick googling suggests that it does allow installation of non-Windows OSs, which would amount to much the same thing.</description>
		<content:encoded><![CDATA[<p>VMware is also a good tool for this kind of testing. I&#8217;m not a Windows guy, but I believe Virtual PC for Windows is free, and a quick googling suggests that it does allow installation of non-Windows OSs, which would amount to much the same thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StumpTownPirate</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256384</link>
		<dc:creator>StumpTownPirate</dc:creator>
		<pubDate>Wed, 02 Apr 2008 18:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256384</guid>
		<description>Sorry for the formatting/syntax issues in my last post.  I meant to say that: &lt;blockquote&gt;Both ONLamp and Wikipedia have good introductions to jails in FreeBSD&lt;/blockquote&gt;.</description>
		<content:encoded><![CDATA[<p>Sorry for the formatting/syntax issues in my last post.  I meant to say that:<br />
<blockquote>Both ONLamp and Wikipedia have good introductions to jails in FreeBSD</p></blockquote>
<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StumpTownPirate</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256383</link>
		<dc:creator>StumpTownPirate</dc:creator>
		<pubDate>Wed, 02 Apr 2008 18:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256383</guid>
		<description>I don&#039;t want to side-track the issue, but starting with FreeBSD 4, jails are provided, where you can setup virtual environments for, say, testing several Apache configurations/installations concurrently and safely.  Both 
&lt;a href=&quot;http://www.onlamp.com/pub/a/bsd/2006/03/09/jails-virtualization.html&quot; rel=&quot;nofollow&quot;&gt;ONLamp&lt;/a&gt; and 
&lt;a href=&quot;http://en.wikipedia.org/wiki/FreeBSD_Jail&quot; rel=&quot;nofollow&quot;&gt;Wikipedia&lt;/a&gt;.  It might be something to consider for the future, to ease these sorts of upgrades.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t want to side-track the issue, but starting with FreeBSD 4, jails are provided, where you can setup virtual environments for, say, testing several Apache configurations/installations concurrently and safely.  Both<br />
<a href="http://www.onlamp.com/pub/a/bsd/2006/03/09/jails-virtualization.html" rel="nofollow">ONLamp</a> and<br />
<a href="http://en.wikipedia.org/wiki/FreeBSD_Jail" rel="nofollow">Wikipedia</a>.  It might be something to consider for the future, to ease these sorts of upgrades.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat Irons</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256382</link>
		<dc:creator>Nat Irons</dc:creator>
		<pubDate>Wed, 02 Apr 2008 17:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256382</guid>
		<description>That looks healthy. Run &quot;make -n install&quot; to get a listing of all the commands it will try to perform during a live installation. It&#039;s a little opaque, but bring the output into a text editor and scan it for any paths to which it shouldn&#039;t be writing. The main scenario you&#039;re trying to avoid is one in which you didn&#039;t configure with the layout that you thought you did.

&quot;make -n install&quot; doesn&#039;t require root privileges, so it shouldn&#039;t be run with sudo (or from the root account, if you&#039;re the sort to live dangerously).

Apache 2 is in good shape; the rough edges in the installation process have been pretty well smoothed out. For maximum protection, if DF provides you with backup services, then coordinate the filesystem backup for a particular time, grab a database export before you begin, and you&#039;ll have a safety net of last resort that will cost you no more than an hour or so to fully recover.</description>
		<content:encoded><![CDATA[<p>That looks healthy. Run &#8220;make -n install&#8221; to get a listing of all the commands it will try to perform during a live installation. It&#8217;s a little opaque, but bring the output into a text editor and scan it for any paths to which it shouldn&#8217;t be writing. The main scenario you&#8217;re trying to avoid is one in which you didn&#8217;t configure with the layout that you thought you did.</p>
<p>&#8220;make -n install&#8221; doesn&#8217;t require root privileges, so it shouldn&#8217;t be run with sudo (or from the root account, if you&#8217;re the sort to live dangerously).</p>
<p>Apache 2 is in good shape; the rough edges in the installation process have been pretty well smoothed out. For maximum protection, if DF provides you with backup services, then coordinate the filesystem backup for a particular time, grab a database export before you begin, and you&#8217;ll have a safety net of last resort that will cost you no more than an hour or so to fully recover.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DMZ</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256369</link>
		<dc:creator>DMZ</dc:creator>
		<pubDate>Wed, 02 Apr 2008 17:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256369</guid>
		<description>I did:
  prefix:        /usr/local
  exec_prefix:   ${prefix}
  bindir:        ${exec_prefix}/bin
  sbindir:       ${exec_prefix}/sbin

I really think that if I just installed it it would work fine and I could test it and everything, but then I remember that the only time that thought ever pans out is when I&#039;m upgrading Wordpress.</description>
		<content:encoded><![CDATA[<p>I did:<br />
  prefix:        /usr/local<br />
  exec_prefix:   ${prefix}<br />
  bindir:        ${exec_prefix}/bin<br />
  sbindir:       ${exec_prefix}/sbin</p>
<p>I really think that if I just installed it it would work fine and I could test it and everything, but then I remember that the only time that thought ever pans out is when I&#8217;m upgrading WordPress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat Irons</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256367</link>
		<dc:creator>Nat Irons</dc:creator>
		<pubDate>Wed, 02 Apr 2008 17:16:07 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256367</guid>
		<description>It&#039;s conventional to put the binaries under /usr/local/apache2/bin and /usr/local/apache2/sbin, so you can easily differentiate them from the apache 1.3 binaries -- you can access them using full paths while you&#039;re testing, and once you start to rely on 2.2, just list those two directories early in your $PATH environment variable. 

Have you already been over config.layout, in the root of the apache 2 source directory? The bindir and sbindir settings there should help you avoid surprises.</description>
		<content:encoded><![CDATA[<p>It&#8217;s conventional to put the binaries under /usr/local/apache2/bin and /usr/local/apache2/sbin, so you can easily differentiate them from the apache 1.3 binaries &#8212; you can access them using full paths while you&#8217;re testing, and once you start to rely on 2.2, just list those two directories early in your $PATH environment variable. </p>
<p>Have you already been over config.layout, in the root of the apache 2 source directory? The bindir and sbindir settings there should help you avoid surprises.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DMZ</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256347</link>
		<dc:creator>DMZ</dc:creator>
		<pubDate>Wed, 02 Apr 2008 16:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256347</guid>
		<description>And, you know, I can&#039;t turn root over to someone and have them pull this off for me.</description>
		<content:encoded><![CDATA[<p>And, you know, I can&#8217;t turn root over to someone and have them pull this off for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DMZ</title>
		<link>http://www.ussmariner.com/2008/04/02/ussm-tech-requests/comment-page-1/#comment-256346</link>
		<dc:creator>DMZ</dc:creator>
		<pubDate>Wed, 02 Apr 2008 16:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://ussmariner.com/?p=4989#comment-256346</guid>
		<description>Unfortunately, we don&#039;t have a pre-production environment to run this stuff on.

Specifically, I&#039;m worried about the pathing and config. What do you use for pathing when you run ./configure on an upgrade like this?

Right now it&#039;s all standard: apache&#039;s living in /usr/local/etc/apache, the binaries sit in /usr/local/sbin, and everything runs happily

Now if I read the 2.2 docs right, the default install path is /usr/local/apache2

Good times.</description>
		<content:encoded><![CDATA[<p>Unfortunately, we don&#8217;t have a pre-production environment to run this stuff on.</p>
<p>Specifically, I&#8217;m worried about the pathing and config. What do you use for pathing when you run ./configure on an upgrade like this?</p>
<p>Right now it&#8217;s all standard: apache&#8217;s living in /usr/local/etc/apache, the binaries sit in /usr/local/sbin, and everything runs happily</p>
<p>Now if I read the 2.2 docs right, the default install path is /usr/local/apache2</p>
<p>Good times.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

