<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>XREAでMTを！</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.xrea-mt.com/atom.xml" />
    <id>tag:www.xrea-mt.com,2008-08-16://1</id>
    <updated>2008-08-17T03:37:54Z</updated>
    <subtitle>無料版XREAにMT（MOVABLE TYPE)を設置してみよう！</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.21-ja</generator>

<entry>
    <title>MT4.1x -&gt; MT4.2 へのアップデート</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2008/08/mt41x---mt42.html" />
    <id>tag:www.xrea-mt.com,2008://1.33</id>

    <published>2008-08-16T04:16:37Z</published>
    <updated>2008-08-17T03:37:54Z</updated>

    <summary>MT4.1xからMT4.2へのアップグレード方法をご紹介します。 このエントリー...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="MT4.1x -&gt; MT4.2" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>MT4.1xからMT4.2へのアップグレード方法をご紹介します。<br />
このエントリーはアップデートの成功を100％保証するものではありません。<br />
アップデート作業は個人の責任において実施してください。</p>

<p><strong><big>１．バックアップの作成</big></strong><br />
まずは、FTPクライアントソフトを使い、以下をローカルにバックアップします<br />
・アプリケーションディレクトリ（mt.cgiの置いてあるディレクトリ）<br />
・ブログディレクトリ（index.htmlのあるディレクトリ）、アーカイブディレクトリ</p>

<p>また、ブログのバックアップ機能を使ってのバックアップも作成しておくといっそう安心でしょう。<br />
MT管理画面から、システムメニュー -> ツール -> バックアップ で作成できます。<br />
ただし、バックアップファイルはMTのバージョン違いによる互換性がないようです。</p>

<p>参考：<a href="http://www.movabletype.jp/documentation/start_restore.html" target="_blank">バックアップしたブログの復元</a><br />
<blockquote>バックアップファイルは、必ずバックアップを行った Movable Type と同じ環境で復元してください。例えば、Movable Type 4.1 の環境で、バックアップしたファイルを Movable Type 4.2 で復元したいとき、まず、Movable Type 4.1 で (緊急時用) バックアップを作成後、その Movable Type を Movanle Type 4.2 にアップグレードし、再度バックアップファイルを作成します。その Movable Type 4.2 の環境で作成したバックアップファイルを使用して、復元したい Movable Type 4.2 の環境で復元します。</blockquote></p>

<p><strong><big>２．データベースのバックアップ</big></strong><br />
XREAの管理画面からログインし、使用しているデータベースを選択し、「保存」をクリックします。<br />
FTPクライアントソフトで、サーバに接続し「mysql.dump」が作成されていることを確認します。<br />
念のため「mysql.dump」もローカルに保存しておきます。<br />
このほかにも、phpMyadminを使ったバックアップ方法もあります。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-000.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-000.html','popup','width=800,height=616,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-000-thumb-480x369.jpg" width="480" height="369" alt="upg4-000.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-001.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-001.html','popup','width=800,height=640,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-001-thumb-480x384.jpg" width="480" height="384" alt="upg4-001.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><strong><big>３．アプリケーションディレクトリのリネーム</big></strong><br />
MTの動作に必要なファイルの置かれているディレクトリをリネームします。<br />
mt.cgiなどが置かれているディレクトリのことを指しています。</p>

<p>例えば mt というディレクトリであれば、リネームして mt -- old 等にします。</p>

<p><strong><big>４．アプリケーションディレクトリ作成・アップロード</big></strong><br />
リネームする前と同じ名前のアプリケーションディレクトリを作成します。<br />
そのディレクトリに、MT4.2のプログラム一式をアップロードします。</p>

<p><strong><big>５．mt-config.cgiの復旧・パーミッションの設定</big></strong><br />
１で作成したバックアップの中から、mt-config.cgiを探し出し、新たに作成したアプリケーションディレクトリにアップロードします。<br />
続いて４でアップロードしたアプリケーションディレクトリ直下にあるCGIファイルの属性を755に変更します。<br />
ただし、mt-config.cgiの属性は変更せずそのままにします。</p>

<p><strong><big>６．ブラウザからmt.cgiにアクセス</big></strong><br />
画面の指示に従い、アップグレード作業を行います。</p>

<p><strong><big>７．プラグインなどを復旧</big></strong><br />
必要に応じて、使用していたプラグインなどを復旧します。<br />
ただし、下記の2つのプラグインは本体機能に統合されたので、旧ディレクトリからコピーする必要はありません。<br />
・ Widget Manager<br />
・ Template Refresh</p>

<p><br />
以上でアップグレード作業は終了です。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT4)広告との調和</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/11/mt4.html" />
    <id>tag:www.xrea-mt.com,2007://1.29</id>

    <published>2007-11-25T04:58:53Z</published>
    <updated>2008-08-16T06:34:04Z</updated>

    <summary>無料版XEAにWeblogを設置すると、広告と調和してくれません。 設置サンプル...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="広告との調和" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>無料版XEAにWeblogを設置すると、広告と調和してくれません。<br />
