<?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>DOOM! DOOMER!! DOOMEST!? &#187; PC</title>
	<atom:link href="http://g-taki.com/wordpress/category/pc/feed" rel="self" type="application/rss+xml" />
	<link>http://g-taki.com/wordpress</link>
	<description>日刊　カリブNow!!</description>
	<lastBuildDate>Mon, 14 May 2012 14:08:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>mscomctl.ocxとcomctl32.ocxはいずこ？</title>
		<link>http://g-taki.com/wordpress/web/6141.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mscomctl-ocx%25e3%2581%25a8comctl32-ocx%25e3%2581%25af%25e3%2581%2584%25e3%2581%259a%25e3%2581%2593%25ef%25bc%259f</link>
		<comments>http://g-taki.com/wordpress/web/6141.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 03:04:41 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=6141</guid>
		<description><![CDATA[Windows7は64bit、Office2010も64bitを指定してインストールしたところ、仕事で使うExcelのAdd-inが要求しているらしいmscomctl.ocxが見つからないって怒られた。VB6時代のランタ &#8230; <a href="http://g-taki.com/wordpress/web/6141.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Windows7は64bit、Office2010も64bitを指定してインストールしたところ、仕事で使うExcelのAdd-inが要求しているらしいmscomctl.ocxが見つからないって怒られた。VB6時代のランタイムだから当然32bitだけど、標準でインストールされないのね。</p>
<ol>
<li>32bitのDLLだからsyswow64で登録させることは想像がついたが、肝心な最新バージョンのファイルの入手先がよくわからない。<br />
検索でそれらしくヒットした<a href="http://www.microsoft.com/downloads/ja-jp/details.aspx?familyid=25437d98-51d0-41c1-bb14-64662f5f62fe" target="_blank">Microsoftダウンロードのサイト</a>から、VisualBasic6-KB896559-v1-JPN.exeをとってくる。</li>
<li>EXPLZHなどを使って、ファイルを解凍。<br />
欲しいのはmscomctl.ocxと念のためcomctl32.ocx。</li>
<li>エクスプローラで、c:\windows\syswow64に二つのファイルをコピー。管理者権限が必要なので、対応はそれなりに。</li>
<li>コマンドプロンプトを管理者として実行。これも権限は必要。</li>
<li>コマンドプロンプトで以下を入力してocxを登録する。<br />
<blockquote><p>cd \windows\syswow64<br />
regsvr32 mscomctl32.ocx<br />
regsvr32 comctl32.ocx</p></blockquote>
</li>
</ol>
<p>これでよくわからないエラーメッセージは出ないで起動するようになったけど、Add-in が正常に期待通り動くのかはこれから要検証。</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/6141.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OS X で、isoファイルを作る方法 2</title>
		<link>http://g-taki.com/wordpress/web/6035.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=os-x-%25e3%2581%25a7%25e3%2580%2581iso%25e3%2583%2595%25e3%2582%25a1%25e3%2582%25a4%25e3%2583%25ab%25e3%2582%2592%25e4%25bd%259c%25e3%2582%258b%25e6%2596%25b9%25e6%25b3%2595-2</link>
		<comments>http://g-taki.com/wordpress/web/6035.html#comments</comments>
		<pubDate>Fri, 10 Feb 2012 06:19:33 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ディスクユーティリティ]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=6035</guid>
		<description><![CDATA[以前メモを書いたんだけど、isoファイルの作成方法。 複数のフォルダから寄せ集めてイメージを作る場合、 手元にすべてのファイルを集めてやれば良いんだろうけど、 OS Xに標準で付いてるディスクユーティリティで楽出来ないか &#8230; <a href="http://g-taki.com/wordpress/web/6035.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>以前メモを書いたんだけど、<a title="OS X で、isoファイルを作る方法" href="http://g-taki.com/wordpress/pc/1416.html" target="_blank">isoファイルの作成方法</a>。</p>
<p>複数のフォルダから寄せ集めてイメージを作る場合、<br />
手元にすべてのファイルを集めてやれば良いんだろうけど、<br />
OS Xに標準で付いてるディスクユーティリティで楽出来ないかな。。。と。</p>
<p>だって、滅多に使わないコマンドのオプションなんか覚えてないって。</p>
<p>早速ディスクユーティリティを立ち上げて、オプションを設定してみる。と馬鹿正直にCDサイズのファイルができあがる。中身は空っぽなのに！！</p>
<div id="attachment_6036" class="wp-caption alignnone" style="width: 362px"><a href="http://g-taki.com/wordpress/wp-content/uploads/2012/02/c881f7a79a981450c4ce4320827b3ab5.png" rel="lightbox[6035]"><img src="http://g-taki.com/wordpress/wp-content/uploads/2012/02/c881f7a79a981450c4ce4320827b3ab5-352x300.png" alt="オプションはこんな感じかな" title="オプションはこんな感じかな" width="352" height="300" class="size-medium wp-image-6036 " /></a><p class="wp-caption-text">オプションはこんな感じかな</p></div>
<p>マウントすれば、普通のフォルダとしてアクセスできるので、必要なファイルをドロップ。して、あうんマウントすればいいわけだが、、、<br />
このままじゃWindowsから読めない</p>
<p>《ﾟДﾟ》ｺﾞﾗｧｧｧｧｧｧｧｧｧｧｧｧｱ!!</p>
<p>となると結局hdiutil のお世話にならなくちゃいけない。</p>
<blockquote><p>hdiutil makehybrid -iso -joliet -o output.iso imput.cdr</p></blockquote>
<p>またこれをすると、実際のファイルの使用量に応じたisoファイルができあがる。<br />
つまり、ディスクユーティリティを使ってイメージを作っても、このhdiutilを使った作業が実質必須ということか？</p>
<p>パーティションフォーマットをFATなどにもしてみたけど、どうも期待通りの動作をしないんだよね。<br />
hdiutilのmakehybridに相当する動きをディスクユーティリティにしてもらいたいんだが&#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/6035.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>メモリ増やしたよ</title>
		<link>http://g-taki.com/wordpress/pc/6038.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e3%2583%25a1%25e3%2583%25a2%25e3%2583%25aa%25e5%25a2%2597%25e3%2582%2584%25e3%2581%2597%25e3%2581%259f%25e3%2582%2588</link>
		<comments>http://g-taki.com/wordpress/pc/6038.html#comments</comments>
		<pubDate>Thu, 02 Feb 2012 06:19:42 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[メモリ]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=6038</guid>
		<description><![CDATA[パソコンのメモリを増やしたよ。 普通に手に入るメモリの上限、16GB。 これでVMwareを使いながらもSwap起こさずに作業できるかな。 次は、HDDを再びSSDにすることだな。]]></description>
			<content:encoded><![CDATA[<div id="attachment_6039" class="wp-caption alignleft" style="width: 255px"><a href="http://g-taki.com/wordpress/wp-content/uploads/2012/02/4aecb67765d22cd0dfdaaaad0f219ee0.png" rel="lightbox[6038]"><img src="http://g-taki.com/wordpress/wp-content/uploads/2012/02/4aecb67765d22cd0dfdaaaad0f219ee0-245x300.png" alt="16GB!!" title="16GB!!" width="245" height="300" class="size-medium wp-image-6039" /></a><p class="wp-caption-text">16GB!!</p></div>
<p>パソコンのメモリを増やしたよ。<br />
普通に手に入るメモリの上限、16GB。</p>
<p>これでVMwareを使いながらもSwap起こさずに作業できるかな。</p>
<p>次は、HDDを再びSSDにすることだな。</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/pc/6038.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just System イメージ悪すぎ</title>
		<link>http://g-taki.com/wordpress/web/6003.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=just-system-%25e3%2582%25a4%25e3%2583%25a1%25e3%2583%25bc%25e3%2582%25b8%25e6%2582%25aa%25e3%2581%2599%25e3%2581%258e</link>
		<comments>http://g-taki.com/wordpress/web/6003.html#comments</comments>
		<pubDate>Mon, 23 Jan 2012 01:34:58 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ATOK]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=6003</guid>
		<description><![CDATA[#処理の待ち時間にざっと書いたので、乱文失礼。^^; 今朝、MacのATOKに更新があり、コンピュータも再起動させたら、こんな画面が キャンセルとか、「今はしない」といった選択肢が見当たらない。まぁ左上の赤い丸印を押せば &#8230; <a href="http://g-taki.com/wordpress/web/6003.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>#処理の待ち時間にざっと書いたので、乱文失礼。^^;</p>
<p>今朝、MacのATOKに更新があり、コンピュータも再起動させたら、こんな画面が<a href="http://g-taki.com/wordpress/wp-content/uploads/2012/01/5831e596f2b62a614f18b5331532cdb8.png" rel="lightbox[6003]"><img src="http://g-taki.com/wordpress/wp-content/uploads/2012/01/5831e596f2b62a614f18b5331532cdb8-366x300.png" alt="" title="スクリーンショット 2012-01-23 9.58.08" width="366" height="300" class="alignleft size-medium wp-image-6004" /></a></p>
<p>キャンセルとか、「今はしない」といった選択肢が見当たらない。まぁ左上の赤い丸印を押せば閉じることは出来るんだけど、問題はそれだけじゃない。</p>
<p>「ATOK Syncは無料でご利用いただけます」。ふむ。</p>
<p>ねんのためブラウザを立ち上げて確認してみると、ATOK 2011では「ATOK Sync アドバンス」を”<strong>1年間</strong>無料で”使えますとな。<br />
けっ、やっぱり1年だけで有料じゃん。</p>
<p>あれ、昔はWebDavサーバを自前で用意すれば(他のクラウドサービスでも良い)、逃げ道にならなかったっけ？<a title="ATOK Syncを使って無料で辞書を同期する | penchi.jp" href="http://penchi.jp/archives/105.html" target="_blank">こんなページ (ATOK Syncを使って無料で辞書を同期する | penchi.jp)</a>もあったよなぁ。</p>
<p>とよく見ると、バージョンが違う。<br />
確かにJust Systemのページを見ると、2011の場合と、2010以前とで別れてる。</p>
<p>なるほど2010までにあった逃げ道を2011では塞いだのね。</p>
<p>Syncさせたきゃお布施を払えと。</p>
<p>DropBoxや、iCloudといったサービスに意地でも対抗したいのだろうか？金を取るだけのアドバンテージが見いだせない。<br />
この人も半年前に全く同じ事を書いてる。「<a title="ATOK Sync：たいして回収できない月額料金を回収するためのコスト" href="http://kumadigital.livedoor.biz/archives/51907060.html" target="_blank">ATOK Sync：たいして回収できない月額料金を回収するためのコスト</a>」</p>
<p>会社がキーエンスに買収されて浮川さんが退社してから、どうもJustSystemの製品のこういう挙動、というかインターフェースというか。。。やらしくなったよなぁ。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/6003.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CentOS の SELinuxを無効にする</title>
		<link>http://g-taki.com/wordpress/web/5888.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centos-%25e3%2581%25ae-selinux%25e3%2582%2592%25e7%2584%25a1%25e5%258a%25b9%25e3%2581%25ab%25e3%2581%2599%25e3%2582%258b</link>
		<comments>http://g-taki.com/wordpress/web/5888.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 02:54:17 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5888</guid>
		<description><![CDATA[CentOS インストール直後、 Apache の mod_aliasを使うと、 (13)Permission denied: access to /hoge/hoge denied といったメッセージが出る。 ネット上 &#8230; <a href="http://g-taki.com/wordpress/web/5888.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>CentOS インストール直後、<br />
Apache の mod_aliasを使うと、</p>
<blockquote><p>(13)Permission denied: access to /hoge/hoge denied</p></blockquote>
<p>といったメッセージが出る。</p>
<p>ネット上に公開するサーバにはおすすめしないけど、<br />
手物のVMWareで手っ取り早く動かしたいので、Slinuxを無効にする。</p>
<p>キーワードは&#8221;enforce&#8221;。</p>
<p>現在の状態を取得するには、</p>
<blockquote><p>getenforce</p></blockquote>
<p>Enforcingと表示されれば、SELinuxが有効になっている。</p>
<p>一時的に無効にするには、</p>
<blockquote><p>setenforce 0</p></blockquote>
<p>この状態で getenforce をすると、Permissive となる。この状態で、Apacheの動作確認などを行うことができる。</p>
<p>再起動したら設定が戻っちゃうので、無効のまま起動させるために、/etc/sysconfig/selinux を書き換える。</p>
<blockquote><p>SELINUX=disabled</p></blockquote>
<p>このファイルには、以下のように親切に書かれているので、書き換えるファイルさえわかれば迷わないはず。</p>
<blockquote><p># SELINUX= can take one of these three values:<br />
#     enforcing &#8211; SELinux security policy is enforced.<br />
#     permissive &#8211; SELinux prints warnings instead of enforcing.<br />
#     disabled &#8211; No SELinux policy is loaded.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/5888.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS の Apache にアクセス出来ない？ iptablesか！</title>
		<link>http://g-taki.com/wordpress/web/5883.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centos-%25e3%2581%25ae-apache-%25e3%2581%25ab%25e3%2582%25a2%25e3%2582%25af%25e3%2582%25bb%25e3%2582%25b9%25e5%2587%25ba%25e6%259d%25a5%25e3%2581%25aa%25e3%2581%2584%25ef%25bc%259f-iptables%25e3%2581%258b%25ef%25bc%2581</link>
		<comments>http://g-taki.com/wordpress/web/5883.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 02:53:13 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5883</guid>
		<description><![CDATA[VMWareにCentosを入れて、yum でapacheを入れる。でもそれだけじゃアクセス出来ない。 CentOSのFirewall 、iptablesの設定を更新する必要がある。 まずは初期状態の確認。 [root@ &#8230; <a href="http://g-taki.com/wordpress/web/5883.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>VMWareにCentosを入れて、yum でapacheを入れる。でもそれだけじゃアクセス出来ない。</p>
<p>CentOSのFirewall 、iptablesの設定を更新する必要がある。</p>
<p>まずは初期状態の確認。</p>
<blockquote><p>[root@centos ~]# iptables -L &#8211;line-number<br />
Chain INPUT (policy ACCEPT)<br />
num target prot opt source destination<br />
1 ACCEPT all &#8212; anywhere anywhere state RELATED,ESTABLISHED<br />
2 ACCEPT icmp &#8212; anywhere anywhere<br />
3 ACCEPT all &#8212; anywhere anywhere<br />
4 ACCEPT tcp &#8212; anywhere anywhere state NEW tcp dpt:ssh<br />
5 REJECT all &#8212; anywhere anywhere reject-with icmp-host-prohibited</p>
<p>Chain FORWARD (policy ACCEPT)<br />
num target prot opt source destination<br />
1 REJECT all &#8212; anywhere anywhere reject-with icmp-host-prohibited</p>
<p>Chain OUTPUT (policy ACCEPT)<br />
num target prot opt source destination</p></blockquote>
<p>Chain INPUTがフィルターの流れ。<br />
4行目でsshが許可されているが、次の5行目で残りがrejectされるようになっている。<br />
つまりこの間に、httpやhttpsといった外部からつなげたいポートを許可する設定を書くって訳だ。</p>
<blockquote><p># /sbin/iptables -I INPUT 5 -p tcp &#8211;dport https -j ACCEPT<br />
# /sbin/iptables -I INPUT 5 -p tcp &#8211;dport http -j ACCEPT</p></blockquote>
<p>確認。</p>
<blockquote><p>[root@centos ~]# iptables -L &#8211;line-number<br />
Chain INPUT (policy ACCEPT)<br />
num target prot opt source destination<br />
1 ACCEPT all &#8212; anywhere anywhere state RELATED,ESTABLISHED<br />
2 ACCEPT icmp &#8212; anywhere anywhere<br />
3 ACCEPT all &#8212; anywhere anywhere<br />
4 ACCEPT tcp &#8212; anywhere anywhere state NEW tcp dpt:ssh<br />
5 ACCEPT tcp &#8212; anywhere anywhere tcp dpt:http<br />
6 ACCEPT tcp &#8212; anywhere anywhere tcp dpt:https<br />
7 REJECT all &#8212; anywhere anywhere reject-with icmp-host-prohibited</p>
<p>Chain FORWARD (policy ACCEPT)<br />
num target prot opt source destination<br />
1 REJECT all &#8212; anywhere anywhere reject-with icmp-host-prohibited</p>
<p>Chain OUTPUT (policy ACCEPT)<br />
num target prot opt source destination</p></blockquote>
<p>よしよし。</p>
<p>設定を保存。</p>
<blockquote><p># /sbin/service iptables save</p></blockquote>
<p>後からpostgresを許可したければ、こんな感じにすればいいのかな。</p>
<blockquote><p># /sbin/iptables -I INPUT 7 -p tcp &#8211;dport 5432 -j ACCEPT</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/5883.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vmshrink の最新版は何処？</title>
		<link>http://g-taki.com/wordpress/web/5814.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vmshrink-%25e3%2581%25ae%25e6%259c%2580%25e6%2596%25b0%25e7%2589%2588%25e3%2581%25af%25e4%25bd%2595%25e5%2587%25a6%25ef%25bc%259f</link>
		<comments>http://g-taki.com/wordpress/web/5814.html#comments</comments>
		<pubDate>Mon, 07 Nov 2011 03:07:27 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shrink]]></category>
		<category><![CDATA[vmshlink]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5814</guid>
		<description><![CDATA[「仮想の背中」さんが閉鎖されてからだいぶ経ちますが、「VMwareのディスク使用量を減らす &#8211; VMwareToolsがインストールされていない場合」のページは「vmshrink」でGoogle検索すると2番 &#8230; <a href="http://g-taki.com/wordpress/web/5814.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>「仮想の背中」さんが閉鎖されてからだいぶ経ちますが、「<a title="VMwareのディスク使用量を減らす – VMwareToolsがインストールされていない場合" href="http://g-taki.com/wordpress/pc/1282.html">VMwareのディスク使用量を減らす &#8211; VMwareToolsがインストールされていない場合</a>」のページは「vmshrink」でGoogle検索すると2番目に表示されるようですね。</p>
<p>HDDの容量が大きくなった昨今、vmshrink の必要性はかなり減ったとは思います。<br />
また最近のVMwareのバージョンであれば、「仮想マシンのクリーンアップ」機能があり、これが同じような働きをしているのでは無いでしょうか?（検証したわけではないので間違っているかもしれません）</p>
<p>ですが、vmshrink などの開発は止まっちゃったのかな？とか、作者さんはご健在？といった疑問は残るわけです。</p>
<p>vmshrink.cの冒頭を見てみると、</p>
<pre>	vmshrink.c
	virtual disk shrink utility

	Copyright (c) 2006 Ken Kato</pre>
<p>とあります。これと「vmshrink」で検索したら、&#8221;それらしい&#8221;ページがサイトがあるじゃないですか。</p>
<p><a title="VMware Command Line Tools - VM Back" href="https://sites.google.com/site/chitchatvmback/index" target="_blank">VMware Command Line Tools &#8211; VM Back</a></p>
<p>このサイトのオーナーに関する情報を見つけるには至っていませんが、掲載されている内容からするに、 「仮想の背中」の後継のサイトとみて良さそうです。</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/web/5814.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Memo:ディレクトリ内のファイル数を数える</title>
		<link>http://g-taki.com/wordpress/pc/5778.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=memo%25e3%2583%2587%25e3%2582%25a3%25e3%2583%25ac%25e3%2582%25af%25e3%2583%2588%25e3%2583%25aa%25e5%2586%2585%25e3%2581%25ae%25e3%2583%2595%25e3%2582%25a1%25e3%2582%25a4%25e3%2583%25ab%25e6%2595%25b0%25e3%2582%2592%25e6%2595%25b0%25e3%2581%2588%25e3%2582%258b</link>
		<comments>http://g-taki.com/wordpress/pc/5778.html#comments</comments>
		<pubDate>Tue, 04 Oct 2011 05:41:22 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5778</guid>
		<description><![CDATA[どんどん蓄積されるファイル群の期間ごとのファイル数を知りたくて、いつものようにこんなコマンドを打ったんだけど、ファイル数が多いと時間がかかるのよね。そこで調べたら、速度比較までして検証しているサイトがあった。 ディレクト &#8230; <a href="http://g-taki.com/wordpress/pc/5778.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>どんどん蓄積されるファイル群の期間ごとのファイル数を知りたくて、いつものようにこんなコマンドを打ったんだけど、ファイル数が多いと時間がかかるのよね。そこで調べたら、速度比較までして検証しているサイトがあった。 <a title="ディレクトリ内のファイル数を速く数える" href="http://groundwalker.com/blog/2008/02/count_files_in_a_directory.html" target="_blank">ディレクトリ内のファイル数を速く数える(Linux,ext3,ls,find,wc)</a>。そこにも書かれているけど、find はいろいろ使えるので、メモ。</p>
<p>ls コマンドは通常ファイル名でSortが発生するので、普通に使ったのでは遅い。だから単にlsと打ったのではだめ。</p>
<blockquote><p>ls . | wc -l</p></blockquote>
<p>ls のソートを止めるには、オプションの -f を使う。</p>
<blockquote><p>ls -f . | wc -l</p></blockquote>
<p>一番高速なのが、find コマンドを使う方法。</p>
<blockquote><p>find . -type f | wc -l</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/pc/5778.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to copy the users Xauthorization file.</title>
		<link>http://g-taki.com/wordpress/pc/5727.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unable-to-copy-the-users-xauthorization-file</link>
		<comments>http://g-taki.com/wordpress/pc/5727.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 05:00:55 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5727</guid>
		<description><![CDATA[メモ。サポート環境の整備のためにリモートデスクトップ接続。 LAN1 -(INTERNET)-&#62; LAN2 -(VPN)-&#62; LAN3 ちと面倒な接続で、LAN3には外部から直接アクセスできないので、LAN2 &#8230; <a href="http://g-taki.com/wordpress/pc/5727.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>メモ。サポート環境の整備のためにリモートデスクトップ接続。</p>
<p>LAN1 -(INTERNET)-&gt; LAN2 -(VPN)-&gt; LAN3</p>
<p>ちと面倒な接続で、LAN3には外部から直接アクセスできないので、LAN2内のPCを経由する必要がある。というわけで、中継用のPCとして、ライセンス云々が面倒な事にならないUbuntuなノートを用意。</p>
<p>順調にリモートデスクトップを使っていたのだが、パッケージ管理の様に管理者権限が必要とされるアプリケーションを起動させようとすると、エラーメッセージが表示される。</p>
<blockquote><p>Unable to copy the users Xauthorization file.</p></blockquote>
<p>で、このエラーメッセージで調べたところ、<a title="ubuntuにwindows7からリモートデスクトップ接続したときのメモ" href="http://blogs.yahoo.co.jp/topitopi38/26183561.html" target="_blank">ubuntuにwindows7からリモートデスクトップ接続したときのメモ</a>というタイトルでそのまんまの記事を発見！オリジナルはUbuntuのフォーラムの<a title="[ubuntu] xrdp user permissions problem - Ubuntu Forums" href="http://ubuntuforums.org/showthread.php?t=1138337" target="_blank">[ubuntu] xrdp user permissions problem &#8211; Ubuntu Forums</a>。</p>
<blockquote><p>touch ~/.Xauthority<br />
chmod 600 ~/.Xauthority</p></blockquote>
<p>あっさり解決できて良かった。</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/pc/5727.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lionのイメージはダウンロードとインストールの間にコピーしておけ？</title>
		<link>http://g-taki.com/wordpress/pc/mac/5474.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lion%25e3%2581%25ae%25e3%2582%25a4%25e3%2583%25a1%25e3%2583%25bc%25e3%2582%25b8%25e3%2581%25af%25e3%2583%2580%25e3%2582%25a6%25e3%2583%25b3%25e3%2583%25ad%25e3%2583%25bc%25e3%2583%2589%25e3%2581%25a8%25e3%2582%25a4%25e3%2583%25b3%25e3%2582%25b9%25e3%2583%2588%25e3%2583%25bc%25e3%2583%25ab%25e3%2581%25ae%25e9%2596%2593</link>
		<comments>http://g-taki.com/wordpress/pc/mac/5474.html#comments</comments>
		<pubDate>Fri, 22 Jul 2011 00:42:32 +0000</pubDate>
		<dc:creator>GT</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://g-taki.com/wordpress/?p=5474</guid>
		<description><![CDATA[一昨日の夜、ダウンロード販売が開始されたOS X Lion。 今年の頭に買ったMBPに突っ込んだのですが、インストールが終わったら、ダウンロードしてきたインストーラーが見当たらない。 「Install Mac  OS X &#8230; <a href="http://g-taki.com/wordpress/pc/mac/5474.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>一昨日の夜、ダウンロード販売が開始されたOS X Lion。</p>
<p>今年の頭に買ったMBPに突っ込んだのですが、インストールが終わったら、ダウンロードしてきたインストーラーが見当たらない。</p>
<p>「Install Mac  OS X Lion.app」という、約3.7GBのアプリケーションがダウンロードされるんだけど、どこ行った？</p>
<p>リアルタイムで呟いてみたけど、似たような情報は無し。周囲にはそこまでホットな人は居ないし、ホットな人はみな目の前のLionに釘付けだったろうからね <img src='http://g-taki.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>念のためにとっておいたバックアップから古いOSで起動して、再度Lionをダウンロードしてみました。<br />
パッケージの内容を表示させてみたところ、</p>
<p>Contents -&gt; SharedSupport -&gt; InstallESD.dmg が 3.74GB占めていることが判明。名前からしてもこれがLionのイメージなんだろうな。<br />
<a href="http://www.google.co.jp/search?q=installesd.dmg" target="_blank">Installesd.dmg で検索すると</a>、案の定いっぱい情報が出てくる。</p>
<p>8月には、USBに入ったLionが販売されるようだけど、別途費用が発生するようだ。<br />
流れに従っていくと、勝手に消されるイメージ。HDDがクラッシュしたら古いOSのインストールから始めなくちゃいけなくなるけど、それがAppleの考える、今回の戦略なのかな？</p>
]]></content:encoded>
			<wfw:commentRss>http://g-taki.com/wordpress/pc/mac/5474.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

