<?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>Kirie.net Blog</title>
	<atom:link href="http://blog.kirie.net/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.kirie.net</link>
	<description>ネットワークをメインにコンピュータのことをつらつらと</description>
	<lastBuildDate>Mon, 07 May 2012 06:03:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 12.04 にnvidiaな環境でデュアルモニターの設定</title>
		<link>http://blog.kirie.net/uncategorized/507.html</link>
		<comments>http://blog.kirie.net/uncategorized/507.html#comments</comments>
		<pubDate>Fri, 27 Apr 2012 10:19:17 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[dual display]]></category>
		<category><![CDATA[dual monitor]]></category>
		<category><![CDATA[multi monitor]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=507</guid>
		<description><![CDATA[$ nvidia-settings
もしくは
Unity Launcherから[NVIDIA X Server Settings]
を実行。

[X Server Display Configration] -&#62;  [...]]]></description>
			<content:encoded><![CDATA[<p>$ nvidia-settings<br />
もしくは<br />
Unity Launcherから[NVIDIA X Server Settings]<br />
を実行。</p>
<ol>
<li>[X Server Display Configration] -&gt; [Configuration] を [TwinView] に変更。</li>
<li>2台目モニターの [Resolution] を [Off] から [Auto] に変更。</li>
<li>[Apply] で適用。</li>
<li>[Save to X Configuration File] で設定の保存。</li>
<li>[/etc/X11/xorg.conf] -&gt; [Save] ファイルを指定して保存。</li>
<li>再起動。</li>
</ol>
<p><<おまけ>><br />
<strong><em>画面間のカーソル移動時の引っ掛かりを止めたい</em></strong><br />
[System Settings] -&gt; [Displays] -&gt; [Sticky edges] を [OFF] に変更。<br />
[Apply] -&gt; [Keep This Configuration] で設定を保存。</p>
<p></p>
<p><strong><em>サブディスプレイの Unity Launcher を消したい</em></strong><br />
$ gconf-editor<br />
もしくは<br />
Unity Launcherから[Configuration Editor]<br />
を実行。<br />
/apps/compiz-1/plugins/unityshell/screen0/options/num_launchers<br />
の値を [0] から [1] に変更。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/uncategorized/507.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 に samba4 をインストールできない</title>
		<link>http://blog.kirie.net/linux/ubuntu/494.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/494.html#comments</comments>
		<pubDate>Sat, 07 Apr 2012 15:04:16 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[samba4]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=494</guid>
		<description><![CDATA[今のところUbuntu 11.10にapt-getでsamba4をインストールしようとするとエラーが出るのでその対策。
インストール時に出るエラーはこんな感じ。

$ sudo apt-get install samba [...]]]></description>
			<content:encoded><![CDATA[<p>今のところUbuntu 11.10にapt-getでsamba4をインストールしようとするとエラーが出るのでその対策。</p>
<p>インストール時に出るエラーはこんな感じ。</p>
<blockquote><p>
$ sudo apt-get install samba4<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
Suggested packages:<br />
  bind9 phpldapadmin samba-gtk swat2<br />
Recommended packages:<br />
  samba4-dsdb-modules<br />
The following NEW packages will be installed:<br />
  samba4<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0 B/1,623 kB of archives.<br />
After this operation, 11.7 MB of additional disk space will be used.<br />
Preconfiguring packages &#8230;<br />
Selecting previously deselected package samba4.<br />
(Reading database &#8230; 278638 files and directories currently installed.)<br />
Unpacking samba4 (from &#8230;/samba4_4.0.0~alpha17~git20110807.dfsg1-1ubuntu1_amd64.deb) &#8230;<br />
Processing triggers for man-db &#8230;<br />
Processing triggers for ureadahead &#8230;<br />
Setting up samba4 (4.0.0~alpha17~git20110807.dfsg1-1ubuntu1) &#8230;<br />
Administrator password will be set randomly!<br />
ProvisioningError: guess_names: &#8216;realm =&#8217; was not specified in supplied /etc/samba/smb.conf.  Please remove the smb.conf file and let provision generate it<br />
dpkg: error processing samba4 (&#8211;configure):<br />
 subprocess installed post-installation script returned error exit status 1<br />
Errors were encountered while processing:<br />
 samba4<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)
</p></blockquote>
<p>smb.confがうまく作れないらしい。</p>
<p>原因はドメイン情報が無い時によろしくやってくれないバグのようです。<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465">https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465</a></p>
<p>なのでそのうち直るはずだけど、とりあえずバグ報告のところに書いてあった対策をすればインストールはできたのでその手順を書きます。</p>
<ol>
<li>/etc/hosts にドメイン情報を付加</li>
<blockquote><p>$ cat hosts<br />
127.0.0.1	localhost<br />
127.0.1.1	blog
</p></blockquote>
<p>こんな感じになってるやつを変更。</p>
<blockquote><p>$ sudo vim /etc/hosts<br />
127.0.0.1       localhost.localdomain localhost<br />
127.0.1.1       blog.kirie.net blog
</p></blockquote>
<li>/etc/hostname にドメイン情報を付加</li>
<blockquote><p>
$ sudo vim /etc/hostname<br />
blog.kirie.net
</p></blockquote>
<li>ネットワークインタフェースの再起動</li>
<blockquote><p>
$ sudo /etc/init.d/networking restart
</p></blockquote>
</ol>
<p>この状態でsamba4をインストールするとエラーなくインストールできました。</p>
<blockquote><p>$ sudo apt-get install samba4<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
〜〜〜中略〜〜〜<br />
Unpacking samba4 (from &#8230;/samba4_4.0.0~alpha17~git20110807.dfsg1-1ubuntu1_amd64.deb) &#8230;<br />
Processing triggers for man-db &#8230;<br />
Processing triggers for ureadahead &#8230;<br />
Setting up samba4 (4.0.0~alpha17~git20110807.dfsg1-1ubuntu1) &#8230;<br />
samba4 start/running, process 22135
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/494.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>古いWindows Server 2008のAMIをVPCで利用する時の注意点</title>
		<link>http://blog.kirie.net/cloud/ec2/483.html</link>
		<comments>http://blog.kirie.net/cloud/ec2/483.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 10:23:09 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[EC2]]></category>
		<category><![CDATA[Activation]]></category>
		<category><![CDATA[VPC]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=483</guid>
		<description><![CDATA[Amazonから提供されているWindows Server 2008のv1.02以前のAMIを利用して作成したサーバを
VPC内で利用しようとするとActivationを要求されます。
その対策。
1.VPCで起動したサーバのActivation先の変更
以下の2つのIPアドレスが提供されているらしい。

169.254.169.250
169.254.169.251 (backup)

上記IPを指すように手動で設定を変更。　※Administratorで実行しよう

Slmgr.vbs /skms 169.254.169.250
Slmgr.vbs /ato

2.Ec2Configの設定変更
Ec2ConfigにActivation先が登録されているようで
今後VPCで起動するAMIはEc2Configの変更が必要。
C:\Program Files\Amazon\Ec2ConfigService\Settings\ActivationSettings.xml

&#60;?xml&#160;version=&#8221;1.0&#8243;&#160;encoding=&#8221;utf-8&#8243;?&#62;
&#60;ActivationSettingsTable&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;KMS&#160;Servers&#160;are&#160;searched&#160;for/activated&#160;against&#160;based&#160;on&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;settings&#160;in&#160;this&#160;file.&#160;&#160;Each&#160;&#8221;methodSettings&#8221;&#160;section&#160;is
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;attempted&#160;until&#160;a&#160;KMS&#160;server&#160;is&#160;found&#160;and&#160;instance&#160;is&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;successfully&#160;activated.
&#160;&#160;&#160;&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;Try&#160;autodiscovery&#160;first&#8230;&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;NOTE:&#160;Autodiscover&#160;clears&#160;any&#160;KMS&#160;that&#160;is&#160;already&#160;set!&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;MethodSettings&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;SetAutodiscover&#62;true&#60;/SetAutodiscover&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;TargetKMSServer/&#62;&#160;&#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DiscoverFromZone/&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;ReadFromUserData&#62;false&#60;/ReadFromUserData&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;LegacySearchZones&#62;false&#60;/LegacySearchZones&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DoActivate&#62;true&#60;/DoActivate&#62;
&#160;&#160;&#160;&#160;&#60;/MethodSettings&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;Try&#160;the&#160;first&#160;virtual&#160;IP&#160;for&#160;VPC&#160;instances&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;MethodSettings&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;SetAutodiscover&#62;false&#60;/SetAutodiscover&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;TargetKMSServer&#62;169.254.169.250&#60;/TargetKMSServer&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DiscoverFromZone/&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;ReadFromUserData&#62;false&#60;/ReadFromUserData&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;LegacySearchZones&#62;false&#60;/LegacySearchZones&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DoActivate&#62;true&#60;/DoActivate&#62;
&#160;&#160;&#160;&#160;&#60;/MethodSettings&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;Try&#160;the&#160;backup&#160;IP&#160;for&#160;VPC&#160;instances&#8230;&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;MethodSettings&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;SetAutodiscover&#62;false&#60;/SetAutodiscover&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;TargetKMSServer&#62;169.254.169.251&#60;/TargetKMSServer&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DiscoverFromZone/&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;ReadFromUserData&#62;false&#60;/ReadFromUserData&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;LegacySearchZones&#62;false&#60;/LegacySearchZones&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DoActivate&#62;true&#60;/DoActivate&#62;
&#160;&#160;&#160;&#160;&#60;/MethodSettings&#62;
&#160;&#160;&#160;&#160;&#60;!&#8211;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Now&#160;search&#160;the&#160;DNS&#160;suffix&#160;list.
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;This&#160;should&#160;already&#160;have&#160;been&#160;set&#160;by&#160;the&#160;SetDNSSuffix&#160;plugin,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;controlled&#160;by&#160;the&#160;setting&#160;in&#160;the&#160;primary&#160;config&#160;file.
&#160;&#160;&#160;&#160;&#8211;&#62;
&#160;&#160;&#160;&#160;&#60;MethodSettings&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;SetAutodiscover&#62;false&#60;/SetAutodiscover&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;TargetKMSServer/&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DiscoverFromZone/&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;ReadFromUserData&#62;false&#60;/ReadFromUserData&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;LegacySearchZones&#62;true&#60;/LegacySearchZones&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;DoActivate&#62;true&#60;/DoActivate&#62;
&#160;&#160;&#160;&#160;&#60;/MethodSettings&#62;
&#160;&#160;&#160;&#160;&#60;GlobalSettings&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;LogResultToConsole&#62;true&#60;/LogResultToConsole&#62;
&#160;&#160;&#160;&#160;&#60;/GlobalSettings&#62;
&#60;/ActivationSettingsTable&#62;

以上です。
参考サイト
Release: Amazon Virtual Private Cloud on 2011-03-27
]]></description>
			<content:encoded><![CDATA[<p>Amazonから提供されているWindows Server 2008のv1.02以前のAMIを利用して作成したサーバを<br />
VPC内で利用しようとするとActivationを要求されます。<br />
その対策。</p>
<p>1.VPCで起動したサーバのActivation先の変更<br />
以下の2つのIPアドレスが提供されているらしい。</p>
<ul>
<li>169.254.169.250</li>
<li>169.254.169.251 (backup)</li>
</ul>
<p>上記IPを指すように手動で設定を変更。　※Administratorで実行しよう</p>
<blockquote><p>
Slmgr.vbs /skms 169.254.169.250<br />
Slmgr.vbs /ato
</p></blockquote>
<p>2.Ec2Configの設定変更<br />
Ec2ConfigにActivation先が登録されているようで<br />
今後VPCで起動するAMIはEc2Configの変更が必要。</p>
<p>C:\Program Files\Amazon\Ec2ConfigService\Settings\ActivationSettings.xml</p>
<blockquote><p>
&lt;?xml&nbsp;version=&#8221;1.0&#8243;&nbsp;encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;ActivationSettingsTable&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KMS&nbsp;Servers&nbsp;are&nbsp;searched&nbsp;for/activated&nbsp;against&nbsp;based&nbsp;on&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;settings&nbsp;in&nbsp;this&nbsp;file.&nbsp;&nbsp;Each&nbsp;&#8221;methodSettings&#8221;&nbsp;section&nbsp;is<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attempted&nbsp;until&nbsp;a&nbsp;KMS&nbsp;server&nbsp;is&nbsp;found&nbsp;and&nbsp;instance&nbsp;is&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;successfully&nbsp;activated.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;Try&nbsp;autodiscovery&nbsp;first&#8230;&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;NOTE:&nbsp;Autodiscover&nbsp;clears&nbsp;any&nbsp;KMS&nbsp;that&nbsp;is&nbsp;already&nbsp;set!&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SetAutodiscover&gt;true&lt;/SetAutodiscover&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TargetKMSServer/&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DiscoverFromZone/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ReadFromUserData&gt;false&lt;/ReadFromUserData&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LegacySearchZones&gt;false&lt;/LegacySearchZones&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DoActivate&gt;true&lt;/DoActivate&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;Try&nbsp;the&nbsp;first&nbsp;virtual&nbsp;IP&nbsp;for&nbsp;VPC&nbsp;instances&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SetAutodiscover&gt;false&lt;/SetAutodiscover&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TargetKMSServer&gt;169.254.169.250&lt;/TargetKMSServer&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DiscoverFromZone/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ReadFromUserData&gt;false&lt;/ReadFromUserData&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LegacySearchZones&gt;false&lt;/LegacySearchZones&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DoActivate&gt;true&lt;/DoActivate&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;Try&nbsp;the&nbsp;backup&nbsp;IP&nbsp;for&nbsp;VPC&nbsp;instances&#8230;&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SetAutodiscover&gt;false&lt;/SetAutodiscover&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TargetKMSServer&gt;169.254.169.251&lt;/TargetKMSServer&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DiscoverFromZone/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ReadFromUserData&gt;false&lt;/ReadFromUserData&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LegacySearchZones&gt;false&lt;/LegacySearchZones&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DoActivate&gt;true&lt;/DoActivate&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#8211;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Now&nbsp;search&nbsp;the&nbsp;DNS&nbsp;suffix&nbsp;list.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;should&nbsp;already&nbsp;have&nbsp;been&nbsp;set&nbsp;by&nbsp;the&nbsp;SetDNSSuffix&nbsp;plugin,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;controlled&nbsp;by&nbsp;the&nbsp;setting&nbsp;in&nbsp;the&nbsp;primary&nbsp;config&nbsp;file.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#8211;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SetAutodiscover&gt;false&lt;/SetAutodiscover&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TargetKMSServer/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DiscoverFromZone/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ReadFromUserData&gt;false&lt;/ReadFromUserData&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LegacySearchZones&gt;true&lt;/LegacySearchZones&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;DoActivate&gt;true&lt;/DoActivate&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/MethodSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;GlobalSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LogResultToConsole&gt;true&lt;/LogResultToConsole&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/GlobalSettings&gt;<br />
&lt;/ActivationSettingsTable&gt;
</p></blockquote>
<p>以上です。</p>
<p>参考サイト<br />
<a href="http://aws.amazon.com/releasenotes/Amazon-VPC/5305057247199053">Release: Amazon Virtual Private Cloud on 2011-03-27</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/cloud/ec2/483.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IAMを使って特定の人に特定のbucketのみ操作を許可する</title>
		<link>http://blog.kirie.net/cloud/s3/473.html</link>
		<comments>http://blog.kirie.net/cloud/s3/473.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 10:02:18 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[S3]]></category>
		<category><![CDATA[IAM]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=473</guid>
		<description><![CDATA[S3を使う時に特定の人に特定のbucketだけを許可したい場合。

AWS Management Consoleにログイン
IAMタブを開く
Groupsで「Create New Group」をクリックしWizardを開 [...]]]></description>
			<content:encoded><![CDATA[<p>S3を使う時に特定の人に特定のbucketだけを許可したい場合。</p>
<ol>
<li>AWS Management Consoleにログイン</li>
<li>IAMタブを開く</li>
<li>Groupsで「Create New Group」をクリックしWizardを開く</li>
<li>Select Policy Templateで「Amazon S3 Full Access」を「Select」</li>
<li>下記の内容にPolicy Documentを修正</li>
<li>「Continue」をクリック「Create Group」でグループを作成</li>
<li>作成したグループに権限を割り当てたいユーザを加えて完了</li>
</ol>
<p>Pollcy Documentはこんな感じ</p>
<blockquote><p>{<br />
&nbsp;&nbsp;&#8221;Statement&#8221;: [<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Effect": "Allow",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Action": "s3:*",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Resource": "arn:aws:s3:::hoge.bucket.hoge"<br />
&nbsp;&nbsp;&nbsp;&nbsp;},<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Effect": "Allow",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Action": "s3:*",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Resource": "arn:aws:s3:::hoge.bucket.hoge/*"<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;]<br />
}
</p></blockquote>
<p>デフォルトではs3の全てのアクションが全てのリソースに対して許可されたものが作成されます。<br />
そこでテンプレのResourceを修正して特定のbucketのみに変更。</p>
<p>ARNはAmazon Resource Nameの略でリソースを指定していることを表してるようです。<br />
続いてawsのs3を指定しています。<br />
そのあと:を3つ続けbucketを指定します。</p>
<p>ここで一つ目には<br />
arn:aws:s3:::hoge.bucket.hoge<br />
を指定。<br />
これはbucket内のファイルリストの表示などbucketを指定しての操作を許可してます。</p>
<p>続いてコピペでもうひとつ作って修正。<br />
変更点は<br />
arn:aws:s3:::hoge.bucket.hoge/*<br />
とResourceに bucket/* を指定することで<br />
bucket内のオブジェクト全てに対する操作を許可してます。<br />
これでダウンロードやアップロードが可能になるみたい。</p>
<p>何ができるか、についてはActionを指定するらしい（やってない）。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/cloud/s3/473.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 で Unity のうにょーんを止める方法</title>
		<link>http://blog.kirie.net/linux/ubuntu/469.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/469.html#comments</comments>
		<pubDate>Thu, 08 Mar 2012 10:52:23 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[うにょーん]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=469</guid>
		<description><![CDATA[画面の左端で自動で出たり引っ込んだりしてるやつがイヤだ！

Ubuntu Software Centerで「CompizConfig Settings Manager」を検索しインストール。
インストールしたCompiz [...]]]></description>
			<content:encoded><![CDATA[<p>画面の左端で自動で出たり引っ込んだりしてるやつがイヤだ！</p>
<ol>
<li>Ubuntu Software Centerで「CompizConfig Settings Manager」を検索しインストール。</li>
<li>インストールしたCompizConfig Settings Managerを起動。</li>
<li>デスクトップカテゴリの「Ubuntu Unity Plugin」を選択。</li>
<li>Behaviourのタブで「Hide Launcher」を「Never」に変更。</li>
<li>Experimentalタブを選択</li>
<li>「Launcher icon size」を左端に設定（なるべく小さいほうが邪魔にならないので。大きさはお好みで）</li>
<li>CompizConfig Settings Managerを終了して完了</li>
</ol>
<p>これで落ち着いて作業ができます。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/469.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 でDVD見る</title>
		<link>http://blog.kirie.net/linux/ubuntu/461.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/461.html#comments</comments>
		<pubDate>Mon, 20 Feb 2012 20:52:22 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=461</guid>
		<description><![CDATA[たぶんデフォルトで入っている libdvdread4 がインストールされていることを確認する。
$ dpkg -l libdvdread4
※もし入ってなかったらインストール。
$ sudo apt-get instal [...]]]></description>
			<content:encoded><![CDATA[<p>たぶんデフォルトで入っている libdvdread4 がインストールされていることを確認する。</p>
<blockquote><p>$ dpkg -l libdvdread4</p></blockquote>
<p>※もし入ってなかったらインストール。</p>
<blockquote><p>$ sudo apt-get install libdvdread4</p></blockquote>
<p>インストールスクリプトを実行。</p>
<blockquote><p>$ sudo /usr/share/doc/libdvdread4/install-css.sh</p></blockquote>
<p>これで見れるようになるはず。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/461.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 でAlt+TabのApplication切り替えをWindow切り替えにしたい</title>
		<link>http://blog.kirie.net/linux/ubuntu/457.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/457.html#comments</comments>
		<pubDate>Fri, 28 Oct 2011 09:23:55 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=457</guid>
		<description><![CDATA[Ubuntu 11.10でWindowの切り替えにAlt+Tabを使うと
Applicationの切り替えになってしまい
複数Terminalを切り替えながら使っている僕としては非常に使いづらい。
ということでAlt+T [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 11.10でWindowの切り替えにAlt+Tabを使うと<br />
Applicationの切り替えになってしまい<br />
複数Terminalを切り替えながら使っている僕としては非常に使いづらい。</p>
<p>ということでAlt+TabでWindowごとに切り替える方法。</p>
<ol>
<li>Ubuntu Software Centerで「CompizConfig Settings Manager」を検索しインストール。</li>
<li>インストールしたCompizConfig Settings Managerを起動。</li>
<li>デスクトップカテゴリの「Ubuntu Unity Plugin」を選択。</li>
<li>Switcherタブを選択。</li>
<li>「Key to start the switcher」と「Key to start the switcher in reverse」をDisabledに変更。</li>
<li>「Back」で戻る。</li>
<li>Window Managementカテゴリの「Application Switcher」を選択。</li>
<li>「Enable Application Switcher」にチェックを付けて完了。</li>
</ol>
<p>これでなんとかWindow単位で切り替えできるようになった。<br />
ただなんか、いらないアニメーションのせいで切り替えが重い。</p>
<p>アニメーション止めるのはどこかなぁ。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/457.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 で Unity の F10 対策</title>
		<link>http://blog.kirie.net/linux/ubuntu/452.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/452.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 12:48:18 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[F10]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=452</guid>
		<description><![CDATA[11.04に引き続き11.10でも日本語入力変換のF10がUnityに奪われて使えない。
その対策。

Ubuntu Software Centerで「CompizConfig Settings Manager」を検索し [...]]]></description>
			<content:encoded><![CDATA[<p>11.04に引き続き11.10でも日本語入力変換のF10がUnityに奪われて使えない。<br />
その対策。</p>
<ol>
<li>Ubuntu Software Centerで「CompizConfig Settings Manager」を検索しインストール。</li>
<li>インストールしたCompizConfig Settings Managerを起動。</li>
<li>デスクトップカテゴリの「Ubuntu Unity Plugin」を選択。</li>
<li>Behaviourタブの「Key to open the first panel menu」を無効にする。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/452.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 で表示フォントの変更</title>
		<link>http://blog.kirie.net/linux/ubuntu/448.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/448.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 12:41:39 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=448</guid>
		<description><![CDATA[11.04では外観の設定でフォント等も設定できてたんだけど
今回外観の設定では壁紙くらいしか変更できないみたい。
フォントを変更するには
Ubuntu Software Centerを開いて
「Advanced Sett [...]]]></description>
			<content:encoded><![CDATA[<p>11.04では外観の設定でフォント等も設定できてたんだけど<br />
今回外観の設定では壁紙くらいしか変更できないみたい。</p>
<p>フォントを変更するには<br />
Ubuntu Software Centerを開いて<br />
「Advanced Settings」を検索してインストール。<br />
もしくは</p>
<blockquote><p>$ sudo apt-get install gnome-tweak-tool</p></blockquote>
<p>Advanced Settingsを実行すればデスクトップの表示項目やテーマやフォントの設定変更ができる。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/448.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04 から Ubuntu 11.10 へアップグレード</title>
		<link>http://blog.kirie.net/linux/ubuntu/446.html</link>
		<comments>http://blog.kirie.net/linux/ubuntu/446.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 12:35:21 +0000</pubDate>
		<dc:creator>kiri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.kirie.net/?p=446</guid>
		<description><![CDATA[起動したら出てきたアップグレードの催促画面からボタンをクリックしてアップグレード。
そして失敗。
起動しなくなった。
こんなエラー。
unable to connect to system bus: Failed to  [...]]]></description>
			<content:encoded><![CDATA[<p>起動したら出てきたアップグレードの催促画面からボタンをクリックしてアップグレード。<br />
そして失敗。</p>
<p>起動しなくなった。<br />
こんなエラー。</p>
<blockquote><p>unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused<br />
〜中略〜<br />
Waiting for network configuration<br />
Waiting for up to 60 more seconds for network configuration</p></blockquote>
<p>リリースノートによると<br />
<a href="https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes/ja">https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes/ja</a></p>
<blockquote><p>VMWare Workstation 8 または VMWare Playerのユーザーは、起動時に問題にあう可能性があります。(858122)</p></blockquote>
<p>と、ある。<br />
VMWare Player入れてたから、たぶんこれ踏んだ。</p>
<blockquote><p>Ubuntu 11.10では /var/run、/var/lock、/dev/shm が移動となり、代わりにそれぞれ/run、/run/lock、/run/shmを使用するようになりました。
</p></blockquote>
<p>と、今回かなり大きな変更点があるので<br />
インストールしてるアプリにかなり注意が必要。</p>
<p><a href="http://linux.ikoinoba.net/index.php?UID=1318602091">http://linux.ikoinoba.net/index.php?UID=1318602091</a><br />
このブログに書いてあった<br />
直るかもしれないコマンドを試してみたけど起動せず。</p>
<p>/var/runの中身を/runにコピーしたところなんとか起動した。<br />
けど、起動中に2分くらい処理待ちで止まる感じ。</p>
<p>諦めて新しいSSD買ってきて11.10をきれいにインストールしなおして終了。</p>
<p>アップグレードはリリースノートをちゃんと読もう。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kirie.net/linux/ubuntu/446.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