<a href="http://www.xrea-mt.com/1st/">設置サンプル(デフォルト)</a>のように、広告+Weblogとなってしまいます。<br />
そこで、<a href="http://www.xrea-mt.com/2nd/">設置サンプル(カスタマイズ済)</a>のようにタイトルの右に広告を設置してみようと思います。</p>

<p><u><strong><big>☆小粋空間様のテンプレートの場合</big></strong></u><br />
<strong>１．デフォルトで表示されている広告表示を外す</strong><br />
MT4管理画面の「デザイン」 -> 「テンプレート」 -> 「テンプレートモジュール」 -> 「ヘッダー」を開きます。<br />
好きな位置に次のタグを挿入します<br />
<pre>
&lt;!--nobanner--&gt; 
</pre></p>

<p><br />
<strong>２．広告の位置をブログのタイトルに右側にする</strong><br />
広告と調和させるために、今回は広告をブログタイトルの右側に表示するようにします。<br />
先ほど開いた「ヘッダー」テンプレート内に以下のような記述があります。</p>

<pre>
&lt;div id=&quot;header&quot;&gt;
&lt;h1 id=&quot;blog-name&quot;&gt;&lt;a href=&quot;&lt;$MTBlogURL$&gt;&quot; accesskey=&quot;1&quot;&gt;&lt;$MTBlogName encode_html=&quot;1&quot;$&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;MTIfNonEmpty tag=&quot;BlogDescription&quot;&gt;&lt;p class=&quot;blog-description&quot;&gt;&lt;$MTBlogDescription encode_html=&quot;1&quot;$&gt;&lt;/p&gt;&lt;/MTIfNonEmpty&gt;
&lt;/div&gt;
</pre>

<p>これを以下のように変更します。<br />
<pre>
&lt;div id=&quot;header-block&quot;&gt;
&lt;h1 id=&quot;blog-name&quot;&gt;&lt;a href=&quot;&lt;$MTBlogURL$&gt;&quot; accesskey=&quot;1&quot;&gt;&lt;$MTBlogName encode_html=&quot;1&quot;$&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div id=&quot;header-ad&quot;&gt;
広告タグをここに挿入
&lt;/div&gt;
&lt;br clear=&quot;all&quot; /&gt;
&lt;MTIfNonEmpty tag=&quot;BlogDescription&quot;&gt;&lt;p class=&quot;blog-description&quot;&gt;&lt;$MTBlogDescription encode_html=&quot;1&quot;$&gt;&lt;/p&gt;&lt;/MTIfNonEmpty&gt;
&lt;/div&gt;
</pre></p>

<p>次に、「デザイン」「テンプレート」「スタイルシート」を開きます。<br />
自分のわかりやすい部分に以下の２行を書きくわえます。<br />
<pre>
#header-block { float:left; width:345px; padding:10px 0px 10px 0px; margin:0px 0px 10px 0px;}
#header-ad    { float:left; width:468px; padding:0px;   margin:0px 0px 10px 0px; }
</pre><br />
#header-adの468px以外は環境やお好みに合わせて変更してください。<br />
468pxは広告の横幅となっていますので変更しないようにしてください。</p>

<p>以上で広告との調和を行うことができます。<br />
オリジナルのテンプレート等を使用されている場合はこの記事をヒントに改造してみてください。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>MT3 -&gt; MT4へのアップグレード</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/update-4.html" />
    <id>tag:www.xrea-mt.com,2007://1.28</id>

    <published>2007-08-23T14:13:40Z</published>
    <updated>2008-08-16T16:12:17Z</updated>

    <summary>MT3からMT4へのアップグレード方法をご紹介します。 メジャーバージョンアップ...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="MT3 -&gt; MT4" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>MT3からMT4へのアップグレード方法をご紹介します。<br />
メジャーバージョンアップですので作業内容が多少多くなっています。<br />
このエントリーはアップグレードの成功を100％保証するものではありません。</p>

<p><strong>１．バックアップの作成</strong><br />
まずは、FTPクライアントソフトを使い、以下をローカルにバックアップします<br />
・cgiを設置したディレクトリ（mt.cgiの置いてあるディレクトリ）<br />
・ブログディレクトリ（index.htmlのあるディレクトリ）、アーカイブディレクトリ</p>

