<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>少佐が爆発しました。</title>
	<atom:link href="http://www.wpsyo-sa.org/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpsyo-sa.org</link>
	<description>日記兼WordPressの実験場な感じのブログ。</description>
	<lastBuildDate>Sun, 06 Dec 2009 19:44:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/feed" />
		<item>
		<title>【追記】Apacheの設定に四苦八苦</title>
		<link>http://www.wpsyo-sa.org/archives/334</link>
		<comments>http://www.wpsyo-sa.org/archives/334#comments</comments>
		<pubDate>Thu, 03 Dec 2009 16:28:50 +0000</pubDate>
		<dc:creator>少佐</dc:creator>
				<category><![CDATA[開発]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.wpsyo-sa.org/?p=334</guid>
		<description><![CDATA[今までテスト環境を構築するのにXAMPPに頼ってたが、
今回はApache、MySQL、Perl、PHPと個別にセットアップする事に。
・・・・・で、いきなりApacheの設定で躓いたというorz
とりあえず、インストー [...]]]></description>
			<content:encoded><![CDATA[<p>今までテスト環境を構築するのにXAMPPに頼ってたが、<br />
今回はApache、MySQL、Perl、PHPと個別にセットアップする事に。</p>
<p>・・・・・で、いきなりApacheの設定で躓いたというorz<br />
とりあえず、インストールしてから躓くまでの経緯を。</p>
<h4>インストール</h4>
<ul>
<li><a href="http://httpd.apache.org/download.cgi" target="_blank">apacheの公式</a>からapache_2.2.14-win32-x86-no_ssl.msiをダウンロード。</li>
<li>インストーラーを起動。</li>
<li>NetworkDomainとServerNameをlocalhostに。</li>
<li>&#8220;for All Users, on Port80, as a Service &#8212; Recommended&#8221;にチェック</li>
<li>taskbar Icon と Document は外してカスタムインストール</li>
<li>http://localhost/にアクセス。</li>
</ul>
<p><a href="http://www.wpsyo-sa.org/wp-content/uploads/2009/12/localhost.jpg"><img class="size-medium wp-image-335 alignnone" title="localhost" src="http://www.wpsyo-sa.org/wp-content/uploads/2009/12/localhost-300x251.jpg" alt="localhost" width="300" height="251" /></a></p>
<p>・・・・ここまではクリア。</p>
<h4>httpd.exe に PATH を通す</h4>
<p>以下のパスを環境変数 PATH に追加する</p>
<p>C:\Program Files\Apache Software Foundation\Apache2.2\bin</p>
<p>「管理者として実行」したコマンドプロンプトから</p>
<pre>&gt; httpd -k start
&gt; httpd -k stop
&gt; httpd -k restart</pre>
<p>のように、ウェブサーバの開始、停止、再起動が出来るように。</p>
<h4>UserDir 設定</h4>
<p>ここで躓いた。</p>
<p>C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf の<br />
123 行目をコメントイン</p>
<pre><span>LoadModule</span> userdir_module modules/mod_userdir.so</pre>
<p>455 行目をコメントイン</p>
<pre><span>Include</span> conf/extra/httpd-<span>userdir</span>.conf</pre>
<p>次は、</p>
<p>C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-userdir.conf</p>
<pre class="brush: xml">
UserDir &quot;C:/Users/*/Website&quot;
&lt;Directory &quot;C:/Users/*/Website&quot;&gt;
AllowOverride All
Options ExecCGI Indexes FollowSymLinks
Order allow,deny
Allow from all
&lt;/Directory&gt;
</pre>
<p>・・・・といった感じに編集。</p>
<p>ディレクトリC:\Users\syo-sa\Websiteを作成。</p>
<p>これで、http://localhost/~syo-sa/にアクセスすると、C:\Users\syo-sa\Website以下を参照するはずが・・・</p>
<p><a href="http://www.wpsyo-sa.org/wp-content/uploads/2009/12/syo-sa.jpg"><img class="alignnone size-medium wp-image-351" title="syo-sa" src="http://www.wpsyo-sa.org/wp-content/uploads/2009/12/syo-sa-300x253.jpg" alt="syo-sa" width="300" height="253" /></a></p>
<p>・・・・失敗orz</p>
<p>とりあえず、C:\Program Files\Apache Software Foundation\Apache2.2\logs\error.logを参照。</p>
<p>http://localhost/~syo-saにアクセスした時のログを見ると・・・</p>
<p>[Thu Dec 03 14:42:33 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/~syo-sa</p>
<p>・・・・これは、C:\Users\syo-sa\Website以下を参照するはずが、何らかの原因で<br />
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/~syo-sa<br />
が参照されていると見るべきだろうか・・・？</p>
<p>試しにC:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-userdir.conf を</p>
<pre class="brush: xml">
UserDir &quot;C:/home/*/public_html&quot;
&lt;Directory &quot;C:/home/*/public_html&quot;&gt;
AllowOverride All
Options ExecCGI Indexes FollowSymLinks
Order allow,deny
Allow from all
&lt;/Directory&gt;
</pre>
<p>に編集してから、同じようにディレクトリC:\home\syo-sa\public_htmlを作成。<br />
もう一度アクセスしてみるものの、やはり失敗。</p>
<p>・・・・と、なるとC:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf　が原因か。</p>
<p>とりあえず、マニュアル見つつ、もう少し調べてみます。</p>
<h4>【追記：09/12/07】</h4>
<p>アクセスログ書いてなかった（’’；</p>
<blockquote><p>http://localhost/にアクセス時http://localhost/にアクセス時<br />
127.0.0.1 &#8211; - [07/Dec/2009:04:38:14 +0900] &#8220;GET / HTTP/1.1&#8243; 200 44<br />
127.0.0.1 &#8211; - [07/Dec/2009:04:38:15 +0900] &#8220;GET /favicon.ico HTTP/1.1&#8243; 404 209</p></blockquote>
<blockquote><p>http://localhost/~syo-sa/にアクセス時<br />
127.0.0.1 &#8211; - [07/Dec/2009:04:42:04 +0900] &#8220;GET /~syo-sa HTTP/1.1&#8243; 404 205<br />
又は<br />
127.0.0.1 &#8211; - [07/Dec/2009:04:29:43 +0900] &#8220;GET /~syo-sa/ HTTP/1.1&#8243; 404 206</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsyo-sa.org/archives/334/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/archives/334" />
	</item>
		<item>
		<title>ねんがんの　ノートパソコンを</title>
		<link>http://www.wpsyo-sa.org/archives/318</link>
		<comments>http://www.wpsyo-sa.org/archives/318#comments</comments>
		<pubDate>Wed, 25 Nov 2009 16:40:47 +0000</pubDate>
		<dc:creator>少佐</dc:creator>
				<category><![CDATA[お知らせ]]></category>
		<category><![CDATA[勉強会]]></category>
		<category><![CDATA[日記]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ノートPC]]></category>

		<guid isPermaLink="false">http://www.wpsyo-sa.org/?p=318</guid>
		<description><![CDATA[手に入れたので、買ってからした事、これからする事などをまとめてみる。
ノートPCを買おうと思った経緯など
以前からブログにまとめようと思ってて、結局書かずじまいになってしまってる事なんですが、
10月辺りから11月の頭に [...]]]></description>
			<content:encoded><![CDATA[<p>手に入れたので、買ってからした事、これからする事などをまとめてみる。</p>
<h4>ノートPCを買おうと思った経緯など</h4>
<p>以前からブログにまとめようと思ってて、結局書かずじまいになってしまってる事なんですが、<br />
10月辺りから11月の頭にかけて、<a href="http://regional.rubykaigi.org/nagoya01" target="_blank">名古屋Ruby会議０１</a>、<a href="http://www.wankuma.com/seminar/20091024osaka32/Default.aspx" target="_blank">わんくま大阪#32</a>、<a href="http://atnd.org/events/1797" target="_blank">Vim勉強会#4</a><br />
・・・と、いった感じに勉強会に参加してました。</p>
<p>それで参加してるときに、<br />
「やっぱり、外で使えるマシン欲しいよなー・・・ってか、勉強会によっては<br />
マシン持ってきてないの俺だけだよ、恥ずかしいぃ！！」<br />
・・・・と、思ったわけです、ハイ。</p>
<p>その上、丁度わんくま大阪に参加した時に中さんから「少佐もわんくまで喋ろうよ！」<br />
と、いう話が出てきて、1月23日にLT（ライトニング・トークで）で喋ることになり、<br />
これはいよいよノートPC要るなということで、ノートPC購入に踏み切った次第です、ハイ。<br />
（確か、4月もセッションとか言ってた気が（＠＠；</p>
<h4>ノートＰＣのスペックとか</h4>
<p>ＯＳ：WindowsVista HOMEPremium 32bit<br />
CPU：Core2Duo T9500<br />
メモリ：２GB</p>
<p>・・・・大体こんな感じ。</p>
<h4>とりあえず、買ってからやった事</h4>
<p>まずは初期設定。<br />
↓<br />
開幕ノートンが立ち上がる。何やら有効化しろとか言ってるけど、スルー。<br />
↓<br />
まずはタスクマネージャを立ち上げる。何もしてないのに４６％も食ってやがる・・・<br />
・・・Vistaってこんなもんなの？<br />
↓<br />
Windowsのアップデート⇒再起動を無くなるまで繰り返す。<br />
↓<br />
サイドバーが鬱陶しいので、閉じる。立ち上げた時に勝手に開かないようにも設定。<br />
↓<br />
ノートン要らない（てか、個人的にあまり好きになれない）ので、アンインストール。<br />
↓<br />
Ａｖａｓｔ!をダウンロードしてインストール。<br />
↓<br />
再びタスクマネージャを見ながら、要らないプロセスは無いかと探してみる。<br />
↓<br />
これといったものがないので、FireFoxをインストール。<br />
↓<br />
必要なアドオンをインストール←イマココ！</p>
<h4>これからどうするか？or何を入れるか？</h4>
<p>3週間位でWin７が届くので、最終的にはWin７とUbuntuのデュアルブートで開発環境を構築したいところ。<br />
しかし当面はVistaを使うことになるので、Vistaで環境構築。</p>
<p>あと、可能ならメモリも２GBから４GBに増設したいですね。</p>
<p>入れたいものを<a href="http://d.hatena.ne.jp/amachang/20081221/1229855379" target="_blank">この記事を参考にしつつ</a>（？）、思いつくまま挙げていくと・・・</p>
<ul>
<li>Vim(主にRuby、PHPを書くため)</li>
<li>Eclipce（Java用、たまにPHP）</li>
<li>Apache（ローカルのテスト環境）</li>
<li>PHP5.2.x</li>
<li>Ruby1.9.x</li>
<li>Rails</li>
<li>JDK6</li>
<li>MySQL</li>
<li>PostgreSQL</li>
<li>バージョン管理ツール（subversionとか？）</li>
</ul>
<p>とりあえず、今考えられるのを挙げていくと、こんな感じですかね。<br />
Apache、MySQL、PHPに関しては、今までXAMPPで一度に入れてたんですが、<br />
今回は各々別々に入れていこうかなと思っています。</p>
<p>とりあえず、まずはVimとRuby辺りから入れていくかな・・・。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsyo-sa.org/archives/318/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/archives/318" />
	</item>
		<item>
		<title>大阪クラスタ（ry 改め 関西Twitter飲み会</title>
		<link>http://www.wpsyo-sa.org/archives/313</link>
		<comments>http://www.wpsyo-sa.org/archives/313#comments</comments>
		<pubDate>Mon, 26 Oct 2009 21:49:29 +0000</pubDate>
		<dc:creator>少佐</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[オフ]]></category>
		<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://www.wpsyo-sa.org/?p=313</guid>
		<description><![CDATA[とりあえず、前回の記事から色々と決定＆変更したことなど。
詳細
会場：和の個室空間　桜坂
集合場所：地下鉄西梅田駅出口4B
予算：約４０００円位
日時：11月22日(日)１７：３０集合（予約は１８:００）
参加表明につい [...]]]></description>
			<content:encoded><![CDATA[<p>とりあえず、前回の記事から色々と決定＆変更したことなど。</p>
<h4>詳細</h4>
<p>会場：<a href="http://www.hotpepper.jp/strJ000662187/" target="_blank">和の個室空間　桜坂</a><br />
集合場所：<a href="http://map.goo.ne.jp/map.php?MAP=E135.29.53.500N34.41.46.900&amp;ZM=12" target="_blank">地下鉄西梅田駅出口4B</a><br />
予算：約４０００円位<br />
日時：11月22日(日)１７：３０集合（予約は１８:００）</p>
<h4>参加表明について。</h4>
<p>ATNDで受付に変更しました。<a href="http://atnd.org/events/1941" target="_blank"></p>
<p>http://atnd.org/events/1941</a></p>
<p>当日の一週間前まで受け付けてますので、お気軽に！</p>
<h4>現時点での参加メンバー（間違ってたらゴメン！）</h4>
<ul>
<li>@syo_sa1982</li>
<li>@akineko</li>
<li>@gizmo_s</li>
<li>@che_yujin</li>
</ul>
<p>・・・と、まあこんな感じで。<br />
変更があったら随時書き換えます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsyo-sa.org/archives/313/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/archives/313" />
	</item>
		<item>
		<title>【その3】大阪クラスタと飲みたいとか（ｒｙ</title>
		<link>http://www.wpsyo-sa.org/archives/306</link>
		<comments>http://www.wpsyo-sa.org/archives/306#comments</comments>
		<pubDate>Tue, 29 Sep 2009 18:36:22 +0000</pubDate>
		<dc:creator>少佐</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[オフ]]></category>
		<category><![CDATA[日記]]></category>
		<category><![CDATA[オフ会]]></category>

		<guid isPermaLink="false">http://www.wpsyo-sa.org/?p=306</guid>
		<description><![CDATA[前回までのあらすじ・・・http://www.wpsyo-sa.org/archives/290
言い出してから大分経つので、そろそろいい加減に詳細をある程度固めてみる。
まずは詳細
場所：梅田（お店・集合場所は追々決め [...]]]></description>
			<content:encoded><![CDATA[<p>前回までのあらすじ・・・<a href="http://www.wpsyo-sa.org/archives/290" target="_blank">http://www.wpsyo-sa.org/archives/290</a></p>
<p>言い出してから大分経つので、そろそろいい加減に詳細をある程度固めてみる。</p>
<h4>まずは詳細</h4>
<p>場所：梅田（お店・集合場所は追々決めます。）<br />
予算：３０００円～４０００円位（とりあえず、コースで考えてます。）<br />
日時：11月22日(日)１７：００集合</p>
<h4>まだ決まってない部分について</h4>
<p>決めかねてるというか悩んでる部分を箇条書きしていくと、こんな感じ。</p>
<ul>
<li>場所的に梅田が妥当だと思うが、判りやすい集合場所どこが良いか？</li>
<li>2次会の候補はカラオケ・ダーツバーの2択で考え中。</li>
<li>そういえば梅田周辺の店詳しくない（←ググレカス</li>
</ul>
<p>・・・とまあ、そんな感じです、ハイ。</p>
<h4>参加表明について。</h4>
<p>参加表明に関しては、このエントリにTwitterアカウント明記した上でコメントしていただくか、<br />
直接、私のTwitterアカウント(＠syo_sa1982)にダイレクトメッセージをお願いします。</p>
<p>こちらで確認が取れ次第、私の連絡先をダイレクトメッセージにてお送りします。</p>
<h4>・・・とまあ、そんなかんじで</h4>
<p>関西クラスタとは言いつつも、色んな人が居ますが、楽しく飲めればいいかなと思っています。<br />
私自身、余り幹事の経験が無いので、至らない点が多いですが、よろしくお願いいたします！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsyo-sa.org/archives/306/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/archives/306" />
	</item>
		<item>
		<title>名古屋Ruby会議01に参加します。</title>
		<link>http://www.wpsyo-sa.org/archives/292</link>
		<comments>http://www.wpsyo-sa.org/archives/292#comments</comments>
		<pubDate>Tue, 15 Sep 2009 22:42:05 +0000</pubDate>
		<dc:creator>少佐</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[勉強会]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://www.wpsyo-sa.org/?p=292</guid>
		<description><![CDATA[少し前からRubyが気になってた私ですが、
10月10日に名古屋にてRubyの勉強会があるとのことで参加してきます。
詳細は下記リンクにて。
名古屋Ｒｕｂｙ会議
というわけで、これを機に以前買った、Rubyの技術書を読み [...]]]></description>
			<content:encoded><![CDATA[<p>少し前からRubyが気になってた私ですが、<br />
10月10日に名古屋にてRubyの勉強会があるとのことで参加してきます。<br />
詳細は下記リンクにて。</p>
<p><strong><a href="http://regional.rubykaigi.org/nagoya01" target="_blank">名古屋Ｒｕｂｙ会議</a></strong></p>
<p>というわけで、これを機に以前買った、Rubyの技術書を読みつつ、<br />
少し本腰入れてＲｕｂｙの勉強始めようかと。<br />
まずは・・・</p>
<pre class="brush: ruby">

print(&quot;Hello, Ruby.\n&quot;)
</pre>
<pre>Hello, Ruby.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsyo-sa.org/archives/292/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.wpsyo-sa.org/archives/292" />
	</item>
	</channel>
</rss>
