{"id":106,"date":"2009-09-14T16:33:38","date_gmt":"2009-09-14T07:33:38","guid":{"rendered":"http:\/\/localhost\/wp_diary\/?p=106"},"modified":"2009-09-14T16:33:38","modified_gmt":"2009-09-14T07:33:38","slug":"movable-tupe4-2%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/funalogue.com\/column\/2009\/09\/14\/movable-tupe4-2%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab\/","title":{"rendered":"Movable Type4.2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u3044\u3084\u3044\u3084\u3001\u3053\u308c\u306f\u9762\u5012\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3002<\/p>\n<p>\u30b7\u30c3\u30af\u30b9\u30a2\u30d1\u30fc\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u30d5\u30a1\u30a4\u30eb\u3092\u4eca\u56de\u7528\u610f\u3057\u305fmt_test\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066\u89e3\u51cd\u3002<\/p>\n<p><strong>\u25cf\u4eca\u307e\u3067MacPorts\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3082\u306e\u306e\u4e0a\u306b\u66f4\u306b\u4e0b\u8a18\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ sudo port install p5-crypt-dsa\n$ sudo port install p5-archive-zip\n$ sudo port install p5-xml-atom<\/pre>\n<p><strong><!--more-->Movable Type\u306e\u305f\u3081\u306e\u30b5\u30fc\u30d0\u30fc\u8a2d\u5b9a<\/strong><\/p>\n<p><strong>\u25cfPerl\u306e\u30d1\u30b9\u3092MacPorts\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u5909\u66f4<\/strong><br \/>\n<a href=\"http:\/\/gabs.cc\/blog\/bun\/topic20090608-1456.php\">http:\/\/gabs.cc\/blog\/bun\/topic20090608-1456.php<\/a>\u3092\u53c2\u8003\u306b<br \/>\nMacPorts\u4e0a\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fImageMagick\u306f\u3001\/opt\/local\/bin\/\u306b\u5b58\u5728\u3002<br \/>\n\u305d\u3053\u3067\u3001\/usr\/bin\/\u306b\u3042\u308bperl\u3092MacPorts\u4e0a\u306eperl\u306b\u7f6e\u304d\u63db\u3048\u3002<br \/>\n\/opt\/local\/bin\/\u306e\u4e2d\u306b\u3042\u308bperl\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\/usr\/bin\/\u306b\u4f5c\u308a\u3001\u3053\u308c\u3092Movable Type\u306b\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3068\u3044\u3046\u8a2d\u5b9a\u3092\u3059\u308b\u3002<br \/>\nMacPorts\u306eMovable Type\u304b\u3089ImageMagick\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ cd \/usr\/bin\/\n$ sudo mv perl perl.bak\n$ sudo ln -s \/opt\/local\/bin\/perl \/usr\/bin\/perl<\/pre>\n<p><strong>\u25cfCGI\u3092\u3069\u3053\u3067\u3082\u4f7f\u3048\u308b\u3088\u3046\u306bhtaccess\u306e\u8a2d\u7f6e<\/strong><br \/>\nMacPorts\u306fCGI(Perl)\u3092\u5b9f\u884c\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\/opt\/local\/apache2\/cgi-bin\u306b\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3069\u3053\u3067\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u5909\u66f4\u3002<br \/>\nlocalhost\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bhtaccess\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; gutter: true; first-line: 1\">#This is a .htaccess For Movable Type CGI\n Options +ExecCGI\n AddType application\/x-httpd-cgi .cgi .pl<\/pre>\n<p>\u3068\u66f8\u3044\u3066.htaccess\u30d5\u30a1\u30a4\u30eb\u3092htdocs\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u304f\u3002<\/p>\n<p><strong>\u25cfmt-config.cgi\u306e\u4fee\u6b63<\/strong><br \/>\n\/mt\/mt-config.cgi\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u3066\u3001\u4fee\u6b63\u3092\u52a0\u3048\u307e\u3059\u3002<br \/>\nMac\u30b5\u30fc\u30d0\u30fc\u3067\u306fMySQL\u306e\u307f\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u4ee5\u5916\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002<\/p>\n<pre class=\"brush: perl; gutter: true; first-line: 1\">##          Movable Type configuration file                   ##\n##                                                            ##\n## This file defines system-wide settings for Movable Type    ##\n## In total, there are over a hundred options, but only those ##\n## critical for everyone are listed below.                    ##\n##                                                            ##\n## Information on all others can be found at:                 ##\n## http:\/\/www.movabletype.org\/documentation\/appendices\/config-directives\/ ##\n################################################################\n##################### REQUIRED SETTINGS ########################\n################################################################\n# The CGIPath is the URL to your Movable Type directory\n CGIPath    http:\/\/localhost\/mt_test\/\n# The StaticWebPath is the URL to your mt-static directory\n# Note: Check the installation documentation to find out\n# whether this is required for your environment.  If it is not,\n# simply remove it or comment out the line by prepending a \"#\".\n StaticWebPath    http:\/\/localhost\/mt_test\/mt-static\n#================ DATABASE SETTINGS ==================\n#   REMOVE all sections below that refer to databases\n#   other than the one you will be using.\n##### MYSQL #####\n ObjectDriver DBI::mysql\n Database mt_test\n DBUser mt_test\n DBPassword \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u66f8\u304f\n DBHost localhost\n##### POSTGRESQL #####\n# ObjectDriver DBI::postgres\n# Database DATABASE_NAME\n# DBUser DATABASE_USERNAME\n# DBPassword DATABASE_PASSWORD\n# DBHost localhost\n##### SQLITE #####\n# ObjectDriver DBI::sqlite\n# Database \/path\/to\/sqlite\/database\/file<\/pre>\n<p style=\"text-align: left;\">http:\/\/localhost\/mt_test\/mt.cgi\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3084\u3063\u3068\u767b\u9332\u753b\u9762\u304c\u51fa\u3066\u304f\u308b\u3002<br \/>\n<a href=\"http:\/\/funalogue.com\/column\/files\/2009\/09\/mt_account_top.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/funalogue.com\/column\/files\/\/2009\/09\/mt_account_top-150x150.png\" alt=\"mt_account_top\" width=\"150\" height=\"150\" class=\"aligncenter size-thumbnail wp-image-108\" \/><\/a>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306f\u3053\u3053\u3067\u4e00\u5ea6\u516c\u958b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u3084\u3044\u3084\u3001\u3053\u308c\u306f\u9762\u5012\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3002 \u30b7\u30c3\u30af\u30b9\u30a2\u30d1\u30fc\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u30d5\u30a1\u30a4\u30eb\u3092\u4eca\u56de\u7528\u610f\u3057\u305fmt_test\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066\u89e3\u51cd\u3002 \u25cf\u4eca\u307e\u3067MacPorts\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3082\u306e\u306e\u4e0a\u306b\u66f4\u306b\u4e0b\u8a18\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,7],"tags":[12,8],"_links":{"self":[{"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/posts\/106"}],"collection":[{"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/funalogue.com\/column\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}