<p><strong>２．データベースのバックアップ</strong><br />
XREAの管理画面からログインし、使用しているデータベースを選択し、「保存」をクリックします。<br />
FTPクライアントソフトで、サーバに接続し「mysql.dump」が作成されていることを確認します。<br />
念のため「mysql.dump」もローカルに保存しておきます。<br />
このほかにも、phpMyadminを使ったバックアップ方法もあります。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-000.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-000.html','popup','width=800,height=616,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-000-thumb-480x369.jpg" width="480" height="369" alt="upg4-000.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-001.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-001.html','popup','width=800,height=640,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-001-thumb-480x384.jpg" width="480" height="384" alt="upg4-001.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><br />
<strong>３．エントリー・コメント・トラックバックのエクスポート</strong><br />
データベースのバックアップができていれば問題はありませんが、心配な場合などはMTのエクスポート機能を利用し、エントリーなどのバックアップを作成します。<br />
この方法では完璧なバックアップは作成できませんが、基本的な情報をバックアップすることが可能です。<br />
MTの管理画面より「読み込み/書き出し」をクリックし、「エントリーの書き出し」をクリックします。<br />
後は「XXからエントリーを書き出す」をクリックすると、ファイルのダウンロードをすることができます。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-002.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-002.html','popup','width=800,height=614,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-002-thumb-480x368.jpg" width="480" height="368" alt="upg4-002.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-003.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/upg-4/upg4-003.html','popup','width=800,height=609,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/upg-4/upg4-003-thumb-480x365.jpg" width="480" height="365" alt="upg4-003.jpg"" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><br />
<strong>４．MT3を削除</strong><br />
１～３のバックアップを作成した後、FTPクライアントソフトを使い、cgiを設置したディレクトリをすべて削除します。<br />
この際に、アーカイブファイルなど必要なファイルを誤って削除しないように気を付けてください。</p>

<p><strong>５．MT4をアップロード</strong><br />
MT3の削除が終わったら、MT4をサーバにアップロードします。</p>

<p><strong>６．mt-config.cgiの復旧</strong><br />
１のバックアップから「mt-config.cgi」を探し出し、サーバにアップロードします。<br />
旧バージョンで mt-config.cgi が存在せず、mt.cfg の場合は、mt-config.cgi にリネームしたものをアップロードします。</p>

<p><strong>７．カスタマイズの反映</strong><br />
「default_templatesディレクトリ」や「search_templatesディレクトリ」内のテンプレートをカスタマイズしていた場合は、１で作成したバックアップから、それらをアップロードします</p>

<p><strong>８．mt.cgiにアクセスしアップグレード</strong><br />
設置したmt.cgiにアクセスし、あとは画面の指示に従いアップグレードします。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>MT3.xx -&gt; MT3.35へのアップグレード</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/update-335.html" />
    <id>tag:www.xrea-mt.com,2007://1.27</id>

    <published>2007-08-23T14:11:55Z</published>
    <updated>2007-09-19T06:15:05Z</updated>

    <summary>今回のアップデートでは、ファイルの上書きだけでは完了しません。 コメント・プレビ...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="MT3.xx -&gt; MT3.35" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>今回のアップデートでは、ファイルの上書きだけでは完了しません。<br />
コメント・プレビューテンプレートを手動で編集する必要があります。</p>

<p>ブログのメニューで「テンプレート」をクリック、更に 「システム」タブをクリックします。<br />
「コメント・プレビュー」テンプレートをクリックして表示させ、以下の３行（連続ではありません）を探します。<br />
<div class="code">&lt;input&nbsp;id=&quot;comment-author&quot;&nbsp;name=&quot;author&quot;&nbsp;size=&quot;30&quot;&nbsp;value=&quot;&lt;$MTCommentPreviewAuthor$&gt;&quot;&nbsp;/&gt;<br />
&lt;input&nbsp;id=&quot;comment-email&quot;&nbsp;name=&quot;email&quot;&nbsp;size=&quot;30&quot;&nbsp;value=&quot;&lt;$MTCommentPreviewEmail$&gt;&quot;&nbsp;/&gt;<br />
&lt;input&nbsp;id=&nbsp;comment-url&quot;&nbsp;name=&quot;url&quot;&nbsp;size=&quot;30&nbsp;&nbsp;value=&quot;&lt;$MTCommentPreviewURL$&gt;&nbsp;&nbsp;/&gt;<br />
</div><br />
そして以下のように書き換えます。<br />
<div class="code"><font color="#0000ff">&lt;input&nbsp;id=&quot;comment-author&quot;&nbsp;name=&quot;author&quot;&nbsp;size=&quot;30&quot;&nbsp;value=&quot;&lt;$MTCommentPreviewAuthor&nbsp;encode_html=&quot;1&quot;$&gt;&quot;&nbsp;/&gt;<br />
&lt;input&nbsp;id=&quot;comment-email&quot;&nbsp;name=&quot;email&quot;&nbsp;size=&quot;30&quot;&nbsp;value=&quot;&lt;$MTCommentPreviewEmail&nbsp;encode_html=&quot;1&quot;$&gt;&quot;&nbsp;/&gt;<br />
&lt;input&nbsp;id=&quot;comment-url&quot;&nbsp;name=&quot;url&quot;&nbsp;size=&quot;30&quot;&nbsp;value=&quot;&lt;$MTCommentPreviewURL&nbsp;encode_html=&quot;1&quot;$&gt;&quot;&nbsp;/&gt;<br />
</font></div></p>

<p>詳しい修正方法は、Six Apartの<A Href="http://www.sixapart.jp/movabletype/news/2007/04/17-1400.html#more" Target="_blank">当該記事</A>をご覧ください。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT4)手順４：ＭＴの初期設定</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/inst-mt4-4.html" />
    <id>tag:www.xrea-mt.com,2007://1.26</id>

    <published>2007-08-17T13:35:39Z</published>
    <updated>2008-08-16T16:27:18Z</updated>

    <summary>すべてのファイルをサーバにアップロードし終わったら、ＭＴの初期設定を行いましょう...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順４：ＭＴの初期設定" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>すべてのファイルをサーバにアップロードし終わったら、ＭＴの初期設定を行いましょう。</p>

