<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>ブログテンプレートを確認するブログ</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/" />
    <link rel="self" type="application/atom+xml" href="http://www.lazyspaceart.com/blog/atom.xml" />
   <id>tag:www.lazyspaceart.com,2010:/blog//1</id>
    <link rel="service.post" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1" title="ブログテンプレートを確認するブログ" />
    <updated>2007-11-25T04:51:07Z</updated>
    <subtitle>Movable Typeでブログのテンプレートをデザインして確認するためだけのブログです。
文章とか画像も投稿して確認します。</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type  4.01</generator>
 

<entry>
    <title>サーバー移転でMovableTypeも移転！</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2007/11/23/movabletype.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=18" title="サーバー移転でMovableTypeも移転！" />
    <id>tag:www.lazyspaceart.com,2007:/blog//1.18</id>
    
    <published>2007-11-22T15:08:59Z</published>
    <updated>2007-11-25T04:51:07Z</updated>
    
    <summary>Movable Typeを伴うサーバー移転</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="Movable Type" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        <![CDATA[今年は自分も周りも、住民票やら戸籍やら色々と移転だらけだったのに、サーバーまで移転してしまいました！

MovableTypeもosCommerceもインストールしたし、データベースとかあるから移転は大変そうだなあぁぁ
と思っていたけれども、容量が2GB増えて年7000円位も安くなるなら、勉強にもなるしやっぱり移転した方がいいなと思い決めました。

私がやった手順をご紹介します。

<strong>1、必要なファイル（テンプレート、画像等、JavaScript、プラグイン等）をバックアップ</strong>
　　
<strong>2、旧サーバーのMySQLのデータベースをエクスポート</strong>

phpMyAdminにログインして、私は文字コードでUTF-8（MTで使っているのと同じもの）を選択、
「エクスポート」をクリック。
「テーブルを全部選択」する。
構造の所の「DROP TABLEを追加」をチェックする。
「ファイルで保存する」をチェックする。
「実行」をクリック。
「データベース名.sql」がダウンロードされます。

<strong>3、新サーバーに必要なファイル（テンプレート、画像等、JavaScript、プラグイン等）をアップロード</strong>

<strong>4、新サーバーのMySQLでデータベースを新規作成</strong>

データベース名もユーザー名やパスワードも今までのと同じにしました。

<strong>5、新サーバーにMovable Typeをインストール</strong>

<strong>6、データベース内のサイトパスとかを新サーバーへのサイトパスに置換</strong>

旧サーバへのパスと新サーバへのパスとに変更がある場合、テキストエディタで「データベース名.sql」を開いて変更箇所を置換する。
私は「home/userID/public_html/MTをインストールしたフォルダ」→「virtual/userID/public_html/MTをインストールしたフォルダ」に変更。

<strong>7、新サーバーにMySQLのデータベースをインポート</strong>

phpMyAdminにUTF-8でログインして「インポート」をクリック。
「データベース名.sql」を選択して「実行」。
データが2MB以上の場合は分割してインポートしなくてはいけないらしいです。
その場合は「SQL」メニューをクリックし、「データベース○○○上でクエリを実行する:」の中に「データベース名.sql」の中身をそのまま少しずつコピペして実行するのを繰り返すみたいです。

<strong>8、再構築！</strong>


これで終了のはずです。

私の場合は他にも色々テンプレートを直したりパーマリンク変えてみたりしたので、もっとごちゃごちゃと色んな事をしないといけなかったのですが。
今までのやり方も忘れていた上に、MTのバージョンが4.0.1になって、設定画面とかが結構変わっていたのでそこで少し手間取りました。

データベースを移動する時は少し緊張しましたが、大した事ない記事が少しあるだけだったので、勉強にはとても良かったです。]]>
        
    </content>
</entry>

<entry>
    <title>画像テストで前回のブログテンプレートを載せてみる</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/10/24/post_6.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=9" title="画像テストで前回のブログテンプレートを載せてみる" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.9</id>
    
    <published>2006-10-24T03:24:48Z</published>
    <updated>2008-01-12T19:43:28Z</updated>
    
    <summary>テンプレートを新しいのにしたので、前回のテンプレートデザインの画像を載せてみます。</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テストとか" />
    
        <category term="テンプレートとか" />
    
        <category term="テンプレートデザイン一覧" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        <![CDATA[テンプレートを新しいのにしたので、前回のテンプレートデザインの画像を載せてみます。

<img alt="shop_wave-blk.jpg" src="http://www.lazyspaceart.com/blog/img/shop_wave-blk.jpg" width="300" height="218" />

searchがちょっと上に行き過ぎ。
今のもちょっとスペース具合を直さなくては。

今のも前のもデザイン自体は大分昔に作ったので新しいのを作りたいのだけど、まだまだあるからそれを全部設定してみてからにしようかと思っています。]]>
        
    </content>
