<?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>Dazzling World -貳- &#187; Linux</title>
	<atom:link href="http://www.dazzlingworld2.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dazzlingworld2.com</link>
	<description>だずりんぐわーるどつぅ</description>
	<lastBuildDate>Wed, 21 Jul 2010 10:36:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/category/linux/feed" />
		<item>
		<title>アクセス解析ツール「Visitors」</title>
		<link>http://www.dazzlingworld2.com/post_4719.html</link>
		<comments>http://www.dazzlingworld2.com/post_4719.html#comments</comments>
		<pubDate>Wed, 07 Jul 2010 10:11:52 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[アクセス解析]]></category>
		<category><![CDATA[ログ]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=4719</guid>
		<description><![CDATA[ApacheLogViewerでのアクセス解析もいいんだけれど、外から見る場合(実家とか)ログファイルをダウンロードしたり、わざわざApacheLogViewerをインストールするのも面倒なのでVisitorsというアク [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ne.jp/asahi/ns01/info/circle/ApacheLogViewer/download.html">ApacheLogViewer</a>でのアクセス解析もいいんだけれど、外から見る場合(実家とか)ログファイルをダウンロードしたり、わざわざApacheLogViewerをインストールするのも面倒なので<a href="http://www.hping.org/visitors/index_jp.php">Visitors</a>というアクセス解析ソフトを使ってみることにした。</p>
<p>■ インストール<br />
[bash]<br />
wget http://www.hping.org/visitors/visitors-0.7.tar.gz<br />
tar xvzf visitors-0.7.tar.gz<br />
cd visitors_0.7<br />
make<br />
cp visitors /usr/bin<br />
[/bash]</p>
<p>ダウンロードして回答してmakeして、出来上がったvisitorsファイルを/usr/binにコピー。<br />
なんてことないですね。</p>
<p>■ 使い方<br />
ちまちまオプションを指定するのも面倒なんで全情報を上位30件表示。<br />
[bash]<br />
visitors -A -m 30 access.log -o html &#8211;trails &#8211;prefix http://dazzlingworld2.com > report.html<br />
[/bash]</p>
<p>■ cron<br />
毎日出力するようなものは、cronにお任せー。</p>
<p>※以下はうちの場合です。<br />
ログ出力ディレクトリ： /mnt/data1/data/log<br />
ログのファイル名形式： access[年月日].log<br />
解析出力先： ログ出力ディレクトリ</p>
<p>日(visitors_day.sh)<br />
[bash]<br />
#!/bin/bash<br />
cd /mnt/data1/data/log<br />
visitors -A -m 30 access`date &#8211;date &#8217;1 day ago&#8217; +%Y%m%d`.log -o html &#8211;trails &#8211;prefix http://dazzlingworld2.com > access`date &#8211;date &#8217;1 day ago&#8217; +%Y%m%d`report.html<br />
[/bash]</p>
<p>週(visitors_week.sh)<br />
[bash]<br />
#!/bin/bash<br />
for i in `seq 1 7`;<br />
do<br />
    arg[$i]=access`date &#8211;date $i&#8217; day ago&#8217; +%Y%m%d`.log<br />
done<br />
cd /mnt/data1/data/log<br />
visitors -A -m 30 ${arg[@]} -o html &#8211;trails &#8211;prefix http://dazzlingworld2.com > access`date &#8211;date &#8217;7 day ago&#8217; +%Y%m%d`-`date &#8211;date &#8217;1 day ago&#8217; +%Y%m%d`report.html<br />
[/bash]</p>
<p>月(visitors_month.sh)<br />
[bash]<br />
#!/bin/bash<br />
cd /mnt/data1/data/log<br />
visitors -A -m 30 access`date &#8211;date &#8217;1 month ago&#8217; +%Y%m`*.log -o html &#8211;trails &#8211;prefix http://dazzlingworld2.com >  access`date &#8211;date &#8217;1 month ago&#8217; +%Y%m`report.html<br />
[/bash]</p>
<p>これらを<br />
/etc/cron.daily/<br />
/etc/cron.weekly/<br />
/etc/cron.monthly/<br />
に設置すれば、実行してくれるんじゃないかなぁ。<br />
まだ、週と月は動いてないンだ。</p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2010. | <a href="http://www.dazzlingworld2.com/post_4719.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_4719.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_4719.html&title=アクセス解析ツール「Visitors」">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/apache" rel="tag">Apache</a>, <a href="http://www.dazzlingworld2.com/tags/linux" rel="tag">Linux</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e8%a7%a3%e6%9e%90" rel="tag">アクセス解析</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%83%ad%e3%82%b0" rel="tag">ログ</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_4719.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4471.html" title="view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa (2010/06/04)">view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4255.html" title="WordPressに403を (2010/05/29)">WordPressに403を</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4247.html" title="こっち見んな！ (2010/05/29)">こっち見んな！</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4232.html" title="Logwatchが来なくなった！ (2010/05/24)">Logwatchが来なくなった！</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4092.html" title="蝕 (2010/04/21)">蝕</a> (3)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1441.html" title="ちょｗ (2009/04/16)">ちょｗ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1422.html" title="何となく (2009/04/13)">何となく</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1130.html" title="2009年2月　アクセス解析 (2009/03/01)">2009年2月　アクセス解析</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_731.html" title="2009年1月　アクセス解析 (2009/02/01)">2009年1月　アクセス解析</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_598.html" title="2008年度12月分　アクセス解析 (2009/01/10)">2008年度12月分　アクセス解析</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_4719.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_4719.html" />
	</item>
		<item>
		<title>view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa</title>
		<link>http://www.dazzlingworld2.com/post_4471.html</link>
		<comments>http://www.dazzlingworld2.com/post_4471.html#comments</comments>
		<pubDate>Fri, 04 Jun 2010 11:25:36 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[エラー]]></category>
		<category><![CDATA[サーバー]]></category>
		<category><![CDATA[プライベートアドレス]]></category>
		<category><![CDATA[ログ]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=4471</guid>
		<description><![CDATA[ログを見ていたらbindの以下のようなエラーが出てた。
[text]
Jun  4 18:01:04 bar named[xxxx]: client 127.0.0.1#xxxxx: view internal: RFC [...]]]></description>
			<content:encoded><![CDATA[<p>ログを見ていたらbindの以下のようなエラーが出てた。</p>
<p>[text]<br />
Jun  4 18:01:04 bar named[xxxx]: client 127.0.0.1#xxxxx: view internal: RFC 1918 response from Internet for xxxx.xxxx.168.192.in-addr.arpa<br />
[/text]</p>
<p>調べてみると、「プライベートアドレスが外に漏れてますよ」という意味らしい。<br />
ためしにサーバー上で</p>
<p>[bash]<br />
dig -x 192.168.123.123<br />
[/bash]</p>
<p>をやってみたら、プライベートアドレスが見えて、ログが残った。<br />
view internalなので、このログ自体には問題はないんだけど、そのうち本当に外に漏れるかもしれないし、他に問題が発生するかもしれないので対処する。</p>
<p>/etc/named.conf<br />
[bash]<br />
zone &#8220;168.192.IN-ADDR.ARPA&#8221; {<br />
        type master;<br />
        file &#8220;empty&#8221;;<br />
};<br />
[/bash]</p>
<p>/var/named/empty<br />
[bash]<br />
@ 10800 IN SOA &lt;name-of-server&gt;. &lt;contact-email&gt;. (<br />
               1 3600 1200 604800 10800 )<br />
@ 10800 IN NS &lt;name-of-server&gt;.<br />
[/bash]</p>
<p>最後にbindを再起動して、digコマンド打ってみてエラーが出なくなったことを確認する。</p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2010. | <a href="http://www.dazzlingworld2.com/post_4471.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_4471.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_4471.html&title=view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/bind" rel="tag">bind</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%82%a8%e3%83%a9%e3%83%bc" rel="tag">エラー</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc" rel="tag">サーバー</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9" rel="tag">プライベートアドレス</a>, <a href="http://www.dazzlingworld2.com/tags/%e3%83%ad%e3%82%b0" rel="tag">ログ</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_4471.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4719.html" title="アクセス解析ツール「Visitors」 (2010/07/07)">アクセス解析ツール「Visitors」</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4247.html" title="こっち見んな！ (2010/05/29)">こっち見んな！</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3688.html" title="メンテナンスは大事です。（マジで！ (2009/11/22)">メンテナンスは大事です。（マジで！</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3586.html" title="きゅいーーーん (2009/11/12)">きゅいーーーん</a> (1)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3486.html" title="あなたが無くしたモノ (2009/11/03)">あなたが無くしたモノ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_2447.html" title="プラグインと動作チェック (2009/07/13)">プラグインと動作チェック</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1812.html" title="色々テスト (2009/07/04)">色々テスト</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1795.html" title="ヤドカリのあれ (2009/07/04)">ヤドカリのあれ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1598.html" title="ぷらぐいん (2009/06/13)">ぷらぐいん</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1541.html" title="トカレフロシアンルーレット (2009/05/24)">トカレフロシアンルーレット</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_4471.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_4471.html" />
	</item>
		<item>
		<title>Logwatchが来なくなった！</title>
		<link>http://www.dazzlingworld2.com/post_4232.html</link>
		<comments>http://www.dazzlingworld2.com/post_4232.html#comments</comments>
		<pubDate>Mon, 24 May 2010 11:45:39 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=4232</guid>
		<description><![CDATA[サーバーの日々の診断書的なLogwatchが来なくなった。
cron.dailyにちゃんと入れてるので毎日動いてくれるはず何だけれど、何故か動かない。
てことで、cronのログを見てみた。
[bash]
# less / [...]]]></description>
			<content:encoded><![CDATA[<p>サーバーの日々の診断書的なLogwatchが来なくなった。</p>
<p>cron.dailyにちゃんと入れてるので毎日動いてくれるはず何だけれど、何故か動かない。<br />
てことで、cronのログを見てみた。</p>
<p>[bash]<br />
# less /var/log/cron<br />
May 23 22:01:01 xxx anacron[22051]: Job `cron.daily&#8217; locked by another anacron &#8211; skipping<br />
May 23 22:01:01 xxx anacron[22051]: Normal exit (0 jobs run)<br />
[/bash]</p>
<p>おやー？<br />
「今動いてるからロックされてるよ。スキップするね。」的なメッセージが…</p>
<p><span style="color: #ff0000;">今　動　い　て　る　だ　と　？</span></p>
<p>[bash]<br />
# ps aux | grep cron<br />
root      3905  0.0  0.0 106956   884 pts/0    SN+  19:19   0:00 grep cron<br />
root     10936  0.0  0.0 111956  1268 ?        SNs  May23   0:00 crond<br />
root     19192  0.0  0.0  14532   920 ?        SNs  May23   0:00 /usr/sbin/anacron -s<br />
root     19681  0.0  0.0   9100  1140 ?        SN   May23   0:00 /bin/bash /usr/bin/run-parts /etc/cron.daily<br />
root     21888  0.0  0.0   9100  1096 ?        SN   May23   0:00 /bin/bash /etc/cron.daily/clamav.sh<br />
root     21889  0.0  0.0   8952   740 ?        SN   May23   0:00 awk -v progname /etc/cron.daily/clamav.sh progname {?????   print progname &#8220;:\n&#8221;?????   progname=&#8221;";????       }????       { print; }<br />
[/bash]</p>
<p>clamav.shで止まってるっぽいね。<br />
clamav.shって、ウイルススキャンなんすけど…<br />
とりあえず、普通にスキャンしてみる。<br />
と、その前にclamav.sh殺しておこうかな。</p>
<p>[bash]<br />
# kill 21888<br />
[/bash]</p>
<p>殺したら後続のが動いた。<br />
で、普通にスキャン。</p>
<p>[text]<br />
LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0<br />
[/text]</p>
<p>こんなメッセージが<strong>/sys</strong>でたくさん出て止まった…<br />
CPU使用率100%になったまま…</p>
<p>preadのエラーかな？<br />
ちなみに、clamdのヴァージョンは0.96.1<br />
ちょろっと検索してみたけど、解決策はないみたいで…<br />
ヴァージョンアップ待ちだってさ。</p>
<p>仕方ないので/sysをスキャンから除外。</p>
<p><a href="http://www.dazzlingworld2.com/post_4232.html">続きを読む</a></p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2010. | <a href="http://www.dazzlingworld2.com/post_4232.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_4232.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_4232.html&title=Logwatchが来なくなった！">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/linux" rel="tag">Linux</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_4232.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4719.html" title="アクセス解析ツール「Visitors」 (2010/07/07)">アクセス解析ツール「Visitors」</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4092.html" title="蝕 (2010/04/21)">蝕</a> (3)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1441.html" title="ちょｗ (2009/04/16)">ちょｗ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1422.html" title="何となく (2009/04/13)">何となく</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_4232.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_4232.html" />
	</item>
		<item>
		<title>メンテナンスは大事です。（マジで！</title>
		<link>http://www.dazzlingworld2.com/post_3688.html</link>
		<comments>http://www.dazzlingworld2.com/post_3688.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 18:27:59 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[サーバー]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=3688</guid>
		<description><![CDATA[稼動し続けて６ヶ月。
電源落としたり点検したりとか皆無だったサーバー様。
軽い気持ちで埃くらい取るかと、ふたを開けたのが午後10時。
終わったのが午前3時。
全ての原因はCPUクーラー。
誇りがたまってるCPUファンをテ [...]]]></description>
			<content:encoded><![CDATA[<p>稼動し続けて６ヶ月。<br />
電源落としたり点検したりとか皆無だったサーバー様。</p>
<p>軽い気持ちで埃くらい取るかと、ふたを開けたのが午後10時。<br />
終わったのが午前3時。</p>
<p>全ての原因はCPUクーラー。<br />
誇りがたまってるCPUファンをティッシュでひとぬぐい。<br />
きれいに埃と一緒に</p>
<p><strong><span style="color: #ff0000;font-size:20pt;">CPUクーラーも取れた。</span></strong></p>
<p>これは、下手したらCPUが弾き飛んでたのか…<br />
あぶねー</p>
<p>さらによく見るとファンのねじが緩みまくっている。<br />
メモリの爪もなぜか取れかけている。</p>
<p>な　ん　だ　こ　れ　は　！<br />
これは徹底的にやるしかない。</p>
<p>CPUクーラー取れたのでマザーボードも取り外して掃除。<br />
ケースファンは光らない低速ファンに変更。<br />
パワーLEDもまぶしいので外した。<br />
6台目ハードディスク設置。<br />
そして、ねじ締め。これでもかってくらい締めてやったわ。</p>
<p>最後にシステムファイルのチェック。<br />
いろいろバージョンあげたら動かなくなって泣いた。<br />
必死で戻した三時間。ありがとうございました。</p>
<p>これからは、最低3ヶ月に一回はメンテなり掃除なりしようかと思います。</p>
<p><strong>■ おまけ</strong><br />
５台連結にてら<br />
<a href="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112201.jpg"><img class="alignnone size-medium wp-image-3689" title="マイコンピュータ" src="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112201-550x365.jpg" alt="マイコンピュータ" width="550" height="365" /></a></p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2009. | <a href="http://www.dazzlingworld2.com/post_3688.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_3688.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_3688.html&title=メンテナンスは大事です。（マジで！">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc" rel="tag">サーバー</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_3688.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4471.html" title="view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa (2010/06/04)">view internal: RFC 1918 response from Internet for xxx.xxx.168.192.in-addr.arpa</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_4247.html" title="こっち見んな！ (2010/05/29)">こっち見んな！</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3586.html" title="きゅいーーーん (2009/11/12)">きゅいーーーん</a> (1)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3486.html" title="あなたが無くしたモノ (2009/11/03)">あなたが無くしたモノ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_2447.html" title="プラグインと動作チェック (2009/07/13)">プラグインと動作チェック</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1812.html" title="色々テスト (2009/07/04)">色々テスト</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1795.html" title="ヤドカリのあれ (2009/07/04)">ヤドカリのあれ</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1598.html" title="ぷらぐいん (2009/06/13)">ぷらぐいん</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1541.html" title="トカレフロシアンルーレット (2009/05/24)">トカレフロシアンルーレット</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_1061.html" title="304 -Not Modified- (2009/02/21)">304 -Not Modified-</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_3688.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_3688.html" />
	</item>
		<item>
		<title>ワインでもいかがかな？</title>
		<link>http://www.dazzlingworld2.com/post_3684.html</link>
		<comments>http://www.dazzlingworld2.com/post_3684.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 06:54:43 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=3684</guid>
		<description><![CDATA[意外と動くな。
テキストより音声が先にくるけどｗ



© だかね for Dazzling World -貳-, 2009. &#124; Permalink &#124; No comment &#124;
Add to del.icio. [...]]]></description>
			<content:encoded><![CDATA[<p>意外と動くな。<br />
テキストより音声が先にくるけどｗ</p>
<p><a href="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112103.jpg"><img class="alignnone size-medium wp-image-3685" title="ワインでもいかが？" src="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112103-550x343.jpg" alt="ワインでもいかが？" width="550" height="343" /></a></p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2009. | <a href="http://www.dazzlingworld2.com/post_3684.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_3684.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_3684.html&title=ワインでもいかがかな？">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/fedora" rel="tag">Fedora</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_3684.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4092.html" title="蝕 (2010/04/21)">蝕</a> (3)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3671.html" title="日本語も不自由ですが日本語しか… (2009/11/21)">日本語も不自由ですが日本語しか…</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3668.html" title="休日だからこそ (2009/11/21)">休日だからこそ</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_3684.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_3684.html" />
	</item>
		<item>
		<title>日本語も不自由ですが日本語しか…</title>
		<link>http://www.dazzlingworld2.com/post_3671.html</link>
		<comments>http://www.dazzlingworld2.com/post_3671.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 03:54:26 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=3671</guid>
		<description><![CDATA[仮想PC使ってコンソールなのは面白くないので。
GNOMEをインストールしようかな。
すぐインストールするくらいなら、最初から入れとけよと。
だが、手動でインストールするのが楽しいのだよ、ワトスン。
# yum grou [...]]]></description>
			<content:encoded><![CDATA[<p>仮想PC使ってコンソールなのは面白くないので。<br />
GNOMEをインストールしようかな。</p>
<p>すぐインストールするくらいなら、最初から入れとけよと。<br />
だが、手動でインストールするのが楽しいのだよ、ワトスン。</p>
<p><code># yum groupinstall -y "X Window System" "GNOME Desktop Environment"</code></p>
<p>199Mほど。<br />
インストールが終わったらroot以外のユーザーでstartx<br />
rootでstartxはしちゃだめだよ？</p>
<p><code>$ startx</code></p>
<p><a href="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112101.jpg"><img class="alignnone size-medium wp-image-3672" title="GNOME" src="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112101-550x462.jpg" alt="GNOME" width="550" height="462" /></a></p>
<p>いやっほぅ。<br />
でも、英語ですねー。<br />
Fedoraは日本語でインストールしたのに…</p>
<p>とりあえず、System &gt; Log Out ～でCUIに戻る。<br />
現在ロケールが何に設定されているか確かめてみる。</p>
<p><code>$ echo $LANG<br />
en_US.UTF-8</code></p>
<p>oh!,英語だったんですねー。</p>
<p>日本語にしてみるかと、いろいろやってみたけれど…<br />
すんなり表示できないみたいなので、startxを日本語で実行させたほうが楽。</p>
<p><code>$ LANG=ja_JP.UTF-8 startx</code></p>
<p><a href="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112102.jpg"><img class="alignnone size-medium wp-image-3673" title="startx 日本語" src="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112102-550x462.jpg" alt="startx 日本語" width="550" height="462" /></a></p>
<p>わーい、日本語になったよ。<br />
でも、毎回ロケール指定するのメンドイのでエイリアスを設定しますか。</p>
<p><code>$ alias startx="LANG=ja_JP.UTF-8 startx"</code></p>
<p>これで普通にstartxとコマンド打つだけで日本語になってくれるはず。<br />
でも、再起動したりするとこの設定は消えてしまうので、~/.bashrcにの中に書きましょう。<br />
全ユーザー共通にしたかったら/etc/.bashrcに書けばいいのかな。</p>
<p>最後に、<br />
システム起動時にX Windowを起動させたい場合<br />
/etc/inittab<br />
<code>id:<span style="color: #ff0000;">5</span>:initdefault:</code></p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2009. | <a href="http://www.dazzlingworld2.com/post_3671.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_3671.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_3671.html&title=日本語も不自由ですが日本語しか…">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/fedora" rel="tag">Fedora</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_3671.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4092.html" title="蝕 (2010/04/21)">蝕</a> (3)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3684.html" title="ワインでもいかがかな？ (2009/11/21)">ワインでもいかがかな？</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3668.html" title="休日だからこそ (2009/11/21)">休日だからこそ</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_3671.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_3671.html" />
	</item>
		<item>
		<title>休日だからこそ</title>
		<link>http://www.dazzlingworld2.com/post_3668.html</link>
		<comments>http://www.dazzlingworld2.com/post_3668.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 02:55:08 +0000</pubDate>
		<dc:creator>だかね</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.dazzlingworld2.com/?p=3668</guid>
		<description><![CDATA[とりあえず、インストールはした。
ベースと日本語サポートくらいしかパッケージ入れてないけど。



© だかね for Dazzling World -貳-, 2009. &#124; Permalink &#124; No comme [...]]]></description>
			<content:encoded><![CDATA[<p>とりあえず、インストールはした。<br />
ベースと日本語サポートくらいしかパッケージ入れてないけど。</p>
<p><a href="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112001.jpg"><img class="alignnone size-medium wp-image-3667" title="Fedora12" src="http://www.dazzlingworld2.com/uploads/2009/11/dw2009112001-550x361.jpg" alt="Fedora12" width="550" height="361" /></a></p>
<hr />
<p>
<small>© だかね for <a href="http://www.dazzlingworld2.com">Dazzling World -貳-</a>, 2009. | <a href="http://www.dazzlingworld2.com/post_3668.html">Permalink</a> | <a href="http://www.dazzlingworld2.com/post_3668.html#comments">No comment</a> |
Add to <a href="http://del.icio.us/post?url=http://www.dazzlingworld2.com/post_3668.html&title=休日だからこそ">del.icio.us</a><br />
Post tags: <a href="http://www.dazzlingworld2.com/tags/fedora" rel="tag">Fedora</a><br/>
<a href="http://www.google.com/blogsearch?hl=en&q=http://www.dazzlingworld2.com/post_3668.html" title="Linking blogs to this article, on Google">Who is linking?</a> 
</small>
</p>
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.dazzlingworld2.com/post_4092.html" title="蝕 (2010/04/21)">蝕</a> (3)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3684.html" title="ワインでもいかがかな？ (2009/11/21)">ワインでもいかがかな？</a> (0)</li>
	<li><a href="http://www.dazzlingworld2.com/post_3671.html" title="日本語も不自由ですが日本語しか… (2009/11/21)">日本語も不自由ですが日本語しか…</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.dazzlingworld2.com/post_3668.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.dazzlingworld2.com/post_3668.html" />
	</item>
	</channel>
</rss>