<p>まずは設置したＭＴにアクセスします。<br />
http://YOUR-ID.S***.xrea.com./x/任意のフォルダ/</p>

<p>すると以下のような画面が出てきます。<br />
まずは、システムチェックを実行をクリックします。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-007.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-007.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-007-thumb-480x360.jpg" width="480" height="360" alt="4-007.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>システムチェックが正常に完了していことを確認したのち、前の画面に戻り、ログイン画面をクリックします。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-008.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-008.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-008-thumb-480x360.jpg" width="480" height="360" alt="4-008.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>ログイン画面をクリックすると以下のような画面が出てきます。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-009.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-009.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-009-thumb-480x360.jpg" width="480" height="360" alt="4-009.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span><br />
ユーザ名、表示名、メールアドレスなどの必要事項を記入し「次へ」をクリックします。</p>

<p>すると、一番はじめに設置するブログの作成画面が表示されます。<br />
ブログ名と、設置するブログＵＲＬ、公開パスを記入します。（後からの変更も可能です）<br />
設置するブログURLと公開パスは対応させてください。<br />
また、広告につかないディレクトリ(xディレクトリ)以下に設定すると、広告が自動挿入されませんので、それ以外を設定してください。<br />
タイムゾーンはUTC+9(日本標準時)を選択します。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-010.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-010.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-010-thumb-480x360.jpg" width="480" height="360" alt="4-010.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>すべての記入が終わったら「インストール」ボタンをクリックします。<br />
インストールが完了すると以下のような画面が出現しますので、「Movable Typeへサインイン」をクリックします。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-011.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-011.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-011-thumb-480x360.jpg" width="480" height="360" alt="4-011.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>すると、以下のようなMovable Typeの管理画面が表示されます。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-012.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-012.html','popup','width=1134,height=870,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-012-thumb-480x368.jpg" width="480" height="368" alt="4-012.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>以上でMTの設置は完了です。</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT4)手順３：サーバにファイルをアップロード</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/inst-mt4-3.html" />
    <id>tag:www.xrea-mt.com,2007://1.25</id>

    <published>2007-08-17T04:11:51Z</published>
    <updated>2008-08-16T16:06:21Z</updated>

    <summary>次に、FTPクライアントソフトを使い、サーバにファイルをアップロードします。 F...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順３：サーバにファイルをアップロード" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>次に、FTPクライアントソフトを使い、サーバにファイルをアップロードします。<br />
FTPクライアントソフトには「FFFTP」がお勧めです。</p>

<p>アップロードする場所は、「手順２：MTを動かすための設定」で、「mt-config.cgi」の15行目「CGIPath」に設定したディレクトリにアップロードします。<br />
mt-static/imagesディレクトリ内のファイルはバイナリーモードで、それ以外はASCIIモードでアップロードしてください。</p>

<p>アップロードするファイル数が多いため、アップロードがすべて終わるまでには時間がかかります。<br />
しかし、アップロード中は目を離さず、正常にアップロードが行われていることを確認してください。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-005.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-005.html','popup','width=800,height=640,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-005-thumb-480x384.jpg" width="480" height="384" alt="4-005.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>アップロードが終わったら次はパーミッションの設定を行います。<br />
アップロードしたファイルのうちCGIファイル（mt-config.cgiを除く)のパーミッションを755に設定します。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-006.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-006.html','popup','width=800,height=640,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-006-thumb-480x384.jpg" width="480" height="384" alt="4-006.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>以上でサーバにファイルをアップロードする作業は終了です。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT4)手順２：ＭＴを動かすための設定</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/inst-mt4-2.html" />
    <id>tag:www.xrea-mt.com,2007://1.24</id>

    <published>2007-08-16T16:18:10Z</published>
    <updated>2008-08-17T03:50:06Z</updated>

    <summary>先ほどダンロードしてきた、「MT-4_0-ja.zip」を解答します。 解答には...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順２：ＭＴを動かすための設定" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>先ほどダンロードしてきた、「MT-4_0-ja.zip」を解答します。<br />
解答には「Lhaplus」などの解凍ソフトがお勧めです。</p>

<p>ファイルを解凍すると以下のようなフォルダ・ファイルが出てきますので、その中から「mt-config.cgi-original」を見つけ「mt-config.cgi」にリネームします。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-001.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-001.html','popup','width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-001-thumb-480x360.jpg" width="480" height="360" alt="4-001.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-002.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-002.html','popup','width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-002-thumb-480x360.jpg" width="480" height="360" alt="4-002.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>リネームしたファイルをエディタで開いて編集します。<br />
エディターはメモ帳などでもかまいませんが、「TeraPad」や「HeTeMuLu Creator」「TTT Editor」などがお勧めです。</p>

<p>１．CGIPayhの設定<br />
「mt-config.cgi」を開いたら以下の項目を設定します。<br />
まず、15行目のCGIPathを設定します。<br />
ここにはCGIを置くディレクトリを指定します。</p>

