tag:blogger.com,1999:blog-9997603387127743572024-02-19T15:18:58.818+09:00@hiroshiakiike調べたり、やったこと(会社のブログから引っ越してきました)秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-999760338712774357.post-55038085977071968942011-07-10T13:10:00.000+09:002011-07-10T13:10:43.201+09:00Windows、Office 仮想環境、リモートで使う場合のライセンスまとめ(2011年4月版)3月くらいに、AmazonのVPCを使って社内LANを全部ネット側に持っていないか、考えたときに調べたことのまとめ。(といっても、ただの箇条書きですが)<br />
<br />
Microsoftのサポートに電話したら、非常に丁寧に説明していただきました。<br />
<br />
<div>以下、2011年3月~4月、MicrosoftのWindows、Office、Hyper-Vのラインセンスに関するサポート部門へ電話で確認したまとめです。</div><div><br />
</div><div>なお、以下で"仮想化"といった場合、Hyper-Vに限らず、仮想化にVMwareなど他社製品を利用した場合でも同様とのことでした。</div><br />
<br />
<span class="Apple-style-span" style="font-size: large;">【WindowsクライアントOSのライセンス】</span><br />
<a href="http://www.microsoft.com/japan/windows/enterprise/how-to-buy.aspx">http://www.microsoft.com/japan/windows/enterprise/how-to-buy.aspx</a><br />
<br />
<u>Windows7 Enterprise Edition</u><br />
<br />
<ul><li>Windows 7 Enterprise Editionは、4つまで仮想環境上のコピーにアクセスできる。</li>
<li>Windows 7 Enterprise Editionのライセンスは、VistaやXPへのダウングレード権が含まれる。</li>
</ul><br />
<br />
<u>Windows7 Professional Edition</u><br />
<br />
<ul><li>Windows 7 ProfessionalのSAを取得していれば、同じ物理PC上に1つ、これと同じ物理PC上の仮想環境上に4つまで(*1)Windowsを実行可能。</li>
<li>Windows 7のSAを取得していれば、仮想環境上(*1)で実行するWindowsは、Windows 7、Vista、XPの混在可能。</li>
<li>つまり、仮想環境上(*1)で実行する1つ目はWindows 7、2つ目はVista、3つ目はXP、<br />
4つ目は・・・と可能。</li>
</ul><br />
<br />
<br />
<ul><li>物理PC上にSAを取得したWindows 7があり、サーバーの仮想環境上にあるWindows 7、Vista、XP(混在可能)に、物理PC上のWindows 7からリモート接続することは、ライセンス的にも可能。</li>
<li>ただし、物理PC上に1つと仮想環境上(*1)に4つまで、つまり合計5つのWindowsをおけるかは不明。 (つまり、接続はできても接続先のOSまで、SAでカバーできるかは不明)</li>
</ul><br />
<br />
<br />
<ul><li>ちなみに、リモートデスクトップを使うには、クライアント側にリモートデスクトップCALが必要</li>
<li>Windowsサーバーをファイルサーバー等で使うためのユーザーCAL/デバイスCALとは別</li>
<li><b>Windows 7 ProfessionalのSAを取得していれば、Windows 7 Enterpriseも利用可能</b></li>
</ul><br />
<br />
<span class="Apple-style-span" style="font-size: large;">【Microsoft OfficeのVDA(Virtual Desktop Access)、ローミング権】</span><br />
<span class="Apple-style-span" style="font-size: large;"><span class="Apple-style-span" style="font-size: small;"></span></span><br />
<span class="Apple-style-span" style="font-size: large;">参考資料:Microsoft 製品使用権説明書(最新版は2011年7月版)</span><br />
<span class="Apple-style-span" style="font-size: large;"> 以下の参照ページは2011年3月版を対象。</span><br />
<span class="Apple-style-span" style="font-size: large;"><a href="http://www.microsoft.com/ja-jp/licensing/about-licensing/product-licensing.aspx#tab=1">http://www.microsoft.com/ja-jp/licensing/about-licensing/product-licensing.aspx#tab=1</a></span><br />
<div><span class="Apple-style-span" style="font-size: large;"><br />
</span></div><br />
<br />
<ul><li>ローミング権</li>
</ul><br />
手元のPCにインストールされているOfficeではなく、自宅やネットカフェのような第三者所有の<br />
PCからアクセスできる権利が「ローミング権」<br />
<br />
<ul><li>VDA(Virtual Desktop Access)</li>
</ul><br />
以下のことができる権利、ライセンス<br />
・データセンターでの Windows のコピーの実行<br />
・信頼性を高めるためにサーバー間で仮想マシンを移動する権利<br />
・仮想マシンの無制限のバックアップ<br />
・デバイスごとに最大 4 つの実行中の VM インスタンスへのアクセス<br />
・職場で既にライセンスを受けているユーザーが自宅から企業デスクトップにアクセスする権利<br />
・キー マネージメント サービス (KMS) やマルチプル アクティベーション キー (MAK) など<br />
のボリューム ライセンス キー<br />
<br />
OpenValueライセンスのSAにはVDA(Virtual Desktop Access)が含まれ、<br />
さらにVDAにはローミング権が含まれる。<br />
<br />
Windows Virtual Enterprise Centralized Desktop (VECD) は、2010年7月1日から<br />
このVDAに変更<br />
<br />
<ul><li>OSE</li>
</ul><br />
OS実行環境のこと(Microsoft 製品使用権説明書 p117)<br />
<br />
<ul><li>MED-V</li>
</ul><br />
Windows Vista/7で動かないXP用アプリをWindows Vista/7で動かすための仕組み<br />
<br />
<br />
<span class="Apple-style-span" style="font-size: large;">【Microsoft Officeのライセンス】</span><br />
<br />
<ul><li>Microsoft OfficeのSAを取得していれば、1台の物理PC上にインストールできる。</li>
<li>さらに、2台目としてノートPCにもインストールできる。(デスクトップ=オフィス内、外出先=ノートPCといった使い方を想定)</li>
</ul><br />
<br />
ここまでは、よく見る説明だが。<br />
<br />
<br />
<ul><li>それ以外に、物理環境か仮想環境かは問わず。1台の物理PC上に複数のMicrosoft Officeをセットアップ可能。</li>
<li>Microsoft OfficeはPCごとでなく、人ごとにライセンスされるとはいえ、こういったことができる。</li>
<li>原則、Microsoft Office 2007、Microsoft Office 2010での話しだが、2007導入時にSAを購入していれば、2007の規約でダウングレードもでき、2003も利用可能。</li>
</ul><br />
<br />
<br />
<ul><li>つまり、Microsoft Officeの1つのSAで、</li>
<ul><li>物理PC上に、2003/2007/2010が置け</li>
<li>さらに、ノートPC上に同じだけMicrosoft Officeがおける</li>
</ul><li>Microsoft の Open Valueというボリュームライセンスは、SA付き。というか、ボリュームライセンスはすべてSA付き。</li>
</ul><br />
<br />
<u>[Microsoft 製品使用権説明書(2011年7月版、2011年3月版) p17]</u><br />
<br />
<ul><li>手元のPCにインストールされているOffice、つまりOfficeのラインセンスのあるPCから、そのPCとは、別にサーバー上の仮想環境にインストールされたOfficeにもアクセス可能。</li>
</ul><ul><li>これはボリュームライセンスでの権利で、SAは不要。</li>
</ul><ul><ul><li>Microsoft 製品使用権説明書(2011年7月版)からの引用</li>
<ul><li>ネットワーク デバイス お客様は、ネットワーク デバイス上に複数の追加ソフトウェアの複製をインストールすることもできます。お客様は、以下のリモート アクセスに関する記述に該当する場合に限り、それらの複製を使用することができます。</li>
</ul></ul></ul><br />
<ul><li>手元のPCにインストールされているOfficeではなく、自宅やネットカフェのような第三者所有のPCからのアクセスも、元々持っている人が使う限りは、「ローミング権」で利用可能。</li>
</ul><br />
<br />
<u>[Microsoft 製品使用権説明書(2011年7月版、2011年3月版) p18]</u><br />
<br />
<ul><li>さらに、「主要ユーザー」扱いであれば、Officeのインストールされていない自社所有のPCからもサーバー上の仮想環境上のOfficeが利用可能。</li>
</ul><br />
<ul><li>主要ユーザー (平たく言えば、普段からときどきでもOfficeを使っているユーザー)</li>
</ul><br />
リモート デスクトップ セッションをホストするデバイスの特定の 1 名の主要ユーザーは、<br />
他のどのデバイスからでも本ソフトウェアにリモートアクセスし、使用することができます。<br />
サポート サービスを提供する場合を除き、別のユーザーが同時に同じライセンスに<br />
基づいて本ソフトウェアを使用することはできません。<br />
<br />
<br />
<span class="Apple-style-span" style="font-size: large;">【企業でWindowsを購入するなら】</span><br />
<br />
<ul><li>Windowsは、数名から数十名くらいの企業規模ならOpen ValueやOpenライセンス(ボリュームライセンス)で購入し、Windows Client SAを付ける。</li>
<li>SAを契約していると、VDAは無料でついてくる。</li>
<li>シンクライアント専用機ではないので、クライアントにアンチウイルスソフトをインストールできる。</li>
</ul><br />
1デバイス:21,400円/3年間<br />
VDIとMicrisift VDAライセンス<br />
http://d.hatena.ne.jp/ogawad/20110301/1298940807<br />
<br />
RemoteApp fir VDI(XP)<br />
http://technet.microsoft.com/ja-jp/windows/gg182761<br />
Windows 7で動かないWindiws XPのアプリを動かす方法<br />
<br />
<br />
<span class="Apple-style-span" style="font-size: large;">【Windows リモートデスクトップ メモ】</span><br />
<br />
<br />
<ul><li>Windows Server 2008 R2 SP1とWindows 7 SP1とともにリリースされたリモートデスクトップの新しいバージョンでは、USBリダイレクト可能な機能が提供される。</li>
</ul><br />
<div><br />
</div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-33007260791767170042011-01-21T19:11:00.004+09:002011-01-21T19:33:04.841+09:00TODO管理にNozbeはいい!(一部除いて)長らくTODO管理に<a href="http://www.rememberthemilk.com/">RTM(Remember The Milk)</a>を使ってましたが、最近レスポンスが遅く、重かったので、代替えのサービスを探していました。<br />
数日、Googleの<a href="http://mail.google.com/support/bin/answer.py?hl=ja&answer=106237#Open Tasks in Gmail">To Doリスト</a>とiPhoneアプリの<a href="http://itunes.apple.com/jp/app/gotasks/id389113399?mt=8">GoTasks</a>を使ってみましたが、シンプルでいいものの、シンプル過ぎた(繰り返し設定ができない)ので、<br />
<br />
lifehacker - <a href="http://www.lifehacker.jp/2010/03/100324nozbeevernote.html">『Evernote』と「Nozbe」を組み合わせると最強のタスク管理ツールになる</a><br />
ZONOSTYLE - <a href="http://zonostyle.com/2010/08/nozbe01.html">NozbeのGoogleカレンダー連携が完璧に!〜iCre Update01</a><br />
誠 Biz - <a href="http://bizmakoto.jp/bizid/articles/1008/27/news025.html">Nozbeなら予定と参照情報を一括管理できる</a><br />
<br />
<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">という記事を見かけ、有料プランでも、60日間の返金保証があるようなので、<a href="http://www.rememberthemilk.com/">Nozbe</a>を2週間ほど使ってみました。</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">しばらく、<a href="http://www.rememberthemilk.com/">Nozbe</a>を使ってみようと思います。</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
ノズビーと発音するらしい(と見かけました)</div><br />
<a name='more'></a><span class="Apple-style-span" style="font-size: large;">Nozbeのよい点</span><br />
<br />
以下、タスクの共有が必須だったので、Familyプラン(<a href="http://www.nozbe.com/jp/signup">http://www.nozbe.com/jp/signup</a> 日本語だと"家族"か... 間違ってないけどw)を使っています。<br />
<ul><li>RTMに比べれば軽い</li>
<li>タスクの繰り返し設定ができる</li>
<li>プロジェクトごとに分けられる</li>
<li>タスクを共有できる</li>
<li>プロジェクトごとに、共有の有無、相手を設定できる</li>
<li>Googleカレンダーと連携すれば、通知(リマインダーのメール)を受け取れる(忘れっぽいので)</li>
</ul><div class="separator" style="clear: both; text-align: center;"></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoPQB9Vxxz2RoJ5Lo21GhyphenhyphenmTeSyW72ki2R_Z32d6gi9TtI6Ayay42KxKSYKLMHG991BDImVPyEgAtOQ1bWh4vJJE6c8sqsh4IwX6Gg37Ph7YMbJ8l8yMFsumvXooCf-HenWxHQKzABHzAS/s1600/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_01%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E9%2581%25B8%25E6%258A%259E_orig.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="261" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoPQB9Vxxz2RoJ5Lo21GhyphenhyphenmTeSyW72ki2R_Z32d6gi9TtI6Ayay42KxKSYKLMHG991BDImVPyEgAtOQ1bWh4vJJE6c8sqsh4IwX6Gg37Ph7YMbJ8l8yMFsumvXooCf-HenWxHQKzABHzAS/s320/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_01%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E9%2581%25B8%25E6%258A%259E_orig.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Nozbe</td></tr>
</tbody></table>共有したときの見え方も、タブで別れるRTMと違い、私はこっちが好きです。小さい会社、チームだからかも。<br />
Evernote連携はまだ試してません。<br />
<div><div>また、他の人と、1つの組織(会社、グループ)として共有するには、有料版が必要になります。無料版同士でも共有できるか、あるいは別々のまとまりで契約している人の間で共有できるかは、わかりません。<br />
<div><br />
<div><br />
</div><div><span class="Apple-style-span" style="font-size: large;">Nozbeの悪い点</span></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div><ul><li>Googleカレンダーと連携させ、他の人とカレンダーを共有すると、プライベートなタスクまでカレンダーで共有されてしまう</li>
<li>タスクを共有した相手もGoogleカレンダーと連携させるとカレンダーが非常に見づらい(タスクaを1日10個以上登録し、二人と共有するだけで、日中の予定は画面から見えにくくなります)</li>
<li>カレンダーを共有しないと、Nozbe上で相手の担当としたタスクは表示されなくなる</li>
</ul><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWozfGn8WxZ9CAbOQuO7BjCFIvPmTO4uCidtx36OUbOz7q4NjPBrH1f8XYDNbHhKFyRwyuhMw4vMdSC4z0wRMC2622W3MahMh666wc2vKcIhnFDV_Kzv9Z-nWdCjzIkY43S6VpKgoMs0C5/s1600/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_02%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWozfGn8WxZ9CAbOQuO7BjCFIvPmTO4uCidtx36OUbOz7q4NjPBrH1f8XYDNbHhKFyRwyuhMw4vMdSC4z0wRMC2622W3MahMh666wc2vKcIhnFDV_Kzv9Z-nWdCjzIkY43S6VpKgoMs0C5/s320/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_02%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Bさんとカレンダーも共有</td></tr>
</tbody></table></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1IsoXC8DpOBI4bjfo4Jy6WE3hDr2IpBMuIhyphenhyphen6xl3ho31pas80628My0JB53xCSSoACD0eeTP_6F6yDk_t_V7NqryHuWDBCv4m1b01N1z3n2b2kEOgu0am59pXSEoN1Q1dDR6Sldx8hPj_/s1600/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_03%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1IsoXC8DpOBI4bjfo4Jy6WE3hDr2IpBMuIhyphenhyphen6xl3ho31pas80628My0JB53xCSSoACD0eeTP_6F6yDk_t_V7NqryHuWDBCv4m1b01N1z3n2b2kEOgu0am59pXSEoN1Q1dDR6Sldx8hPj_/s320/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_03%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">私とBさんで10個のプロジェクトを共有し、それぞれがGoogleカレンダーと同期すると、</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">日中の予定を表示するスペースが...</div></td></tr>
</tbody></table><div><div class="separator" style="clear: both; text-align: center;"></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9l1vkhPr0_NujnlmB_-x1sv6hXWHF1zJL3fvv-jugupng26tpP_DKtgZjnfXZUsKguunVsYWHhM83S1OusBRVXxVVgFz7H0UertcjYrEX7ZMfApBYy6xdxar8Ycse5wqXoNnneEJ63AdA/s1600/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_04%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587%25EF%25BC%2588%25E5%2585%25B1%25E6%259C%2589%25E3%2582%2592%25E8%25BE%259E%25E3%2582%2581%25E3%2582%258B%25EF%25BC%2589.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9l1vkhPr0_NujnlmB_-x1sv6hXWHF1zJL3fvv-jugupng26tpP_DKtgZjnfXZUsKguunVsYWHhM83S1OusBRVXxVVgFz7H0UertcjYrEX7ZMfApBYy6xdxar8Ycse5wqXoNnneEJ63AdA/s320/02Google%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E3%2581%25A8%25E3%2581%25AE%25E5%2590%258C%25E6%259C%259F_04%25E3%2582%25AB%25E3%2583%25AC%25E3%2583%25B3%25E3%2583%2580%25E3%2583%25BC%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%25AB%25E3%2581%258A%25E3%2581%2591%25E3%2582%258B%25E9%2587%258D%25E8%25A4%2587%25EF%25BC%2588%25E5%2585%25B1%25E6%259C%2589%25E3%2582%2592%25E8%25BE%259E%25E3%2582%2581%25E3%2582%258B%25EF%25BC%2589.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Bさんのカレンダーの共有をやめると比較的見やすくなります。<br />
ただし、Bさんに割り当てたタスクはカレンダーに表示されなくなります。<br />
(Nozbeには表示されてるので、問題ないといえば問題ないのですが)</td></tr>
</tbody></table><div>タスクには、実施時刻も設定できるので、日にちだけでなく、時刻も設定すれば上のように日中の予定が隠れてしまう事態は避けられそうですが、すべてのタスクに時刻まで設定するのも、結構面倒です。</div><div><br />
</div><div>カレンダー共有用の存在しない架空の人物を1名Nozbeに登録し、カレンダーで共有するのはその架空の人のカレンダーだけにすると、カレンダーでの表示と通知(リマインダーのメール)の両方を満たせるかもと思っています。(まだ、試せていません)</div><div><br />
</div><div><span class="Apple-style-span" style="font-size: large;">有料版だと使えますが、実際には使ってない機能</span></div><div><ul><li>独自URL("好きな名前.getalldone.com"というURLが使えます。が、画面は英語になります。これといって困りませんが、ドメインのために英語表記にすることもないので)</li>
</ul>いまのところ、大きな問題なく、RTMの代替えとしてよさそうです。</div><div><br />
</div><div>その他、Twitterでフォローしている方から、<a href="http://www.toodledo.com/">Toodledo</a>というツールも紹介されました。Nozbeがイマイチの時、使ってみようと思います。(Nozbeを試したあとに使ってみようとは思っていたのですが、いまのところNozbeがよかったので、後日また。ゴメンなさい。)</div><div><br />
</div><div><ul></ul></div></div></div></div></div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-76903890424243023882011-01-16T16:37:00.004+09:002011-01-16T16:41:59.011+09:00「ソーシャル・ネットワーク」 う~ん、どうだろう昨日から公開の「ソーシャル・ネットワーク」。そろそろ解禁と思い、ざっと感想を。<br />
<br />
ちなみに、私はアバターは3Dだけが話題(タイタニックのほうが断然よかった)、評価がいいらしいインセプションは上映時間が無駄に長く、俳優だけの映画と思うセンスの人です。<br />
<br />
<a name='more'></a><br />
<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">日経エンタメ社が開いた試写会で観てきました。</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">簡単に言えば「立ち上げた。トラブった。お金払った。」というストーリーの映画です。</div><br />
アメリカ本国では多くの映画祭で「作品賞」を取るくらいなので、いい作品なのでしょう。<br />
IT業界、特にネットサービスを展開している周辺の人や起業・独立、ベンチャーに興味のある人は、見ても面白いと思います。<br />
<br />
ただ、ストーリー展開もそれほどスピード感があるわけでもなく、個人の興味でいえば、開発に関わる話もほとんどなく、資金調達とそれにまつわる人間のトラブルのお話しなので、いま一歩。<br />
<br />
資金調達の話にしても、もっと企業間の話であれば私には面白かったのですが、そうすると業界の内輪話みたいになって、ますます一部の人以外は面白くない映画になりそうですね。<br />
<br />
なぜか?<br />
たぶん、日頃からリアルタイムでfacebookやそれ以外の多くのネットサービスの勃興に関するニュースに触れていて、映画の中の話しより、よほど面白いからかな?と思いました。<br />
もちろん、私が知るようなことは表面的なことで、裏側で起こっていること、表に出てこずに終わった不成立の交渉などはわかりませんが、それでも十分楽しい。<br />
<br />
金融に関わるフィクションであれば、2月公開の「ウォール街」の続編、「<a href="http://movies.foxjapan.com/wallstreet/">ウォール・ストリート</a>」のほうが期待が持てそうな感じです。<br />
<br />
とは言うものの、たぶんもう1回観に行きます...<br />
<br />
池田信夫氏のブログでの論評(感想?)と近い感じです。<br />
ソーシャル・ネットワーク<br />
<a href="http://ikedanobuo.livedoor.biz/archives/51666033.html">http://ikedanobuo.livedoor.biz/archives/51666033.html</a>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-66259096705581994442011-01-13T21:19:00.004+09:002011-01-13T22:50:40.286+09:00iPhoneアプリ-Lister メールの署名欄からアドレス帳を作ってくれる<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">受信したメールの署名欄の記載情報からアドレス帳を作ってくれるiPhoneアプリ Listerが再開されました。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">再開というのは、昨年に一旦リリースされたものの、予想以上の利用者殺到により、一旦サービスを停止して、強化した後改めて、リリースされたからです。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">新しくなったListerの使用感を簡単にまとめます。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"></span><br />
<a name='more'></a><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">昨年のリリース時も話題になったものの、冒頭のとおりの状況になり、リリース時の好意的な記事の割に、iTunesのコメント欄では酷評されていました。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><a href="http://www.lifehacker.jp/2010/10/101001lister.html">lifehacker - 「Google名刺管理」と言ってもいいくらい便利な、無料連絡先管理アプリ『LISTER』</a></span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">私もiPhoneに入れようと思ったものの、iTunesのコメント欄を見て辞めていました。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">ただ、ブログを見ても、その後改善し、2011年1月11日新たにスタートしました。</span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">(いろんな意味で大変だったでしょうね)</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"></span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><a href="http://listerblog.iqube.net/articles/news/2011%E5%B9%B41%E6%9C%8811%E6%97%A5%E3%81%AB%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E3%82%92%E5%85%A8%E9%9D%A2%E7%9A%84%E3%81%AB%E5%86%8D%E9%96%8B%E3%81%97%E3%81%BE%E3%81%99.html">LISTER ブログ - 2011年1月11日(火)にサービスを全面的に再開します</a></span><br />
<div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">個人情報あたりの懸念やそういった懸念をもたれるであろうことに対するコメントはLISTERブログ自らにも書かれています。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">会社のメールアカウントでの利用は止め、ひとまず個人のメールアカウントで試してみました。(もちろん、友人の個人情報に対する懸念はありますが、そこは私の判断で)</span><br />
<br />
<ol><li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">「無料」です(GREE.jpのCMみたいな言い方ですが)</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">朝8:30ころに登録して、21:00の現在、125件のリスト化終了</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">認識率は高い。というより、普通の署名欄なら正確にリスト化してくれる。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">たまに、電話番号まで住所に含まれてしまうことがある。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">リスト化の対象は、「LISTER使用開始後に届いたメール」ではなく、「既に受信済のメール」もリスト化対象。 → 10万件くらいあるけど、いつ頃リスト化が終わるかは不明...</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">名前だけしか、かかれてなければ、名前だけのリストがかなり正確にリスト化されます。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">ただし、個人のメールのように、署名が名前だけや変なものは、名前、その他情報は誤ったままリスト化されます。(例:氏名でないところが氏名として認識されるなど)</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">朝、最初の5分くらい、別の個人アカウントをリスト化し、途中で辞めた後、そのアカウントを削除しましたが、21時時点でまだリストに残っています。(LISTERに解析対象として登録したメールアカウントを削除すると、そのアカウントにひもづいて解析されたデータも、すべて削除されるはずですが、もう少し待ちましょう)</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">同じ人が複数のメールアカウントで送ってきた場合、2件、3件と別にリスト化されます。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">LISTERに取り込まれた名前、アドレスは、編集できる。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">LISTERに</span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">取り込まれた名前、アドレスは、削除はできない。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">よって、編集しても使えないようなアドレス(メール)は、そのまま残る。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">データは、LISTERからiPhone付属の"連絡先"へExportできます。("連絡先"からは、PC、MacにインストールされたiTunesソフトを経由して、vcard形式で外部にデータを出力できます)</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">よって、ひとまず検索して、探し出せればいい場合はLISTER。</span></li>
<li><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">iPhone付属の"連絡先"へのフィルタの役割として、使うのもあり。</span></li>
</ol><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">いまのところ、こんなところ。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">リストが貯まれば、日常的に使うコンタクトリストとしては、便利。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">なんといっても、寝ている間にも、リスト化してくれる。(たぶん)</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">会社のアカウントで使うかどうかは、今後サービスの安定性や個人情報管理の状況などを見て決めます。</span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span><br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">ちなみに、TechCrunch JAPANの記事の最後にあるとおり、</span></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"></span></div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><a href="http://jp.techcrunch.com/archives/jp2011_0111_lister_automatically_generates_contact_list_from_email_transactions/">[jp]Listerはメールの署名から自動でコンタクトリストを作ってくれるiPhoneアプリ</a></span><br />
<span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"></span><br />
<div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">「あとはメールでやりとりしたことのない名刺しかもっていない人のコンタクトリストをどう整理するかが(個人的な)課題だろう。」については、私の会社 シンプルソフトで「<a href="http://meishi-scan.fast-it.jp/">名刺スキャン</a>」というサービスを提供しています。</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><a href="http://meishi-scan.fast-it.jp/">名刺スキャン</a></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">名刺をスキャンしてCSV、Excelファイルにリスト化します。</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">他の名刺管理アプリや名刺管理ASPと異なり、アプリはいまのところありません。</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">逆に、いま使っている名刺管理ソフト、住所録ソフト、メールソフトのアドレス帳に取り込んでもらうことを想定しています。</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;">ぜひ、ご検討ください。</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, 'Lucida Sans Regular', 'Lucida Sans Unicode', Arial, sans-serif;"><br />
</span></div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-31599404000454479852011-01-11T23:50:00.000+09:002011-01-11T23:50:36.713+09:00Facebook、ファンページでファンだけ/ファン以外に表示する方法Facebookのファンページで<br />
<br />
<ul><li>ファンだけに表示するコンテンツ</li>
<li>逆に、ファン以外の人にだけ表示するコンテンツ</li>
</ul><br />
自分も探して方法を見つけたはずが、どのページを見たか忘れたので、まとめておきます。<br />
<br />
<br />
<a name='more'></a>ファンページを作るのに、Static FBMLというFacebookアプリケーションを使うと、普通のHTMLやFacebook独自のタグ言語FBMLを使って、比較的自由にデザインできます。<br />
<br />
そこで、せっかくのファンページなので、ファンか否かによって、次のように表示を変えたくなることもあります。<br />
<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"></div><ul><li>ファンだけに表示するコンテンツ</li>
<li>逆に、ファン以外の人にだけ表示するコンテンツ</li>
</ul>Static FBMLの編集ページで、<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"><br />
</span><div><span class="Apple-tab-span" style="white-space: pre;"> </span><p><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><fb:visible-to-connection><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>ファンのみなさん、こんにちは。<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><fb:else>ファンになると、より活発な意見が見れます</fb:else><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span></fb:visible-to-connection><div><span class="Apple-tab-span" style="white-space: pre;"> </span></p></div></div><div><br />
</div><div>とすると、予想のつくとおり、ファンには「ファンのみなさん、こんにちは。」と表示され、まだファンになってない人には「ファンになると、より活発な意見が見れます」と表示されます。</div><div><br />
</div><div><br />
</div><div><br />
</div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-29138793167272529172011-01-09T10:02:00.008+09:002011-01-09T10:18:30.960+09:00さくらインターネット VPS980へのLAMP環境のセットアップ<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">さくらインターネットでは、昨年夏に仮想専用サーバーVPS980が提供されるようになりました。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">既にいくつものサイトで紹介されていますが、異なる使い方をしているVPS980を複数契約しているため、少しずつ違いますが、今回はMagentoをセットアップするためのLAMP環境のセットアップ方法をまとめておきます。</span></div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<a name='more'></a><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;">1. 基本設定</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.1 接続情報の受け取り</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">さくらインターネットのサイトで、VPS980を申し込むと、次のメールが順次届きます。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<ul><li><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">お申込受付完了のお知らせ [会員番号]</span></li>
<li><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">[さくらのVPS] 仮登録完了のお知らせ</span></li>
<li><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">クレジットカードによるお支払いについてのお知らせ(カード払いの場合)</span></li>
</ul><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">「[さくらのVPS] 仮登録完了のお知らせ」のメールに記載のIPアドレス、ユーザー名(root)とパスワードで、VPSへ接続します。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">1.2 コントロールパネルへのログイン</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 前項の接続情報を使い、コントロールパネルへログインします。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9oG2iJQQgaJ2fTBRMkzY5lto09vESumItT7T2f6LAGAkpPKao4hbFdjG_OVSj3dQz8baJU8MN88KVwl_ec2A5kddgJKJ3DJKhlRyQyw_3Zu3XPlzR4fmhm81JbbIYQxw3rqCmO6Dmrpxa/s1600/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_01%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB%25E3%2581%25B8%25E3%2583%25AD%25E3%2582%25B0%25E3%2582%25A4%25E3%2583%25B3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><img border="0" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9oG2iJQQgaJ2fTBRMkzY5lto09vESumItT7T2f6LAGAkpPKao4hbFdjG_OVSj3dQz8baJU8MN88KVwl_ec2A5kddgJKJ3DJKhlRyQyw_3Zu3XPlzR4fmhm81JbbIYQxw3rqCmO6Dmrpxa/s400/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_01%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB%25E3%2581%25B8%25E3%2583%25AD%25E3%2582%25B0%25E3%2582%25A4%25E3%2583%25B3.png" width="400" /></span></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: small;">さくらインターネット コントロールパネル</span></td></tr>
</tbody></table><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHPtOUiw8ViUlauaEz0Al2IP53-yW8n2RpP8pNM1MN3kG9BEgITl38Ra6sT6X_jv1k_ruU9BcR7PyY6sqUGRUX2Y4mBpt0aLxRtT8b2wIaW_audRPV8zCRcRrnE5lHgjR3e2NL-Z8sHdvp/s1600/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_02%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB_VPS%25E3%2583%259B%25E3%2583%25BC%25E3%2583%25A0.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><img border="0" height="381" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHPtOUiw8ViUlauaEz0Al2IP53-yW8n2RpP8pNM1MN3kG9BEgITl38Ra6sT6X_jv1k_ruU9BcR7PyY6sqUGRUX2Y4mBpt0aLxRtT8b2wIaW_audRPV8zCRcRrnE5lHgjR3e2NL-Z8sHdvp/s400/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_02%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB_VPS%25E3%2583%259B%25E3%2583%25BC%25E3%2583%25A0.png" width="400" /></span></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><div style="background-color: transparent; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div id="internal-source-marker_0.33344224956817925" style="margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: 'Courier New', Courier, monospace; font-size: 10pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">はじめてログインしたVPSコントロールパネル(サーバーは停止状態)</span></div></div></td></tr>
</tbody></table><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl5Uf33swinRcpSMqkK6rmf1YtX3vPJPJolHLBWNSfPvykKzJrGJYwFuvlP3QGk2ud1431YkV8zxj8xCzh0KHVLsyjWwVOP6NvT7u8wQDUELXHQo39MLC3nD0HFOOSWuvXecwVjyAZck5Y/s1600/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_03%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB_%25E8%25B5%25B7%25E5%258B%2595.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><img border="0" height="381" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl5Uf33swinRcpSMqkK6rmf1YtX3vPJPJolHLBWNSfPvykKzJrGJYwFuvlP3QGk2ud1431YkV8zxj8xCzh0KHVLsyjWwVOP6NvT7u8wQDUELXHQo39MLC3nD0HFOOSWuvXecwVjyAZck5Y/s400/01%25E3%2582%25BB%25E3%2583%2583%25E3%2583%2588%25E3%2582%25A2%25E3%2583%2583%25E3%2583%2597_03%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%25AB%25E3%2583%2591%25E3%2583%258D%25E3%2583%25AB_%25E8%25B5%25B7%25E5%258B%2595.png" width="400" /></span></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><div style="background-color: transparent; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div id="internal-source-marker_0.33344224956817925" style="margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: 'Courier New', Courier, monospace; font-size: 10pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">「起動」ボタンを押し、サーバーを起動します。</span></div></div></td></tr>
</tbody></table><div class="separator" style="clear: both; text-align: left;"></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2 はじめに設定すること</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">参考資料<span class="Apple-tab-span" style="white-space: pre;"> </span>CentOSをサーバーとして活用するための基本的な設定</span></div><div class="separator" style="clear: both; text-align: left;"><a href="http://tanaka.sakura.ad.jp/archives/001065.html"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">http://tanaka.sakura.ad.jp/archives/001065.html</span></a></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">さくらのVPSを借りたら真っ先にやるべきssh設定(2001/09/24追加)</span></div><div class="separator" style="clear: both; text-align: left;"><a href="http://blog.myfinder.jp/2010/09/vpsssh.html"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">http://blog.myfinder.jp/2010/09/vpsssh.html</span></a></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1,000円を切る低価格で登場、「さくらのVPS」をチェック――サーバー構築編</span></div><div class="separator" style="clear: both; text-align: left;"><a href="http://sourceforge.jp/magazine/10/10/04/0020218"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">http://sourceforge.jp/magazine/10/10/04/0020218</span></a></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.1 rootのパスワード変更</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">まずは、さくらインターネットから渡された root のパスワードを変更します。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>passwd</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Changing password for user root.</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> New UNIX password:<b>**********</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Retype new UNIX password:<b>**********</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> passwd: all authentication tokens updated successfully.</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> #</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.2 sshのポート番号変更</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">sshのポート番号を22から10022に変更します。アタックをかける側は、まずデフォルトのポートを狙ってくるので、少ない作業の割には効果があると言われています。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>vi /etc/ssh/sshd_config</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 11<span class="Apple-tab-span" style="white-space: pre;"> </span># default value.</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 12</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 13<span class="Apple-tab-span" style="white-space: pre;"> </span>#Port 22</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 14<span class="Apple-tab-span" style="white-space: pre;"> </span><b>Port 10022</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← この行を追加</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 15<span class="Apple-tab-span" style="white-space: pre;"> </span>#Protocol 2,1</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 16<span class="Apple-tab-span" style="white-space: pre;"> </span>Protocol 2</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.3 作業用ユーザーの作成</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">Unix系OSでは、OS上での作業は作業用ユーザー(一般ユーザー)で行い、必要なときだけrootユーザーになり作業することが多くあります。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">ここでは作業用ユーザーとして sysad を作成します。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>groupadd engineer</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>useradd -d /home/sysad -m -g engineer sysad</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>passwd sysad</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Changing password for user admin.</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> New UNIX password:<b>*************</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Retype new UNIX password:<b>*************</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> passwd: all authentication tokens updated successfully.</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.4 作業用ユーザーがsudoコマンドを使用できるように設定</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">rootの権限でコマンドを実行するには、自らrootユーザーになる場合とsudoコマンドを使用する2つの方法があります。sudoは操作ログが残るため、原則sudoコマンドでroot権限が必要なコマンドを実行するようにしましょう。ユーザー sysadでsudoコマンドを実行出来るようにするためには、次の操作で設定ファイルを変更します。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # visudo</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 74 ##</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 75 ## Allow root to run any commands anywhere</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 76 root ALL=(ALL) ALL</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 77 <b>sysad ALL=(ALL) ALL</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← この行を追加</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">ここで、一旦ログアウトし、作業用ユーザーでログインします。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.5 rootでのssh接続を禁止</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">前項でユーザー sysad が sudo コマンドを使えるようにしたため、早速sudoコマンドを使用します。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>su - sysad</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo vi /etc/ssh/sshd_config</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> [sudo] password for admin: <b>************</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 39 #LoginGraceTime 2m</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 40 #PermitRootLogin yes</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 41 <b>PermitRootLogin no</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← この行を追加</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 42 #StrictModes yes</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 43 #MaxAuthTries 6</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/service sshd restart</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Stopping sshd: [ OK ]</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Starting sshd: [ OK ]</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.6 公開鍵認証でssh接続できるように変更</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">省略</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.7 プロトコルと接続元制限</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">省略</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.8 パッケージのアップデート</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">CentOSおよび周辺のパッケージは、ときどきアップデートしている。次のコマンドでパッケージを最新版に更新します。ときどき、実行しておきましょう。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ sudo yum update</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Loaded plugins: fastestmirror</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Determining fastest mirrors</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> <span class="Apple-tab-span" style="white-space: pre;"> </span>:</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Total download size: 131 M</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Is this ok [y/N]: y<span class="Apple-tab-span" style="white-space: pre;"> </span>← 更新する場合は y を入力します</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">2010年11月くらいは56 Mだったのですが、2011年1月には131Mが更新するまでになっていました。</span></div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.9 iptablesによるファイアウォールの設定</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo system-config-securitylevel-tui</b></span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">“Customize”を選択すると、次の画面が表示され、プロトコル別にファイアウォールの開け閉めが設定できます。次の例では、SSH、HTTP、HTTPS、SMTPのみファイアウォールを通すように設定しています。名前のないポートを開けるには、”Other ports”にポート番号を入力します。複数ある場合は、ポート番号をカンマで区切り入力します。</span></div></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFLErrqcj7hy5BYaUwH7l3vEPiikcq73YFIQFcZDmumsknr8P73UorMas6leXRgYqTTNQfKUrqk5YaTOo05SO_3OKwVFwg3kK-TKfchqI_uM6rHbJJtuF1rQ2L5eU0_OSDScq24IoUA8mA/s1600/iptables%25E3%2581%25AE%25E8%25A8%25AD%25E5%25AE%259A.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><img border="0" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFLErrqcj7hy5BYaUwH7l3vEPiikcq73YFIQFcZDmumsknr8P73UorMas6leXRgYqTTNQfKUrqk5YaTOo05SO_3OKwVFwg3kK-TKfchqI_uM6rHbJJtuF1rQ2L5eU0_OSDScq24IoUA8mA/s320/iptables%25E3%2581%25AE%25E8%25A8%25AD%25E5%25AE%259A.jpg" width="320" /></span></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><div style="background-color: transparent; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div id="internal-source-marker_0.33344224956817925" style="margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: 'Courier New', Courier, monospace; font-size: 10pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">OKをクリックし、設定を終了します。</span></div></div></td></tr>
</tbody></table><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.10 root宛のメールを他のユーザーに転送</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">CentOSは、プログラムの実行結果などを何かと root ユーザーへメールで通知します。そのたびに root ユーザーになるのは手間なため、 root 宛に来たメールは admin@example.co.jp へ転送しておくと楽でしょう。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo vi /etc/aliases</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← /etc/aliasesファイルを編集</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 95 # Person who should get root's mail</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 96 #root: marc</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 97 <b>root: admin@example.co.jp</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← この行を追加</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">次のコマンドで設定を有効にします。(/etc/aliases の変更を適用します)</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo newaliases</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> /etc/aliases: 77 aliases, longest 22 bytes, 791 bytes total</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">では、実際にメールが転送されるかテストします。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>mail root</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Subject: <b>Test mail</b><span class="Apple-tab-span" style="white-space: pre;"> </span>← メールの件名</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> <b>This is a test mail from root on sakura.</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>← メールの本文。最後にピリオドだけの行を入力</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> <b>.</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Cc:<span class="Apple-tab-span" style="white-space: pre;"> </span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">← 指定してもいいですが、何もせずEnter</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">これで、admin@example.co.jp 宛にメールが届けば設定は終了です。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">なお、<b>さくらインターネット VPSの場合、お試し期間中は外向けの25番ポートは閉じているので、お試し期間中に上記設定を行っても、メールは送信されないので要注意</b>です。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.11 不要なデーモンの停止</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">一旦、省略。設定する場合は、上記資料を参照。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>su -</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig acpid off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig auditd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig autofs off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig avahi-daemon off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig bluetooth off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig cups off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig firstboot off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig gpm off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig haldaemon off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig hidd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # </b><s style="font-weight: bold;">chkconfig isdn off</s> <span class="Apple-tab-span" style="white-space: pre;"> </span>(そもそも存在しません)</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig kudzu off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig lvm2-monitor off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig mcstrans off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig mdmonitor off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig messagebus off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig netfs off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig nfslock off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig pcscd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig portmap off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig rawdevices off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig restorecond off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig rpcgssd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig rpcidmapd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig smartd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig xfs off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # chkconfig yum-updatesd off</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> # exit</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.6 不要なコンソールを停止</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">初期状態で停止していました。VPSの当初提供時から変更されているのかもしれません。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo vi /etc/inittab</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 44<span class="Apple-tab-span" style="white-space: pre;"> </span># Run gettys in standard runlevels</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 45<span class="Apple-tab-span" style="white-space: pre;"> </span>1:2345:respawn:/sbin/mingetty tty1</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 46<span class="Apple-tab-span" style="white-space: pre;"> </span># 2:2345:respawn:/sbin/mingetty tty2</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 47<span class="Apple-tab-span" style="white-space: pre;"> </span># 3:2345:respawn:/sbin/mingetty tty3</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 48<span class="Apple-tab-span" style="white-space: pre;"> </span># 4:2345:respawn:/sbin/mingetty tty4</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 49<span class="Apple-tab-span" style="white-space: pre;"> </span># 5:2345:respawn:/sbin/mingetty tty5</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 50<span class="Apple-tab-span" style="white-space: pre;"> </span># 6:2345:respawn:/sbin/mingetty tty6</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.5 selinuxを無効に設定</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">初期状態で既に無効になっていました。VPSの当初提供時から変更されているのかもしれません。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo vi /etc/sysconfig/selinux</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 6<span class="Apple-tab-span" style="white-space: pre;"> </span>SELINUX=disabled</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">ここで、VPSを再起動。VPSの再起動は、コマンドラインから</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>su -</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # shutdown -r now</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">当初、起動時でメモリを220MBくらい使っていたが、不要なデーモンを止めて、150MBまで減らせた。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">1.2.6 ホスト名の確認</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">ここで、さくらインターネット VPSのホスト名を確認しておきます。VPSではあらかじめホスト名が割り当てられています。何に使うわけではありませんが、一度確認しておくのもよいでしょう。</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>hostname</b></span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> hogehoge.sakura.ne.jp</span></div><div style="text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-size: large;">2. 利用ソフトのインストール </span> 当初、ソースファイルから構築しようとしたものの、PHP、MySQLの64bitの設定から、うまくいかなかったため、次の記事を参考に、yumによりソフトウェアをインストールしました。 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 1,000円を切る低価格で登場、「さくらのVPS」をチェック――サーバー構築編 http://sourceforge.jp/magazine/10/10/04/0020218 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">2.1 Apache 2.1.1 インストール</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 次のコマンドで、インストールします。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>sudo yum install httpd</b></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b></b> [sudo] password for admin:<b>**********</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b></b> → rootのパスワードを入力</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> : Transaction Summary</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> ========================================================== Install 1 Package(s)</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Upgrade 0 Package(s)</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> Total download size: 1.2 M</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> Is this ok [y/N]: <b>y</b> → y を入力</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> (以降、yumによるインストールでは同様)</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="white-space: pre-wrap;"></span><span class="Apple-style-span" style="white-space: pre-wrap;"> Apacheを起動し、正常に実行されるか確認します。 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>sudo /sbin/service hyttpd start</b> <br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> OSの起動時、Apacheが起動するように設定します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>sudo /sbin/chkconfig httpd on</b> <br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">2.1.2 設定</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">(1) Webアプリケーションを置くディレクトリを作成 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo mkdir /srv/www/</b></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>chmod 1777 /srv/www/</b> <br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">(2) 設定ファイルを変更 yumでインストールしたら、設定ファイルは、</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> Apache 1.3の頃のように、すべて httpd.conf に記述するようになっていた。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo vi /etc/httpd/conf/httpd.conf</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> DirectoryIndex index.html index.html.var <b>index.php</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> コメントアウトを消して有効化する</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span>AddHandler cgi-script .cgi</b> </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 安全のため</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> ServerTokens <b>Prod</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> ServerSignature <b>Off</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> ...</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 実際には1行で</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> <b>LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vcombined</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> ...</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span><Directory /srv/www></b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span></b></span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b>AllowOverride All</b></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span>Order allow,deny</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> </b></span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b>Allow from all</b></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span></Directory></b><b> </b></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b></b> ...</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> ドメイン名=フォルダ名で振り分け可能にする</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span><VirtualHost *:80></b></span></span><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">ServerName CatchAll</span></b><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">ServerAdmin sysad@example.co.jp</span></b><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">ErrorLog /var/log/httpd/error.log</span></b><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">CustomLog /var/log/httpd/access.log vcombined</span></b><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><br />
</b></span></span><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">AllowEncodedSlashes On</span></b><br />
<b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><span class="Apple-style-span" style="font-weight: normal;"> </span></span></b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><b><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">VirtualDocumentRoot /srv/www/%0</span></b><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span></b></span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b>VirtualScriptAlias /srv/www/%0</b></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b><span class="Apple-style-span" style="font-weight: normal;"> </span></VirtualHost></b><b> </b></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 2.1.3 確認</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> (1) 起動確認 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> ここまで設定したところで、次のコマンドによりApacheを起動 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/service httpd restart</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>ps -ef | grep httpd</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="white-space: pre-wrap;"> Apacheが無事起動していたら、OS自体を再起動し、起動することを確認する。 </span><span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/shutdown -r now</b></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">(2) 設定、アクセスの確認 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> www.example.co.jpのホームページ用ディレクトリを作成し、確認します。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>su -</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>cd /srv/www</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>mkdir www.example.co.jp</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>cd www.example.co.jp</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # <b>vi index.html</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> <html> </b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> <head></b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> <title>This is a www.<span class="Apple-style-span" style="font-weight: normal;"><b>example</b></span>.co.jp test page.</title></b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> </head> </b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> <body>This is a www.<span class="Apple-style-span" style="font-weight: normal;"><b>example</b></span>.co.jp test page.</body> </b></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b> </html> </b> </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">続いて、ローカルPCのhostsファイルを編集し、www.example.co.jpがさくらインターネットのVPSを指すように設定します。Macでなく、Windowsの場合、hostsファイルは C:\Windows\system32\drives\etc\hosts にあります。hostsファイルに次の行を追加します。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">もちろん、自分以外が見れるようにするには、ネームサーバーへの登録が必要で、hostsファイルへの登録は、あくまでテスト目的です。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 127.0.0.1 localhost </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> # ::1 localhost </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> <b>VPS980のIPアドレス www.example.co.jp</b> → この行を追加 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">Webブラウザから http://www.example.co.jp/ へアクセスし、上記で作成したテストファイルが表示されたら、Apacheおよび仮想ホストを含めた設定ファイルの確認は終了です。 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">hostsファイルを編集したことを忘れ「サイトがおかしい」と勘違いしないよう、上記で編集した hosts ファイルは元に戻しておきましょう。 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">2.2 MySQL 5.1 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> MySQLをインストールする前に、MySQLの実行ユーザーを作成するなど、インストールの準備を行います。 </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">以下、すべて1行で入力します。</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>sudo yum install mysql-server </b></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><b></b> $<b> sudo vi /etc/my.cnf</b> </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 7 <b>old_passwords=1</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 8 <b>character-set-server=utf8</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 9 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 10 # Disabling symbolic-links is recommended to prevent assorted security risks; </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 11 # to do so, uncomment this line: </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 12 # symbolic-links=0 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 13 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 14 <b>[mysqld_safe]</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 15 <b>log-error=/var/log/mysqld.log</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 16 <b>pid-file=/var/run/mysqld/mysqld.pid</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 17 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 18 <b>[mysqldump]</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 19 <b>default-character-set=bynary</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 20 </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> 21 <b>[client]</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> 22 <b>default-character-set=utf8</b> </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;">2.2.2 設定 最初は、権限テーブル等を作成します。 <br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo mysql_install_db</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> MySQLを起動し、かつOS起動時MySQLが起動されるように設定します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/service mysqld start</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/chkconfig mysqld on</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> ここで、MySQLへ接続できるか確認します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> $ <b>mysql -u root</b> 接続できたら終了します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> > <b>exit</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> さらに、MySQLのrootユーザーにパスワードを設定します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo mysql_secure_installation</b> </span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="white-space: pre-wrap;"> $ <b>sudo mysql_secure_installation</b></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; white-space: pre-wrap;"> NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): → Enterキーを押します OK, successfully used password, moving on... Setting the root password ensures that nobody can log into the MySQL root user without the proper authorisation. Set root password? [Y/n] → Enterキーを押します New password:********** → rootに設定するパスワードを入力 Re-enter new password:********** → 同じパスワードを入力 Password updated successfully! Reloading privilege tables.. ... Success! By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] → Enterキーを押します ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] → Enterキーを押します ... Success! By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] → Enterキーを押します - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] → Enterキーを押します ... Success! Cleaning up... All done! If you've completed all of the above steps, your MySQL installation should now be secure. Thanks for using MySQL!</span></span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> </span><span class="Apple-style-span" style="font-family: Arial; white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: Arial; white-space: pre-wrap;"> </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">3.3 PHP 5.3へアップデート</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">PHPは2011年1月9日時点で5.3.5が最新版ですが、yumでインストールしたのは、5.1.6でした。 PHP 5.3へのアップデート、PEAR、mbstringのインストール、設定追加は後述します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">(1) PHP 5.3へのアップデート </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">yumにリポジトリを追加します。</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi</b> $ <b>sudo rpm --import http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">リポジトリ設定のインストール </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><br />
</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> $ sudo rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm $ sudo rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm </b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">リポジトリを一時的に有効にして、php5.3をインストール </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo yum install --enablerepo remi php php-pear php-mbstring</b> Transaction Check Error: file /etc/my.cnf from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64 file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> :</span></span><br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> :</span></span></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> :</span></span></div><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> file /usr/share/mysql/charsets/cp1250.xml from install of file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64</span> </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">以上、大量のコンフリクトが発生しました。 そこで、まずは、MySQLのほうを先にアップデートするのがよいらしいので、MySQLをアップデート。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b> </b>$ <b>sudo yum --enablerepo=remi,epel update mysql* </b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">これで、PHPまで合わせて最新の 5.3にアップデートできました。 念のためPEARのアップデート、mbstringがインストールされていないので、mbstringをインストール。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo yum update --enablerepo remi php-pear</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b></b> $ <b>sudo yum install --enablerepo remi php-mbstring</b></span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">Apacheを再起動して、PHPの更新を反映します。 </span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br />
</span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> $ <b>sudo /sbin/service httpd restart</b> </span></span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;"><br />
</span><br />
<span class="Apple-style-span" style="white-space: pre-wrap;">phpinfo()を呼び出すファイルを作成し、バージョン等を確認します。 </span><br />
<span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre-wrap;"><br />
</span></div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-57653137160895347042010-12-11T23:37:00.004+09:002010-12-12T00:59:44.250+09:00Salesforceのアカウント体系(2010年版)<p><a href="http://www.publickey1.jp/blog/10/ruby_on_railsherokudreamforce10.html">Herokuの買収</a>やForce.comの刷新で、一段とサービスが充実なSalesforce.comです。<br />
</p><br />
<p><a href="http://www.publickey1.jp/blog/10/forcecomcmsvmforcedreamforce10.html">セールスフォース、Force.comを刷新、CMSなど強化。VMforceはベータへ。Dreamforce'10</a><br />
</p><br />
<p>今年の前半、Force.comを使った開発に携わることがあり、当初すごく分かりづらかったのが、SalesforceとForce.comの関係でした。(会社としての)セールスフォースの方へ問い合わせ、教えてもらいましたので、当時まとめておきました。<br />
<br />
こんな問題で分かりづらいと思うのは、私だけだったのかもしれませんが、せっかくなので、ブログにも記しておこうと思います。<br />
</p><br />
<a name='more'></a><br />
<p>Salesfoceには似て非なるもののアカウント体系があります。<br /><br />
その前に、まずは2つ(いまは3つになった様子)、ユーザーの利用するサービスを簡単に説明します。<br />
</p><p><h3>【Sales Clound 2(以前のSalesforce CRM)】</h3><p>こちらもログインするとForce.comと表示されますが、元々存在していたSalesforceのプラットフォームで、「顧客管理」とか、CRMに使うASPで提供される完成されたアプリケーション。<br /><br />
<ul><li><a href="http://www.salesforce.com/jp/crm/sales-force-automation/">概要</a></li>
<li><a href="http://www.salesforce.com/jp/crm/sales-force-automation/features.jsp">機能</a></li>
<li><a href="http://www.salesforce.com/jp/crm/sales-force-automation/pricing-editions.jsp">製品一覧・料金</a></li>
</ul>その他は<a href="http://www.salesforce.com/jp/crm/sales-force-automation/">概要</a>のページから参照してください。<br /><br />
<br /><br />
以前は、Salesforce CRM、1つで「SFA(営業支援)もCRM(コールセンター等で利用する)も」と言っていましたが、今は、CRMは<a href="http://www.salesforce.com/jp/crm/customer-service-support/">Service Cloud2</a>という別サービスになっているようです。<br /><br />
用途が違うので、本来は別製品なのに...と思っていたので、私は別けて正解と思います。<br /><br />
<br /><br />
CRM用のService Cloud 2については、<a href="http://www.salesforce.com/jp/crm/customer-service-support/">Service Cloud 2</a>に書かれています。<br /><br />
それぞれの詳しい説明は以下に。<br /><br />
<ul><li><a href="http://www.salesforce.com/jp/assets/pdf/datasheets/DS_SalesCloud_EdCompare.pdf">Sales Cloud 2 全エディション比較表(PDF)</a></li>
<li><a href="http://www.salesforce.com/jp/assets/pdf/datasheets/DS_ServiceCloud_EdCompare.pdf">Service Cloud 2 全エディション比較表(PDF)</a></li>
</ul></p></p><br />
<p><h3>【Force.com】</h3><p>Javaに似た専用のプログラミング言語Force.comコード(旧名称:Apex)や画面の作成に使うマークアップ言語Force.comページ(旧名称:VisualForce)が使えるシステム開発環境です。<br /><br />
いわゆるPaaS(Platform as a Service)で、SFA(営業支援)、顧客管理、CRMとは全く関係のないアプリケーションも開発できます。<br /><br />
ただ、Force.comには、Sales Could 2に含まれる機能(私が使ったのは、Salesforce CRM、1つにまとめられていた頃ですが、たぶんService Cloud 2に含まれる機能も)を同梱していますので、SFAや顧客管理に関連したアプリケーションの開発に適しています。<br /><br />
<br /><br />
<ul><li><a href="http://www.salesforce.com/jp/platform/">概要</a></li>
<li><a href="http://www.salesforce.com/jp/platform/products.jsp">機能</a></li>
<li><a href="http://www.salesforce.com/jp/platform/pricing-editions.jsp">エディション一覧・料金</a></li>
</ul><br /><br />
Force.comのすべてのEditionについて、次の資料に書かれています。<br /><br />
<ul><li><a href="http://www.salesforce.com/jp/assets/pdf/datasheets/DS_SalesCloud_EdCompare.pdf">Force.com 全エディション比較表(PDF)</a></li>
</ul><br /><br />
「<a href="http://www.salesforce.com/jp/assets/pdf/datasheets/DS_SalesCloud_EdCompare.pdf">Force.com 全エディション比較表(PDF)</a>」の資料の中で、また「Custom Cloud」という<strong>なぞ</strong>の名称が登場していますが、意味的には単純にForce.comに置き換えてよさそうです。<br />
</p></p><br />
<p>さて、最近サービス拡張の激しいセールスフォースですが、大きく分け【Sales Clound 2(以前のSalesforce CRM)】と【Force.com】に分けてまとめました、各製品には次のようなEditionがあります。<br /><br />
<br /><br />
【Sales Clound 2(以前のSalesforce CRM)】のEdition<br /><br />
<table><tr><td>Contact Manager Edition</td></tr>
<tr><td>Group Edition</td></tr>
<tr><td>Professional Edition</td></tr>
<tr><td>Enterprise Edition</td></tr>
<tr><td>Unlimited</td></tr>
</table>また、おもてだっては存在していませんが、Developer Editionという開発者向けのEditionもあります。<br /><br />
<br /><br />
【Force.com】のEdition<br /><br />
<table><tr><td>Force.com Free Edition(旧名称:(Force.comの中のただの)Free Edition)</td></tr>
<tr><td>Enterprise Edition(この中に、さらに「One App」と「Multiple Apps」がある)</td></tr>
<tr><td>Unlimited Edition(この中に、さらに「One App」と「Multiple Apps」がある)</td></tr>
</table>やはり、こちらにもDeveloper Editionという開発者向けのEditionもあります。(2010年3月7日追加)<br /><br />
<br /><br />
Force.comの資料のはずが、冒頭でいきなり"Custom Cloud"、一旦Force.comと言ったのち、再度文中でいきなり"Custom Cloud"。最適なCustom Cloud Editonを選びましょうとあり、そのすぐ下にあるEditonの説明では、"Force.com Free"やら"Force.com Enterprise"、"Force.com Unlimited"。<br /><br />
でも、その下の表では、 "Force.com Free Edition"、"Enterprise Edition One App"、"Enterprise Editon Multiple Apps"、...<br /><br />
<br /><br />
用語の使い方みると、わざと理解しずらいようにしてるとしか、思えない...("Force.com Enterprise Edition"と(ただの"Enterprise Edition"は同じものなのでしょうけど、同じ資料、同じページの中でわかわざ違う呼び方するのが理解できない。紙のスペースの問題?PDFなのに?)<br /><br />
</p><br />
<p>【Sales Clound 2(以前のSalesforce CRM)】と【Force.com】、一見別々に存在、別々の製品・サービスですが、<strong>「組織」および「アカウント」はSalesforce、Force.comを通してユニークでなければなりません</strong>。<br /><br />
<br /><br />
ちなみに、「組織」とはセールスフォース社のアプリケーションを利用する組織、グループ、会社などの単位を指します。普通に言えば、「組織」=「利用する企業」です。<br /><br />
<br /><br />
まあ、「アカウント」はセールスフォース社のアプリケーションを利用する利用者、1名1名の単位で、WindowsやGoogleを利用するときの"アカウント"と、同じ意味です。<br /><br />
<br /><br />
つまり、あるシステム開発会社(A社とします)が自社で利用するため"Sales Clound 2"を利用した後(このとき<br />
、「組織」と「アカウント」を"Sales Cloud 2"へ登録します)、別の会社(B社とします)からForce.com上で動作するアプリケーションの開発依頼を受けたとき、開発用にForce.comのDeveloper Editionを登録しよとしたとします。<br /><br />
<br /><br />
Force.comのDeveloper Editonには、"Sales Cloud 2"へ登録した「組織」と「アカウント」は使えず、別の「組織」、「アカウント」を登録する必要があります。<br /><br />
<br /><br />
「アカウント」はメールアドレスではないので、何も困らないといえばそうですが、「アカウント」にメールアドレスを使うこともあり、そのとき"Sales Cloud 2"に登録済みのアカウント(メールアドレス)が使えないといったことがおこります。<br /><br />
</p><br />
<p>シンプルソフトの場合、2007年にSaleforce.comのSalesforce CRMに、simplesoft.co.jpドメインのメールアドレスをアカウントととして、登録しました。<br /><br />
その後、今年になって、Force.comにsimplesoft.co.jpドメインのメールアドレスでアカウントを作ろうとしたところ、登録できず、なぜか?と思って問い合わせたところ<br /><br />
<br /><br />
【Sales Clound 2(以前のSalesforce CRM)】と【Force.com】、一見別々に存在、別々の製品・サービスですが、<strong>「組織」および「アカウント」はSalesforce、Force.comを通してユニークでなければなりません</strong>。<br /><br />
<br /><br />
という理由があるのを知りました。<br />
</p><br />
<p>結局のところ、【Sales Clound 2(以前のSalesforce CRM)】や【Force.com】を使う場合、「アカウント」にはメールアドレス以外を登録したほうがよさそう、という話でした。<br /><br />
<br /><br />
「アカウント」の通知先にメールアドレスを指定しますが、「アカウント」さえ異なれば、その「アカウント」に設定されているメールアドレスが重複していても、何ら問題ないそうです。<br /><br />
<br /><br />
<br /><br />
「アカウント」はメールアドレスと同じ形式の"xxxx@example.co.jp"の形式である必要があるものの、実在するメールアドレスである必要はないというのが、ややっこしくしてました。<br /><br />
「実在するメールアドレスである必要はない」と言われても、実在しないメールアドレスのようなものがあると混乱するので、実在するメールアドレスを「アカウント」名に使ったときに起こりやすい問題でした。<br />
<br /><br />
<br />
<br />
<br />
<br />
さらなる抜粋ですが、@ITのSalesforceのアカウントに関する記事。<br />
<br />
<a href="http://www.atmarkit.co.jp/fcoding/articles/sf/01/sf01a.html">http://www.atmarkit.co.jp/fcoding/articles/sf/01/sf01a.html</a><br />
</p>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-34113779450169567392010-11-27T16:45:00.005+09:002010-11-27T16:52:22.244+09:00Amazon S3へのバックアップ<p>内容的にはいまさらですが、最近<a href="http://vps.sakura.ad.jp/">さくらインターネットの仮想専用サーバー VPS980</a>(OSはCentOS 5.5)を使う機会があったので、そこのコンテンツを<a href="http://aws.amazon.com/jp/s3/">Amazon S3</a>へバックアップするようにしました。<br />
</p><p>rsyncでもよかったのですが、更新頻度も頻度も高くないので。<br />
</p><p>バックアップするファイルサイズが1GBもあったら、別の方法を考えますが、毎日のバックアップファイルのサイズが数百MBまでだったら、十分でしょう。<br />
</p><br />
<a name='more'></a><br />
<br />
<p><h2>1. 事前準備</h2><p>バックアップ先のストレージに、<a href="http://aws.amazon.com/jp/s3/">Amazon S3</a>を使います(そういえば、サイトも日本語化されたんでしたね)。なので、事前に<a href="http://aws.amazon.com/jp/">Amazon Web Services</a>への登録を済ませておきましょう。<a href="http://aws.amazon.com/jp/">Amazon Web Services</a>への登録が済むと<br />
<ul><li><a href="http://aws.amazon.com/jp/">Amazon Web Services</a>のアカウント</li>
<li>アクセスキー</li>
<li>秘密キー</li>
</ul>と、この3つがもらえます。<br />
</p><br />
<p>以上です。<br />
</p><br />
<p>以前であれば、「Firefoxのプラグイン <a href="https://addons.mozilla.org/en-US/firefox/addon/3247/">S3Fox Organizer</a> や Windowsのエクスプローラにオンラインストレージをマウントできる <a href="http://www.gladinet.com/p/moreaboutdesktop.htm">Gladinet Cloud Desktop</a> を入れて」と書くところですが、いつの頃からかAmazon自身がコンソール画面を提供しはじめたので、いまは <a href="https://addons.mozilla.org/en-US/firefox/addon/3247/">S3Fox Organizer</a> や<a href="http://www.gladinet.com/p/moreaboutdesktop.htm">Gladinet Cloud Desktop</a> といった外部ツールは、必須ではありません。<br />
</p></p><br />
<p><h2>2. S3 toolsのダウンロード</h2><p>S3toolsは、次のWebサイトからダウンロードできます。<br />
</p><p><a href="http://s3tools.org/download">http://s3tools.org/download</a><br />
</p><p>この資料を書いている 2010年11月27日現在、1.0.0 -rc1が最新版(2010/10/29にリリース)です。<br />
</p></p><br />
<p><h2>3. S3 toolsのインストール</h2><p><h4>(1) ソース展開用ディレクトリ、コマンド用ディレクトリの作成</h4><p>Amazon S3toolsをインストールする前に、ソースファイルの展開先として、$HOME/src ディレクトリを作成します。<br />
<pre class="prettyprint">$ pwd /home/username
$ mkdir src
$ mkdir bin
$ cd src
</pre>$HOME/binに、パスが通ってなければ、通しておきましょう。<br />
</p></p><br />
<p><h4>(2) Amazon S3 Toolsのアップロード</h4><p>前「2. S3 toolsのダウンロード」でダウンロードしたファイルを $HOME/src へアップロードします。<br />
</p></p><br />
<p><h4>(3) Amazon S3 Toolsのインストール</h4><p>続いて、Amazon S3 Toolsのセットアップ作業を行います。<br />
<br />
専用サーバー等では、yumコマンドによりパッケージごとインストールすることもできます。<br />
また、通常であればAmazon S3 Toolsの "INSTALL" ファイルに記述された方法でインストールを行いますが、共用サーバーなど、"/usr/local/bin" などのディレクトリへの書き込み権限がない場合は、手動でインストールを行います。<br />
今回は手動でインストールしてみます。<br />
<br />
インストールには、あらかじめAmazon S3のアカウントが必要なので、必要な手続き、情報は揃えておきます。<br />
<pre class="prettyprint">$ cd $HOME/src
$ gzip -dc s3cmd-1.0.0-rc1.tar.gz.gz | tar xvf -
$ mv s3cmd-1.0.0-rc1/S3 $HOME/bin
$ mv s3cmd-1.0.0-rc1/s3cmd $HOME/bin
</pre><br />
インストールには、あらかじめAmazon S3のアカウントが必要なので、必要な手続き、情報は揃えておきます。<br />
<pre class="prettyprint">$ s3cmd --configure
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3
Access Key: ********************** ← Amazon S3のアクセスキーを入力
Secret Key: ********************** ← Amazon S3の秘密キーを入力
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password: ****** ← Amazon S3のアカウントに設定したパスワードを入力
Path to GPG program [/usr/local/bin/gpg]:Entryキーを押下
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]:Yes
New settings:
Access Key: 入力したアクセスキー
Secret Key: 入力した秘密キー
Encryption password: パスワード
Path to GPG program: /usr/local/bin/gpg
Use HTTPS protocol: True
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] Y
Please wait...
Success. Your access key and secret key worked fine :-)
Now verifying that encryption works...
Success. Encryption and decryption worked fine :-)
Save settings? [y/N] y
Configuration saved to '/home/username/.s3cfg'
$
</pre>以上で Amazon S3 Toolsのインストールが終了です。<br />
</p></p></p><br />
<p><h2>4.バックアップの設定</h2><p>今回のサーバーでは、HTML等Webのコンテンツとデータベース(MySQL)のデータをバックアップします。<br />
<br />
<h4>(1) バックアップ先のバケット(ディレクトリと同様のことを表すAmazon S3での用語)の作成</h4><p>Amazon S3toolsをインストールする前に、ソースファイルの展開先として、$HOME/src ディレクトリを作成します。<br />
<br />
先にインストールした s3 toolsでは、階層構造を持つバケットが作成できないようです。作成しようとしたところ、次のようなエラーになりました。<br />
<br />
<br />
<pre class="prettyprint">$ s3cmd mb s3://examples/hoge
ERROR: Parameter problem: Expecting S3 URI with just the bucket name set instead of 's3://examples/hoge'
</pre><br />
0.9.9の頃もそうでしたが、1.0.0-rc1の現在でも同様に作成できないようです。<br />
このため、Amazonのコンソール画面 や Firefox用のプラグイン等、他のツールを利用して、あらかじめばバックアップデータを格納するバケットを作成しておきます。ここでは次の名前でバケットを作成しました。<br />
<p>/examples/www.example.org<br />
</p>.(ドット)は問題にならないか、心配したものの、大丈夫っぽい。<br />
</p><br />
<h4>(2) バックアップ用のシェルスクリプトの作成</h4><p>$HOME/bin ディレクトリの下に、以下のシェルスクリプトを backup.sh の名前で作成します。<br />
<br />
<pre class="prettyprint">$ cd $HOME/bin
$ vi backup.sh
#!/bin/sh
# for s3cmd by python
export PATH=$PATH:/usr/local/bin:/bin:/usr/bin
export MY_HOME=/home/username
cd $MY_HOME
# cleanup
rm backup_daily.log
# backup MySQL database for WordPress
/usr/bin/mysqldump wordpress -uユーザー名 -pパスワード > server_data_db_`date +%Y%m%d`.dmp
# backup Web contents
tar czpf server_data_`date +%Y%m%d`.tgz bin www log
# send to Amazon S3
$MY_HOME/bin/s3cmd -c $MY_HOME/.s3cfg put server_data_db_`date +%Y%m%d`.dmp s3://simplesoft/server_data/server_data_db_`date +%Y%m%d`.dmp >> backup.log
$MY_HOME/bin/s3cmd -c $MY_HOME/.s3cfg put server_data_`date +%Y%m%d`.tgz s3://simplesoft/server_data/server_data_`date +%Y%m%d`.tgz >> backup.log
# delete old data
find $MY_HOME -maxdepth 1 -name "server_data_*.dmp" -type f -mtime +4 -exec rm {} \;
find $MY_HOME -maxdepth 1 -name "server_data_*.tgz" -type f -mtime +4 -exec rm {} \;
# logging
ls -l >> backup.log
ls -l > backup_daily.log
# send log file
mail -s "[BACKUP LOG] server_data" 通知先のメールアドレス < backup_daily.log
</pre>
findコマンドの -maxdepthは、以前は -typeオプションのあとに書いていたのですが、-name の前に指定とのwarningが出るようになったためオプションの指定順をj変更し、-nameの前に -maxdepthを指定。(前から?)
<pre class="prettyprint">$ chmod 755 backup.sh
$ exit
</pre>設定したバックアップコマンドを実行し、バックアップされたファイル(Amazon S3からのダウンロードと、サーバー上に保存されたファイル)の中身、バックアップの実行自体の結果を確認します。
<pre class="prettyprint">$ su -
# /home/username/bin/backup.sh
</pre></p></p></p><p><h2>5. 日次で実行するように設定</h2><p> バックアップの設定確認を終えたら、それが毎日実行されるように cron の設定を行います。
<pre class="prettyprint">$ su -
# crontab -e
0 2 * * * /home/username/bin/backup.sh
</pre> 以上により、毎日午前2時に、バックアップが行われるようになります。
</p></p>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-76472433633651874682010-11-17T23:11:00.002+09:002010-11-18T19:49:23.850+09:00RockMeltのその後普通のブラウザとして使っているうことが多いですが、気づいたいくつかの問題を。<br />
いずれもβだったら十分ありそうなことで、たいした問題ではありません。<br />
<a name='more'></a><br />
Twitter機能拡張 URLマウスオーバー時のブレ<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEQ5hi-YLLO76X8nmSfSwYBSZ2waM_FipcgLofT28JNoEwsvbcshNY3Kf8XziHtrsm3QcFaFkyftCkgAEJSpPtel6O10Fw5vEbdXRxrZ7JShwZ7cJdeXaichyiCSZ_7bhqxzqJL9VbH8o/s1600/Twitter%25E6%25A9%259F%25E8%2583%25BD%25E6%258B%25A1%25E5%25BC%25B5%25E3%2581%25AE%25E3%2581%25BC%25E3%2582%2584%25E3%2581%2591.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEQ5hi-YLLO76X8nmSfSwYBSZ2waM_FipcgLofT28JNoEwsvbcshNY3Kf8XziHtrsm3QcFaFkyftCkgAEJSpPtel6O10Fw5vEbdXRxrZ7JShwZ7cJdeXaichyiCSZ_7bhqxzqJL9VbH8o/s320/Twitter%25E6%25A9%259F%25E8%2583%25BD%25E6%258B%25A1%25E5%25BC%25B5%25E3%2581%25AE%25E3%2581%25BC%25E3%2582%2584%25E3%2581%2591.jpg" width="159" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><div style="margin: 0px;">URLマウスオーバー時に上のようにブレて見づらくなり、</div><div style="margin: 0px;">URLもクリックできない</div></td></tr>
</tbody></table><br />
<br />
<div style="margin: 0px;">Twitter機能拡張 ツイートが表示されないときがある。</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhduoHbZ7MZS5OGk6oLuhmApSZ_VaI0UYjuItsDBLBdaeo_2Ws6EZvti_kDCn5eWI5cw-PfuiLg8NC2w_fa9aKCNN9qBu0B-OOMc0vyZvfHRyGDRJuXmPQs1-5T1Oe7J9JSw0XH3s0kOHuu/s1600/Twitter%25E6%25A9%259F%25E8%2583%25BD%25E6%258B%25A1%25E5%25BC%25B5_%25E4%25BD%2595%25E3%2582%2582%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%2595%25E3%2582%258C%25E3%2581%25AA%25E3%2581%2584.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhduoHbZ7MZS5OGk6oLuhmApSZ_VaI0UYjuItsDBLBdaeo_2Ws6EZvti_kDCn5eWI5cw-PfuiLg8NC2w_fa9aKCNN9qBu0B-OOMc0vyZvfHRyGDRJuXmPQs1-5T1Oe7J9JSw0XH3s0kOHuu/s320/Twitter%25E6%25A9%259F%25E8%2583%25BD%25E6%258B%25A1%25E5%25BC%25B5_%25E4%25BD%2595%25E3%2582%2582%25E8%25A1%25A8%25E7%25A4%25BA%25E3%2581%2595%25E3%2582%258C%25E3%2581%25AA%25E3%2581%2584.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Twitter機能拡張の表示が真っ白</td></tr>
</tbody></table><div style="margin: 0px;"><br />
<br />
<br />
<div style="margin: 0px;">メールのファイルダウンロード時、ファイル名が文字化けする。(日本語ファイル名のみ)</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjENoLI3tvrXHcMBcSMherlsmydu1zhqhj8FrbUgudEgGWi6uJi8E59UKPTFns_B31G1_bOLW8AyUmDHAl6UkdXWWkLPAv5n8wxdWSMkzr5_vqvZnnU6KXfTLIMCYF1hoqJPpTyZEPT7fcr/s1600/%25E6%2597%25A5%25E6%259C%25AC%25E8%25AA%259E%25E3%2583%2595%25E3%2582%25A1%25E3%2582%25A4%25E3%2583%25AB%25E5%2590%258D%25E3%2581%25AE%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E6%2599%2582%25E6%2596%2587%25E5%25AD%2597%25E5%258C%2596%25E3%2581%2591.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjENoLI3tvrXHcMBcSMherlsmydu1zhqhj8FrbUgudEgGWi6uJi8E59UKPTFns_B31G1_bOLW8AyUmDHAl6UkdXWWkLPAv5n8wxdWSMkzr5_vqvZnnU6KXfTLIMCYF1hoqJPpTyZEPT7fcr/s320/%25E6%2597%25A5%25E6%259C%25AC%25E8%25AA%259E%25E3%2583%2595%25E3%2582%25A1%25E3%2582%25A4%25E3%2583%25AB%25E5%2590%258D%25E3%2581%25AE%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E6%2599%2582%25E6%2596%2587%25E5%25AD%2597%25E5%258C%2596%25E3%2581%2591.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">日本語ファイル名 日本語部分が"-"になる</td></tr>
</tbody></table><div style="margin: 0px;"><br />
</div><div style="margin: 0px;"><br />
</div></div><div style="margin: 0px;">画面の下側1/4くらいや右端がグレーアウト</div><div> これはいま起こってないので、画像がありません。</div><div><br />
</div><div>でも、Twitter機能拡張?で、ツイートが表示されても、ユーザーIDが表示されず、プロフィールの写真のほとんどは表示されないので、誰のツイートかよくわかりません。</div><div><br />
</div><div>いずれにしても、Flock以来、久々に新しいコンセプトのブラウザなので、期待したいところです。</div><div><br />
</div><div class="separator" style="clear: both; text-align: center;"></div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-8531498450703155882010-11-13T21:12:00.002+09:002010-11-13T23:50:29.714+09:00RockMeltを使ってみてRockMeltをインストールして、まだ数日ですが、会社、自宅ともにデフォルトのブラウザに設定してますが、大きな問題もなく、普通に使えています。<br />
<div><br />
</div><div>会社はGoogle Appsを導入していて、昨日は社内で作業だったので、一日の半分はRockMelt上で作業していましたが、Gmail、Google ドキュメント、スプレッドシートも問題なく、その合間に見ていたTwitter、Facebookも問題なしでした。</div><div>メモリ消費もこれといって、Google Chromeと違うところ、ありませんでしたし。</div><div><br />
<a name='more'></a>ただ、Googleドキュメント上で物書きしているとき、画面の下 1/4がグレー一色になり、描画されない領域ができてしまいました。これが数日間の間に、数回程度。</div><div><br />
</div><div>引き続き、しばらく使ってみようと思います。<br />
インストールまでの流れは次のとおりです。<br />
<br />
</div><div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhECxQH7Oks6FfDsT6B88peF6cMUZOVhI-pQOO73fN6nfHMK8DbNyHZ6zd1yo6exxcn5w5veTi_NxIVeh6oEWhkW1fqkPLQfAJddU3zEdxsSBu0SY6yMLOVfdCYJWgjbPFjkTFLODy8twBw/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_01%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E7%2594%25BB%25E9%259D%25A2_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhECxQH7Oks6FfDsT6B88peF6cMUZOVhI-pQOO73fN6nfHMK8DbNyHZ6zd1yo6exxcn5w5veTi_NxIVeh6oEWhkW1fqkPLQfAJddU3zEdxsSBu0SY6yMLOVfdCYJWgjbPFjkTFLODy8twBw/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_01%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E7%2594%25BB%25E9%259D%25A2_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">ダウンロード画面</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQyCKfBM7twDmQRjuZZET9cReG_SyNhlr7kATJS9_4JYMV5odJF-YVYeiQy5A0DekkP8KkgDytghuJD6if9Me1P9l9vmjg4a-P9dZsyD2fjnRsAUicoUa5XrfLAI7wePWB3HKXdaHUNrxV/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_01%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E5%25BE%258CChrome%25E3%2581%25AE%25E7%2594%25BB%25E9%259D%25A2_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQyCKfBM7twDmQRjuZZET9cReG_SyNhlr7kATJS9_4JYMV5odJF-YVYeiQy5A0DekkP8KkgDytghuJD6if9Me1P9l9vmjg4a-P9dZsyD2fjnRsAUicoUa5XrfLAI7wePWB3HKXdaHUNrxV/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_01%25E3%2583%2580%25E3%2582%25A6%25E3%2583%25B3%25E3%2583%25AD%25E3%2583%25BC%25E3%2583%2589%25E5%25BE%258CChrome%25E3%2581%25AE%25E7%2594%25BB%25E9%259D%25A2_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">ダウンロードしたあとは、社員のみなさんの写真らしい</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs_azhuQuWr5LzMGUSAUyeOeADJr-XZi7rJ7re5CiW0PIcIus-hFm_89byhE1hZ-LzL_uCih_FXpjNL0IFr0lM8mr9SlP1sYICCYNn_JO7sE6-RC_KVih6reC4o-kQV1Pfd-cV2wGPrByf/s1600/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_02%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258CFacebook%25E3%2581%25B8%25E3%2581%25AE%25E3%2583%25AD%25E3%2582%25B0%25E3%2582%25A4%25E3%2583%25B3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs_azhuQuWr5LzMGUSAUyeOeADJr-XZi7rJ7re5CiW0PIcIus-hFm_89byhE1hZ-LzL_uCih_FXpjNL0IFr0lM8mr9SlP1sYICCYNn_JO7sE6-RC_KVih6reC4o-kQV1Pfd-cV2wGPrByf/s320/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_02%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258CFacebook%25E3%2581%25B8%25E3%2581%25AE%25E3%2583%25AD%25E3%2582%25B0%25E3%2582%25A4%25E3%2583%25B3.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">インストール後、最初の起動時、Facebookへのログインを求められます。</div><div class="separator" style="clear: both; text-align: left;">さすが、ソーシャルなブラウザ?です。</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxa2TV4-EjME3ucQTWpxUfMhmoicDMCWeGmYxJdTHSE-En3buVtO8ONWhVACr9Mka6pCQkIKyZPBv2NpfhuT8-dm-GCRk9eutl1cuReijGxtfX4vM24k5HnfWyo-9Eu9fuhSL_msGLwQoR/s1600/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_03%25E8%25A8%25AD%25E5%25AE%259A%25E3%2581%25AE%25E3%2582%25A4%25E3%2583%25B3%25E3%2583%259D%25E3%2583%25BC%25E3%2583%2588.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxa2TV4-EjME3ucQTWpxUfMhmoicDMCWeGmYxJdTHSE-En3buVtO8ONWhVACr9Mka6pCQkIKyZPBv2NpfhuT8-dm-GCRk9eutl1cuReijGxtfX4vM24k5HnfWyo-9Eu9fuhSL_msGLwQoR/s320/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_03%25E8%25A8%25AD%25E5%25AE%259A%25E3%2581%25AE%25E3%2582%25A4%25E3%2583%25B3%25E3%2583%259D%25E3%2583%25BC%25E3%2583%2588.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">設定のインポート画面</div><div class="separator" style="clear: both; text-align: left;">(Mac版とWindows版の画面が混ざってる...)</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbc35upgzCTxNKfG3knVbgWglHwmAvJhqkaZf2Iv1SOEZRl81IYMhgnzYXX1atGiL5vJjn0MGaFv2q9rsbEGdU1A6AIVdCQEGC4aPxxdwC1QQgyx9K3wDr70-Xe_eVbn9VbMobmn1aHhJP/s1600/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_04%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="229" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbc35upgzCTxNKfG3knVbgWglHwmAvJhqkaZf2Iv1SOEZRl81IYMhgnzYXX1atGiL5vJjn0MGaFv2q9rsbEGdU1A6AIVdCQEGC4aPxxdwC1QQgyx9K3wDr70-Xe_eVbn9VbMobmn1aHhJP/s320/01_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_04%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: left;"></div><div class="separator" style="clear: both; text-align: left;"></div><div class="separator" style="clear: both; text-align: left;">最初の起動時の画面</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">左側にFacebookの友達のリスト、右側に機能拡張やフィードのリスト。</div><div class="separator" style="clear: both; text-align: left;">それぞれ、"Friend Edge"、"App Edge"といい、次のように非表示にもできます。</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">これらを非表示にすると、URLのボックス、検索ボックスが違う以外、ほとんどGoogle Chromeと同じになりますね。(Safariの並びと同じ)</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">仕事するとき、気になりそうだったら、"Friend Edge"、"App Edge"を非表示にするといいでしょう。</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijI9q95sTSkHKxZ9wDKbn0TbckLJVirYL_PlPp-9NOCLAK1UdIHyINIvxzRHS3fXQ9kzh4CXfH-L-Xlw8FaHH80fiIjR3AUdMACGhLGVcccfrmuxUOZBTo4yOM6pZ7VvvR8FrVsytElEem/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_05%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Share%25EF%25BC%2589_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijI9q95sTSkHKxZ9wDKbn0TbckLJVirYL_PlPp-9NOCLAK1UdIHyINIvxzRHS3fXQ9kzh4CXfH-L-Xlw8FaHH80fiIjR3AUdMACGhLGVcccfrmuxUOZBTo4yOM6pZ7VvvR8FrVsytElEem/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_05%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Share%25EF%25BC%2589_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">4つの場所にマウスを合わせると、それぞれ簡単な説明が表示されます。</div><div class="separator" style="clear: both; text-align: left;">これは"SHARE"の説明。</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkeQxJpVNDkMW_2A4a4sEiA1y37Vur169uas7IWZQEFFjLsO9lmqyWDA8UJsbpnuvwnMZ6uDbD9Ec62R4JOc32I67rRhHyOAJzzn3QYZ6NqApaGSuAyLhCknxRGB7d2D0Wpq2nb9My6LtU/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_06%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Friends%25EF%25BC%2589_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkeQxJpVNDkMW_2A4a4sEiA1y37Vur169uas7IWZQEFFjLsO9lmqyWDA8UJsbpnuvwnMZ6uDbD9Ec62R4JOc32I67rRhHyOAJzzn3QYZ6NqApaGSuAyLhCknxRGB7d2D0Wpq2nb9My6LtU/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_06%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Friends%25EF%25BC%2589_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">"FRIENDS"</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFjOsKLrF8fFW67PSupwz89YPidz6otpTH2uwWrd-eeQnhX2ktps7LBrLWeb3JoZZGS5H1jfX9HhCPNASouSWNLgq81_hiYCRjLamT70dmkeh9gTIKcYDEl_-UVspuO_8_27u3brcTYxvU/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_07%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588News%25EF%25BC%2589_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFjOsKLrF8fFW67PSupwz89YPidz6otpTH2uwWrd-eeQnhX2ktps7LBrLWeb3JoZZGS5H1jfX9HhCPNASouSWNLgq81_hiYCRjLamT70dmkeh9gTIKcYDEl_-UVspuO_8_27u3brcTYxvU/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_07%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588News%25EF%25BC%2589_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;">"NEWS"</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWqCwx2lcz2MNP3G93eK602SJvr0DlRf27Olq4nc1kW_wovCs1clrcGnMeOK_Z2cWBlpLzY48oT_GaLFPn8Swf1f7EVKfqrzaC-46pqYCDvAZ7ppRvJYgrNKUizQm4XbmnueH2TBwMewzk/s1600/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_08%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Search%25EF%25BC%2589_Mac.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWqCwx2lcz2MNP3G93eK602SJvr0DlRf27Olq4nc1kW_wovCs1clrcGnMeOK_Z2cWBlpLzY48oT_GaLFPn8Swf1f7EVKfqrzaC-46pqYCDvAZ7ppRvJYgrNKUizQm4XbmnueH2TBwMewzk/s320/02_%25E3%2582%25A4%25E3%2583%25B3%25E3%2582%25B9%25E3%2583%2588%25E3%2583%25BC%25E3%2583%25AB_08%25E8%25B5%25B7%25E5%258B%2595%25E5%25BE%258C%25E5%2588%259D%25E6%259C%259F%25E7%2594%25BB%25E9%259D%25A2%25EF%25BC%2588Search%25EF%25BC%2589_Mac.jpg" width="320" /></a></div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">"SEARCH"</div><div class="separator" style="clear: both; text-align: left;"></div><div class="separator" style="clear: both; text-align: left;"><br />
</div></div>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-34921596228026348162010-11-10T21:05:00.011+09:002010-11-11T10:11:45.690+09:00しばらくRockMeltをデフォルトブラウザにしてみようNCSA MosaicやNetscape Navigatorを開発したマーク・アンドリーセンが支援するソーシャルメディアとの連携が高い <a href="http://www.rockmelt.com/">RockMelt</a>。<a href="http://twitter.com/#%21/naokoueda">@naokoueda</a> さんに招待いただいて、私もインストールしてみました。<br />
<br />
<a href="http://www.itmedia.co.jp/news/articles/1011/09/news047.html">ITMedia Netscapeの父、ソーシャルな新ブラウザ「RockMelt」をβリリース</a><br />
<br />
<a href="http://blogs.itmedia.co.jp/omeishi/2010/11/rockmelt-541a.html%20">ソーシャルブラウザ、RockMeltをインストールしてみました。</a><br />
<a href="http://blogs.itmedia.co.jp/kyoko/2010/11/rockmelt3-2a6e.html">私もRockMeltはじめました。招待は常時3人まで?</a><br />
<br />
<a name='more'></a><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">Chromiumをベースにしているだけあって、左右のバーと少し見栄えが違うことを除けば、普通のGoogle Chromeとして使えます。</span></span><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">左側にFacebookの友達のリスト、右側にTwitterやFacebookのfeed、その他Chromeの機能拡張も使えます。(Evernote、Web Screenshot、Myshortcutなどは使えました)</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfUx44a-JThkPZ4TsCD9B1ggtJGeZWGE-tj5EVLiTJ6Xfbfm3H9lmHxRf9dtpoyBBVklVueHprqtAwchGlkvM6OPmw5If693b2tULAIxb-H08FQUoFT_VUqbWfCsmngEcvqfNRN_hkA28/s1600/rockmelt_original.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="343" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfUx44a-JThkPZ4TsCD9B1ggtJGeZWGE-tj5EVLiTJ6Xfbfm3H9lmHxRf9dtpoyBBVklVueHprqtAwchGlkvM6OPmw5If693b2tULAIxb-H08FQUoFT_VUqbWfCsmngEcvqfNRN_hkA28/s400/rockmelt_original.jpg" width="400" /></a></div><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">予めセットアップされる機能拡張以外にChromeと違う点は </span></span><br />
<ul><li><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">メニューの位置が左上、リロードとスターの位置が逆</span></span></li>
<li><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">"rockmelt://"というスキーマを認識する(ヘルプの表示とか、ブックマークマネージャとか)</span></span></li>
<li><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;"><s>Googleが提供しているものではないので、標準ではブックマーク、機能拡張の同期がない</s><span class="Apple-style-span" style="font-size: medium;">(2010-11-10 訂正。同期されました)</span></span></span></li>
<li><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">βなので、少し重い?</span></span></li>
<li><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">今日から出るようになったGoogleの検索結果のメガネをクリックしなくても、プレビュー表示される(ただ、少々うるさい感じ。出さないようにもできると思いますが)</span></span></li>
<li style="text-align: left;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif;"><span class="Apple-style-span" style="font-size: large; line-height: 24px;">いまのところ、メニュー、設定画面、メッセージは英語(日本語ページは表示できます)</span></span><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; font-size: large; line-height: 24px;">(2010-11-11追記)</span></li>
</ul><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">いまのところ、RockMeltは招待制で、加藤さんのブログ(面識は一切ない)にも書かれてますが、</span></span><br />
<a href="http://blogs.itmedia.co.jp/kyoko/2010/11/rockmelt3-2a6e.html">私もRockMeltはじめました。招待は常時3人まで?</a><br />
でした。<br />
RockMeltを起動したとき、Facebookの友達の中で、既にRockMeltにリスエストを出している人は、マーキングされるみたいです。そのうち、増えるのかな?<br />
<br />
<br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">ひとまず、こんなところ。</span></span><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;">FacebookもTwitterも使い切れてないので、これらに慣れ、しばらく使うと、よく使えるようになるか?</span></span><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;"> </span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;"><s>ブックマーク同期がないですが、</s>デフォルトのブラウザで使ってみます。</span></span><br />
<span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px;">(2010-11-10 訂正。同期されました)</span><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: 'MS Pゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', sans-serif; line-height: 24px; text-align: left;"></span></span>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-81894215613745123612010-10-26T01:14:00.001+09:002010-10-26T01:15:35.713+09:00さくらインターネット VPS980にPHP 5.3を入れる今年の9月に正式サービスインしたさくらインターネットの仮想専用サーバー VPS980。<br />
CentOS 5.5にyumでPHP 5.3を入れる方法についてメモしておきます。<br />
<br />
<a name='more'></a><br />
さくらインターネットの仮想専用サーバー VPS980では、この都度Ubuntu、FreeBSDなど、5種、10バージョンのOSが選択できるようになりましたが、元々はCentOS 5.5の64ビット版のみの提供でしたし、私はCentOSでいいので、そのまま使うことにします。<br />
<br />
CentOS 5.5で、yumを使ってPHPをインストールすると、5.1.6になります。これといって不便しなければいいのですが、独自ライブラリを入れるにあたり、5.2以上が必要だったため、どうせならと5.3にしてみました。(2010年10月11日時点で最新の5.3.3になりました)<br />
<br />
参考資料<br />
<br />
<ul><li><a href="http://sourceforge.jp/magazine/10/10/04/0020218">1,000円を切る低価格で登場、「さくらのVPS」をチェック――サーバー構築編</a></li>
<li><a href="http://d.hatena.ne.jp/yhino/20100926/1285500411">CentOS5でphp 5.3を入れる為に、yumにリポジトリを追加するメモ</a>(そのまんまですね)</li>
</ul><div><br />
</div><div>WordPressを入れるサーバーだったので、事前にApache 2.2、PHP 5.1.6、MySQL 5.1まではインストール済みの状態です。</div><div><br />
</div><div><br />
</div>yumにリポジトリを追加します。<br />
<br />
<br />
$ sudo rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi<br />
$ sudo rpm --import http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL<br />
<br />
<br />
リポジトリの設定をインストールします。<br />
<br />
$ sudo rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm<br />
$ sudo rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm<br />
<br />
<br />
リポジトリを一時的に有効にして、PHP 5.3をインストールします。<br />
ここで、MySQLのアップデートを行えば、おそらくエラーは出ずに、PHPも5.3にアップデートできたと思いますが、PHPを指定したため、次のエラーが発生してしましました。<br />
<br />
$ sudo yum install --enablerepo remi php php-pear php-mbstring<br />
Transaction Check Error:<br />
file /etc/my.cnf from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.51-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.x86_64<br />
<br />
<br />
そこで、まずは、MySQLをアップデート。先に書いた通り、はじめにこちらの手順を行っておけば、コンフリクトのエラーも発生せず、MySQL、PHPともにアップデートできたものと思われます。<br />
<br />
$ sudo yum --enablerepo=remi,epel update mysql*<br />
これで、PHPも同時に最新の 5.3.3にアップデートできました。<br />
<br />
<br />
念のためPEARのアップデートとmbstringがインストールされていないので、mbstringをインストール。<br />
<br />
$ sudo yum update --enablerepo remi php-pear<br />
$ sudo yum install --enablerepo remi php-mbstring<br />
<br />
<br />
Apacheを再起動して、PHPの更新を反映します。<br />
<br />
$ sudo /sbin/service httpd restart<br />
phpinfo()を呼び出すファイルを作成し、バージョン等を確認します。秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0tag:blogger.com,1999:blog-999760338712774357.post-2794497299530480382010-10-20T09:26:00.006+09:002010-11-13T09:30:33.983+09:00新しく作ってみましたエキサイト、ライブドア、goo、会社のサイトとブログを移してきましたが、会社のは会社として、こっちにも新しく作りました。<br />
<br />
<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">Bloggerもかなりよくなったみたい。</div><div><br />
</div><br />
IT、プログラミング、その他ネットで見つけた面白いサービスなど、書いていきます。<br />
<br />
<br />
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">Twitter <a href="http://twitter.com/hiroshiakiike">http://twitter.com/hiroshiakiike</a></div><br />
会社のブログ <a href="http://www.simplesoft.co.jp/blog/akiike/">http://www.simplesoft.co.jp/blog/akiike/</a>秋池 浩http://www.blogger.com/profile/12630168209997681693noreply@blogger.com0