</entry>

<entry>
    <title>タグテスト</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/10/24/post_5.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=8" title="タグテスト" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.8</id>
    
    <published>2006-10-24T03:04:17Z</published>
    <updated>2007-11-21T22:48:14Z</updated>
    
    <summary>が像画像テスト...</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テストとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        <![CDATA[が像<img src="http://www.lazyspaceart.com/images/about.gif">画像テスト]]>
        
    </content>
</entry>

<entry>
    <title>テンプレート変えました</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/10/24/post_4.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=7" title="テンプレート変えました" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.7</id>
    
    <published>2006-10-23T22:10:49Z</published>
    <updated>2006-10-23T22:16:54Z</updated>
    
    <summary>すっごい久し振りにテンプレートをいじってみました。 全然やり方を忘れてました。 ...</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テンプレートとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        すっごい久し振りにテンプレートをいじってみました。
全然やり方を忘れてました。
ちょくちょくいじらないとすぐ忘れる。
これからは定期的にテンプレートを増やして変更していきたいです。
        
    </content>
</entry>

<entry>
    <title>初テンプレート設定できた</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/06/12/post_2.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=16" title="初テンプレート設定できた" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.16</id>
    
    <published>2006-06-12T12:54:45Z</published>
    <updated>2007-11-21T22:44:05Z</updated>
    
    <summary>アーカイブも設定完了。 MTは面倒臭い。...</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テンプレートとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        アーカイブも設定完了。
MTは面倒臭い。
        
    </content>
</entry>

<entry>
    <title>成功</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/06/12/post_8.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=15" title="成功" />
    <id>tag:www.lazyspaceart.com,2007:/blog//1.15</id>
    
    <published>2006-06-12T11:04:32Z</published>
    <updated>2007-11-21T22:43:34Z</updated>
    
    <summary>テンプレート設定成功！ だけど、月別のカテゴリのテンプレートはまだ。...</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テンプレートとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        テンプレート設定成功！
だけど、月別のカテゴリのテンプレートはまだ。
        
    </content>
</entry>

<entry>
    <title>初テンプレート試し</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/06/12/post_1.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=4" title="初テンプレート試し" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.4</id>
    
    <published>2006-06-12T07:28:26Z</published>
    <updated>2006-06-12T07:32:14Z</updated>
    
    <summary>やっと初テンプレートを使ってみようと思ったけど、 どうもうまくいかない。...</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テンプレートとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        やっと初テンプレートを使ってみようと思ったけど、
どうもうまくいかない。
        
    </content>
</entry>

<entry>
    <title>テストで投稿</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/04/04/post.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=3" title="テストで投稿" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.3</id>
    
    <published>2006-04-03T17:09:10Z</published>
    <updated>2006-04-03T17:11:57Z</updated>
    
    <summary>テストする</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="テストとか" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        ちょっと調べたいからもう一回投稿してみよう。
        
    </content>
</entry>

<entry>
    <title>Movable Type Installしました。</title>
    <link rel="alternate" type="text/html" href="http://www.lazyspaceart.com/blog/2006/04/03/movable_type_install.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.lazyspaceart.com/apps/mt-atom.cgi/weblog/blog_id=1/entry_id=2" title="Movable Type Installしました。" />
    <id>tag:www.lazyspaceart.com,2006:/blog//1.2</id>
    
    <published>2006-04-03T13:57:53Z</published>
    <updated>2006-04-03T16:53:28Z</updated>
    
    <summary>Movable Typeをインストールしました。これでブログテンプレートのデザインがテストできるぞ。</summary>
    <author>
        <name>lazyspaceart</name>
        <uri>http://www.lazyspaceart.com</uri>
    </author>
    
        <category term="Movable Type" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.lazyspaceart.com/blog/">
        Movable Type でブログのテンプレートをデザインしていたのですが、実際に確認したいので、やっとMovable Typeをインストールしました。

これからテンプレートをアップロードしてテストしてみます。
        
    </content>
</entry>

</feed> 