<p>初期値：http://www.example.com/cgi-bin/mt/<br />
設定後：http://YOUR-ID.s***.xrea.com/x/任意のフォルダ/</p>

<p>MTのCGIは、XREAで自動的に挿入される広告の影響で、正常に動作しないことや、エントリー（記事）の編集画面に乱れが生じることがあります。<br />
このため、広告が自動挿入されない「x」ディレクトリ以下に設置します。<br />
＊XREAのユーザー掲示板で、「サイトの管理者のみしか見ないページ（CGIの管理画面等）は広告を挿入しないでの運営が可能」との見解がありますので、規約違反にはなりません。</p>

<p>２．StaticWebPathの設定<br />
XREAでは、CGIファイルと同じ場所に静的ファイルを置くことが可能で、StaticWebPathを設定する必要がありませんので21行目の先頭に「#」を加えます。<br />
初期値：StaticWebPath    http://www.example.com/mt-static<br />
設定後：#StaticWebPath    http://www.example.com/mt-static</p>

<p>３．使用データベースの設定<br />
今回はMySqlを使い設置しますので、34行目以降を削除します。<br />
そして、MySqlへの接続の設定を行います。</p>

<p>初期値：<br />
##### MYSQL #####<br />
ObjectDriver DBI::mysql<br />
Database DATABASE_NAME<br />
DBUser DATABASE_USERNAME<br />
DBPassword DATABASE_PASSWORD<br />
DBHost localhost</p>

<p>設定後：<br />
##### MYSQL #####<br />
ObjectDriver DBI::mysql<br />
Database YOUR-DATABASE-NAME<br />
DBUser DATABASE-USER-NAME<br />
DBPassword YOUR-PSAAWORD<br />
DBHost localhost</p>

<p>Databaseの項目にはデータベース名（XREAのユーザ名）、DBUserにはデータベースのユーザー名（XREAのユーザー名）、そしてDBPasswordにはデータベースのパスワードを記入してください。<br />
なお、XREA+で複数のデータベースを作成している場合は、データベース名がXREAのユーザー名そのままではなくなりますので、適宜書き換えてください。</p>

<p>４．詳細の設定<br />
ほとんどの場合は必要ありませんが、出力する文字コードなどを変更したい場合は、あらかじめ設定します。<br />
詳しい設定項目は「<a href="http://www.movabletype.jp/documentation/configuration.html" target="blank">環境設定ファイル mt-config.cgi の設定</a>」をご覧ください。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-003.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-003.html','popup','width=588,height=834,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-003-thumb-480x680.jpg" width="480" height="680" alt="4-003.jpg" class="mt-image-left" left; margin: 0 20px 20px 0;" /></a></span></p>

<p><br />
広告がつかないディレクトリ（xディレクトリ)にMTを設置すると、検索結果画面に広告が自動挿入されません。<br />
そのため、テンプレートに広告タグを手動で記入しておく必要があります。<br />
「default_templates」内に「search_results.mtml」というファイルがあるのでエディターで開きます。<br />
開いたファイルの一番先頭部分に、XREAの管理画面に載っている広告タグを記入します。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-004.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-004.html','popup','width=610,height=694,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-004-thumb-480x546.jpg" width="480" height="546" alt="4-004.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span><br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT4)手順１：下準備をしよう</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/inst-mt4-1.html" />
    <id>tag:www.xrea-mt.com,2007://1.23</id>

    <published>2007-08-15T14:53:56Z</published>
    <updated>2008-08-16T16:04:40Z</updated>

    <summary>はじめに、設置前の下準備を行います。 まずはじめに、データベースの作成（リセット...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順1：下準備をしよう" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>はじめに、設置前の下準備を行います。</p>

<p>まずはじめに、データベースの作成（リセット）を行います。<br />
XREAの管理画面にログインします。<br />
ログインしたら、データベースをクリックし「MySqlの追加・編集」の「選択」にチェックを入れ、パスワード欄にパスワードを記入し、作成ボタンをクリックします。<br />
MySqlのバージョンが５以降のサーバでは文字コードを選択することができますが、文字コードは特にこだわりのない限りEUC-JPで問題ありません。</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.xrea-mt.com/xrea-mt/img/mt4/4-000.html" onclick="window.open('http://www.xrea-mt.com/xrea-mt/img/mt4/4-000.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.xrea-mt.com/img/mt4/4-000-thumb-480x360.jpg" width="480" height="360" alt="4-000.jpg" class="mt-image-left" margin: 0 20px 20px 0;" /></a></span></p>

<p>データベースの作成（リセット）には時間がかかります。<br />
その間に、<a href="http://www.sixapart.jp/" target="_Blank">Six Apart</a>から<a href="http://www.sixapart.jp/movabletype/license.html" target="_blank">MTをダウンロード</a>してきます。</p>

<p>ここまでの作業ができたら次のステップへ進みましょう。<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>手順１：下準備をしよう</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2007/08/post.html" />
    <id>tag:www.xrea-mt.com,2007://1.21</id>

    <published>2007-08-15T14:45:03Z</published>
    <updated>2007-08-26T13:35:18Z</updated>

    <summary>まずはじめに、設置前に下準備をします。 まずは、データベースのリセット（作成）で...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順１：下準備をしよう" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>まずはじめに、設置前に下準備をします。</p>

<p>まずは、データベースのリセット（作成）です。<br />
XREAの<a href="http://www.xrea-mt.com/xrea-mt/question/q-1/">管理画面</a>からログインし、データベースを選択した後、作成をクリックします。</p>

<p>MySQL5系で無い場合は、文字コード選択は関係ありません。</p>

<p>MySQL5系のサーバーは、自分が設置したい文字コードを選んでから、データベースの作成をクリックします。<br />
しかし、XREAでは、EUC-JP以外は正式にサポートされていませんので、特に文字コードにこだわりが無い場合は、EUC-JPで問題ないでしょう。<br />
UTF-8で設置したい場合は「<a href="http://www.xrea-mt.com/xrea-mt/trouble/3/">MySQL5以降のサーバーで文字化けする</a>」もご覧ください。</p>

<p><a href="http://www.xrea-mt.com/archives/img/001.jpg"><img alt="001.jpg" src="http://www.xrea-mt.com/archives/img/001-thumb.jpg" width="420" height="323" /></a></p>

<p><br />
データベースのリセット（作成）には時間がかかりますので、その間に他の設定を行います。</p>

<p>次は<a href="http://www.sixapart.jp/" target="_blank">Six Apart社</a>からMTを、<a href="http://www.sixapart.jp/movabletype/download-mt.html" target="_blank">ダウンロード</a>してきます。</p>

<p>ここまでが簡単な下準備です。<br />
サーバーでのデータベースの準備とMTのダウンロードでした。</p>]]>
        
    </content>
</entry>

<entry>
    <title>MySQL5以降のサーバーで文字化けする</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/03/trouble-3.html" />
    <id>tag:yuzumoni.s56.xrea.com,2006://1.18</id>

    <published>2006-03-23T11:56:38Z</published>
    <updated>2007-08-26T13:46:22Z</updated>

    <summary>MySQL５以降のサーバーでは、UTF-8で設置した場合、文字化けすることが確認...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="3.MySQL5以降のサーバーで文字化けする" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>MySQL５以降のサーバーでは、UTF-8で設置した場合、文字化けすることが確認されています。</p>

<p>以下の方法で設置していただくと解消できます。<br />
（管理人は現時点では未確認です。以下で解決出来ない場合、サポートBBSでご報告ください。）</p>

<p>１．データベースを作成する。<br />
　　データベースを作成する際に、文字コード選択をUNICODEにして設置する。</p>

<p>２．UTF-8で設置した場合に起こる「<a href="http://www.xrea-mt.com/xrea-mt/trouble/2/">テンプレートが文字化けし再構築できない</a>」の対処を行う。　　</p>

<p>３．以降普通に設置しますが、「mt-config.cgi」の<br />
　　57行目の<br />
　　# SQLSetNames 1<br />
　　を<br />
　　<FONT COLOR="0000ff">SQLSetNames 1</FONT><br />
　　に変更します。（文字化け対策）</p>

<p><br />
----------<br />
参考サイト：<a href="http://player.s203.xrea.com/memo/" Target="_blank">Memo</a> ゆう様</p>]]>
        
    </content>
</entry>

<entry>
    <title>テンプレートが文字化けし再構築できない</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/03/trouble-2.html" />
    <id>tag:yuzumoni.s56.xrea.com,2006://1.14</id>

    <published>2006-03-05T13:09:43Z</published>
    <updated>2006-10-27T16:17:35Z</updated>

    <summary>MySQL5のサーバーでUTF-8でMTを設置しようとすると、テンプレート名が文...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="2.テンプレートが文字化けし再構築できない" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>MySQL5のサーバーでUTF-8でMTを設置しようとすると、テンプレート名が文字化けし、再構築出来なくなることがあります。<br />
トラブルの対処法方は以下のとおりです。<br />
（画像においてユーザーIDはぼかしております。ご了承ください。）</p>

<p>１．XREAの管理画面からログインし、データベースをクリックします。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/001.jpg"><img alt="001.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/001-thumb.jpg" width="420" height="337" /></a></p>

<p>２．データーベースのリセットを行い、PhpMyAdminのインストールを行います。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/002.jpg"><img alt="002.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/002-thumb.jpg" width="420" height="337" /></a></p>

<p><a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/003.jpg"><img alt="003.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/003-thumb.jpg" width="420" height="337" /></a></p>

<p><br />
データベースのリセット、phpMyAdminのインストールの反映されるまでしばらく待ちます。</p>

<p>３．phpMyAdminにログインします。<br />
ユーザー名、パスワードを入力しOKをクリックします。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/004.jpg"><img alt="004.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/004-thumb.jpg" width="420" height="337" /></a></p>

<p>４．データベース名をクリックします。（すでにテーブルがある状況でも問題ないようです。）<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/005.jpg"><img alt="005.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/005-thumb.jpg" width="420" height="337" /></a></p>

<p>５．右上の操作をクリックします。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/006.jpg"><img alt="006.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/006-thumb.jpg" width="420" height="337" /></a></p>

<p>６．ページ下部に表示される「照合順序」を「utf8_general_ci」に変更し実行をクリック<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/007.jpg"><img alt="007.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/007-thumb.jpg" width="420" height="336" /></a></p>

<p><a href="http://yuzumoni.s56.xrea.com/archives/img/5-2/008.jpg"><img alt="008.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/5-2/008-thumb.jpg" width="420" height="337" /></a></p>

<p>７．MTを設置します。</p>]]>
        
    </content>
</entry>

<entry>
    <title>Q-1：管理画面はどこですか？</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/02/q-1.html" />
    <id>tag:yuzumoni.s56.xrea.com,2006://1.9</id>

    <published>2006-02-28T13:54:53Z</published>
    <updated>2006-10-27T16:47:11Z</updated>

    <summary>管理画面はサーバーごとに異なります。 URLは http://www.SERVE...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="Q-1.管理画面はどこですか？" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>管理画面はサーバーごとに異なります。<br />
URLは<br />
<FONT COLOR="0000ff">http://www.SERVER-NAME.xrea.com/jp/admin.cgi</FONT></p>

<p>SERVER-NAMEの部分は使用しているサーバーによって適宜変更してください。</p>

<p>また、<a href="http://www.value-domain.com/xreaip.php" target="_blank">XREAサーバーIP情報</a>からも管理画面にアクセスできます。</p>

<p>URLをお気に入り等に登録しておくことをお勧めします。</p>]]>
        
    </content>
</entry>

<entry>
    <title>(MT3)広告との調和</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/02/custom-1.html" />
    <id>tag:www.xrea-mt.com,2006://1.6</id>

    <published>2006-02-15T12:57:43Z</published>
    <updated>2007-11-25T07:52:07Z</updated>

    <summary>無料版XEAにWeblogを設置すると、広告と調和してくれません。 設置サンプル...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="広告との調和" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>無料版XEAにWeblogを設置すると、広告と調和してくれません。<br />
<A Href="http://www.xrea-mt.com/first/" Target="_blank">設置サンプル(デフォルト)</A>のように、広告+Weblogとなってしまいます。<br />
そこで、<A Href="http://www.xrea-mt.com/second/" Target="_blank">設置サンプル(カスタマイズ済)</A>のようにタイトルの右に広告を設置してみようと思います。</p>

<p>まず、広告の位置を変更したいテンプレートを開き、任意の部分に　&lt;!--nobanner--&gt;　を挿入します。<br />
次に、タイトル部分を探します。</p>

<p>以下のタグがタイトル部分にあります。<br />
&lt;a href="&lt;$MTBlogURL$&gt;" accesskey="1"&gt;&lt;$MTBlogName encode_html="1"$>&lt;/a><br />
&lt;$MTBlogDescription$&gt;</p>

<p>このタグを以下のようにします<br />
&lt;TABLE BORDER="0" WIDTH="100%"&gt;<br />
&lt;TR&gt;&lt;TD&gt;<br />
&lt;a href="&lt;$MTBlogURL$&gt;" accesskey="1"&gt;&lt;$MTBlogName encode_html="1"$>&lt;/a&gt;<br />
&lt;$MTBlogDescription$&gt;<br />
&lt;/TD&gt;&lt;TD WIDTH="480"&gt;<br />
　広　告　タ　グ　<br />
&lt;/TD&gt;&lt;/TR&gt;<br />
&lt;/TABLE&gt;</p>]]>
        
    </content>
</entry>

<entry>
    <title>included://対策</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/02/trouble-1.html" />
    <id>tag:yuzumoni.s56.xrea.com,2006://1.5</id>

    <published>2006-02-12T13:56:48Z</published>
    <updated>2006-10-27T16:17:54Z</updated>

    <summary>当サイトで解説している方法で設置すれば起こらないことですが、 「ｘ」ディレクトリ...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="1.included://対策" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>当サイトで解説している方法で設置すれば起こらないことですが、<br />
「ｘ」ディレクトリ以外にMTを設置しようとすると「included://～」というURLになってしまい設置作業が完了できないことがあります。</p>

<p>「extlib」フォルダ内に「CGI.pm」がありますので、エディターで開きます。<br />
２箇所ほど変更する箇所があります。</p>

<p>1426行目の<br />
my $protocol = $ENV{SERVER_PROTOCOL} || 'HTTP/1.0'; <br />
を以下のようにし、コメントアウトします。<br />
#my $protocol = $ENV{SERVER_PROTOCOL} || 'HTTP/1.0';<br />
先頭に「#」を加えるだけです。</p>

<p>そして、その下に以下の２行を加えます。<br />
my $protocol = $ENV{'SERVER_PROTOCOL'};<br />
$protocol = 'HTTP/1.1' if (! $protocol || $protocol eq 'INCLUDED');</p>

<p></p>

<p>次に、3008行目<br />
return $ENV{'SERVER_PROTOCOL'} || 'HTTP/1.1'; # for debugging<br />
を、下のようにコメントアウトします。<br />
#return $ENV{'SERVER_PROTOCOL'} || 'HTTP/1.1'; # for debugging<br />
ここも先頭に「#」を加えるだけです。</p>

<p>そして、その下に、以下の２行を加えます。<br />
my $protocol = $ENV{'SERVER_PROTOCOL'};<br />
return (! $protocol || $protocol eq 'INCLUDED') ? 'HTTP/1.1' : $protocol;</p>

<p>以上の方法で解決することができます。<br />
しかし、再構築の際の小窓にも広告が表示されてしまい、ボタンがクリックできないことがありますので、当サイトで紹介している、「ｘ」ディレクトリ内に設置する方法をおすすめします。</p>]]>
        
    </content>
</entry>

<entry>
    <title>手順４：アップロード後の設定</title>
    <link rel="alternate" type="text/html" href="http://www.xrea-mt.com/xrea-mt/2006/02/procedure-4.html" />
    <id>tag:yuzumoni.s56.xrea.com,2006://1.4</id>

    <published>2006-02-12T13:34:46Z</published>
    <updated>2006-10-26T16:51:42Z</updated>

    <summary>すべてのファイルをアップロードし終わったら、システム・チェックプログラム (mt...</summary>
    <author>
        <name>凪。</name>
        
    </author>
    
        <category term="手順４：アップロード後の設定" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.xrea-mt.com/">
        <![CDATA[<p>すべてのファイルをアップロードし終わったら、システム・チェックプログラム (mt-check.cgi) を実行します。<br />
つまり<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/x/任意のフォルダ/mt-check.cgi</FONT>にアクセスします。</p>

<p>今までの作業がきちんと行われていれば、ページの下部に「Movable Typeのシステム・チェックは、無事に完了しました」と表示されます。<br />
表示されない場合は、今までに行った設定をもういちど確認しましょう。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/002.jpg"><img alt="002.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/002-thumb.jpg" width="420" height="322" /></a></p>

<p><br />
「Movable Typeのシステム・チェックは、無事に完了しました」と表示された場合は、mt.cgiにアクセスします。<br />
<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/x/任意のフォルダ/mt.cgi</FONT></p>

<p>「ログイン名」「メールアドレス」「使用言語」「パスワード」「パスワード再設定用のフレーズ」の設定画面が表示されますので、必要事項を記入し「インストールを続行」ボタンをクリックします。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/003.html" onclick="window.open('http://yuzumoni.s56.xrea.com/archives/img/003.html','popup','width=800,height=615,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://yuzumoni.s56.xrea.com/archives/img/003-thumb.jpg" width="420" height="322" alt="" /></a></p>

<p>自動的にインストールが開始され、完了すると「インストールが完了しました。」というメッセージと「Movable Typeにログインしてください」というボタンが表示されますので、ボタンをクリックします。<br />
<a href="http://yuzumoni.s56.xrea.com/archives/img/004.jpg"><img alt="004.jpg" src="http://yuzumoni.s56.xrea.com/archives/img/004-thumb.jpg" width="420" height="322" /></a></p>

<p><br />
ログイン画面が表示されますので、先ほど設定した「ログイン名」と「パスワード」を使ってログインします。</p>

<p>ログインすると、ブログ一覧が表示されます。<br />
はじめは「First Weblog」というブログが表示されているはずです。<br />
その下の「重要！はじめにブログを設定してください。 」をクリックして初期設定を行います。</p>

<p>設定画面が出てきますので設定をしていきます。<br />
ブログ名にはブログのタイトルを設定します。後から変更もできます。<br />
サイトURLはブログを公開するアドレスを入力します。<br />
<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/</FONT><br />
が初期です。TOPページにWeblogを表示する場合はこのままで問題ありません。</p>

<p>たとえば、weblogというディレクトリ内にブログを公開したいなら、<br />
<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/weblog/</FONT><br />
とします。</p>

<p>続いてサイト・パスの設定をします。<br />
この項目は、サイトURLと対応させます。<br />
つまり公開するアドレスが　http://YOUR-ID.s***.xrea.com/　であれば<br />
<FONT COLOR="#0000ff">/virtual/YOUR-ID/public_html</FONT><br />
とします。</p>

<p>http://YOURID.s***.xrea.com/weblog/　ならば<br />
<FONT COLOR="#0000ff">/virtual/YOUR-ID/public_html/weblog</FONT><br />
です。</p>

<p>以上の変更をしましたら、「変更を保存」をクリックします。<br />
「サイトを再構築する」のボタンが表示されますので、クリックして再構築します。<br />
「サイトを確認」をクリックすると、サイトが確認できます。</p>

<p>公開されるブログは<br />
<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/任意のディレクトリ/</FONT></p>

<p>管理画面は<br />
<FONT COLOR="#0000ff">http://YOUR-ID.s***.xrea.com/x/任意のディレクトリ/mt.cgi</FONT></p>

<p>以上でMTの設置は完了です。お疲れ様でした。</p>]]>
        
    </content>
</entry>

</feed>
