{"id":583,"date":"2023-11-04T13:12:43","date_gmt":"2023-11-04T04:12:43","guid":{"rendered":"https:\/\/web.cloudfree.jp\/journal\/?p=583"},"modified":"2023-11-18T23:54:09","modified_gmt":"2023-11-18T14:54:09","slug":"wordpress%e3%82%92%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e7%92%b0%e5%a2%83%e3%81%ab%e4%b8%b8%e3%81%94%e3%81%a8%e5%86%8d%e7%8f%be%e3%81%95%e3%81%9b%e3%82%8b","status":"publish","type":"post","link":"https:\/\/web.cloudfree.jp\/journal\/wordpress%e3%82%92%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e7%92%b0%e5%a2%83%e3%81%ab%e4%b8%b8%e3%81%94%e3%81%a8%e5%86%8d%e7%8f%be%e3%81%95%e3%81%9b%e3%82%8b\/","title":{"rendered":"WordPress\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u4e38\u3054\u3068\u518d\u73fe\u3055\u305b\u308b"},"content":{"rendered":"<h3 style=\"padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);\" class=\"wp-block-post-title\">WordPress\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u4e38\u3054\u3068\u518d\u73fe\u3055\u305b\u308b<\/h3>\r\n\n<p class=\"has-tertiary-color has-text-color has-background has-small-font-size\" style=\"background-color:#8d8dd8;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">2023-11-04 \u8a18\u8f09<br>\u6982\u8981 : cloudfree\u30b5\u30fc\u30d0\u306b\u3042\u308bWordPress\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u5185\u306b\u4e38\u3054\u3068\u518d\u73fe\u3055\u305b\u307e\u3059<br>Keyword : WordPress, MariaDB, FileZilla, phpMyAdmin, cloudfree, <\/p>\n\n\n\n<p>Apache\u3092\u3044\u308c\u3066\u3001SSL\u3092Listen\u3057\u3001PHP\u3092\u3044\u308c\u3066\u3001MariaDB\u3092\u3044\u308c\u3066\u3001FileZilla\u306e\u8a2d\u5b9a\u3082\u6574\u3063\u3066\u3002<br>\u3053\u308c\u3067\u8868\u984c\u306e\u300cWordPress\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u4e38\u3054\u3068\u518d\u73fe\u3055\u305b\u308b\u300d\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br><br>\u4f5c\u696d\u306b\u304b\u304b\u308b\u524d\u306b\u4e00\u70b9\u3002<br>localhost\u3067\u306f\u3001MySQL\u3092Port3306\u3001MariaDB\u30926603\u3067\u30b5\u30fc\u30d3\u30b9\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001MariaDB\u3092\u300c\u30e1\u30a4\u30f3\u306eMySQL\u300d(\u2190\u3084\u3084\u3053\u3057\u3044\u8868\u73fe^^;)\u306b\u3057\u3066\u3044\u304f\u3064\u3082\u308a\u306a\u306e\u3067\u3001\u3053\u306ePort\u3092\u5165\u308c\u66ff\u3048\u307e\u3059\u3002<br><br>C:\\pgm\\mariadb\\data\\my.ini<br>[mysqld]<br>port=3306<br>[client]<br>port=3306<\/p>\n\n\n\n<p>C:\\ProgramData\\MySQL\\MySQL Server 8.0\\my.ini<br>[client]<br>port=6603<br>[mysqld]<br>port=6603<\/p>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306emy.ini\u3092\u66f8\u304d\u63db\u3048\u308b\u3060\u3051\u3067\u30d0\u30c3\u30c1\u30ea\u5165\u308c\u66ff\u308f\u3063\u3066\u304f\u308c\u307e\u3057\u305f\u3002(\u3055\u3059\u304cOracle &#x1f44f;)<br>phpMyAdmin\u306econfig.inc.php\u306ePort\u3082\u66f8\u304d\u63db\u3048\u3066\u63a5\u7d9a\u3092\u78ba\u8a8d\uff2f\uff2b\u3002<br><br>\u3044\u3056\u4f5c\u696d\u3002\u5bfe\u8c61\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3092&#8221;web_journal&#8221;\u3068\u4eee\u5b9a\u3057\u3066\u624b\u9806\u3092\u66f8\u304f\u3068\u3002<br><br>[cloudfree\u7ba1\u7406\u30d1\u30cd\u30eb]<br>\u4e0a\u90e8\u300c\u30b5\u30fc\u30d0\uff1a localhost >> \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9: web_journal\u300d<br>\u3068\u5bfe\u8c61\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u72b6\u614b\u306b\u3057\u3066\u3001<br>\u2192\u30bf\u30d6\u300c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d\u306e\u30dc\u30bf\u30f3\u300c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d\u30af\u30ea\u30c3\u30af<\/p>\n\n\n\n<p>web_journal.sql<br>\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<p>\u203b\u3053\u308c\u306b\u306fCREATE DATABASE\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u4e8b\u524d\u306b\u30ed\u30fc\u30ab\u30ebDB\u306b\u4f5c\u6210\u3057\u3066\u304a\u304f\u304b\u3001<br>\u4ee5\u4e0b\u306eSQL(\u30b5\u30fc\u30d0\u5168\u4f53\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3067\u53d6\u5f97\u3067\u304d\u308bSQL\u306e\u4e00\u90e8)\u3092\u5148\u982d\u306b\u4ed8\u52a0\u3059\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"SQL\"><code>CREATE DATABASE IF NOT EXISTS web_journal DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;\nUSE web_journal;<\/code><\/pre><\/div>\n\n\n\n<p>[\u30ed\u30fc\u30ab\u30eb\u306ephpMyAdmin]<br>\u30b5\u30fc\u30d0\uff1a localhost(MariaDB:3306)<br>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9: web_journal<br><br>cloudfree\u30b5\u30fc\u30d0\u3068\u540c\u3058user\/password\u3067\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057<br>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9web_journal\u306b\u5bfe\u3057\u3066\u5168\u6a29\u3092\u4e0e\u3048\u308b<br>(phpMyAdmin\u306econfig.inc.php\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3082root\u304b\u3089\u4f5c\u6210\u30e6\u30fc\u30b6\u30fc\u306b\u66f8\u304d\u63db\u3048\u3066\u304a\u304f)<\/p>\n\n\n\n<p>\u4e0a\u90e8\u300c\u30b5\u30fc\u30d0\uff1a MariaDB localhost:3306:3306 &gt;&gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9: web_journal\u300d<br>(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u7a7a\u306e\u72b6\u614b\u304b\u3089)<br>\u2192\u30bf\u30d6\u300c\u30a4\u30f3\u30dd\u30fc\u30c8\u300d\u2192[\u53c2\u7167]\u3067&#8221;web_journal.sql&#8221;\u3092\u9078\u629e\u3057\u3066\u2192[\u30a4\u30f3\u30dd\u30fc\u30c8]<br>\u30ed\u30fc\u30ab\u30eb\u306eSearchReplaceDBmaster\u3092\u958b\u304f\u3002<br>SearchReplace:replace &#8220;web.cloudfree.jp&#8221; with &#8220;web.cloudfree.jp&#8221;<br>database name:web_journal<br>Which Tables?:all tables<\/p>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30f3\u30c4\u6b21\u7b2c\u3060\u304c\u79c1\u306e\u5834\u5408\u4ee5\u4e0b\u306e4Table\u304cReplace\u5bfe\u8c61\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br>wp_comments \/ wp_options \/ wp_postmeta \/ wp_posts<br>Replace\u5b9f\u884c\u3055\u305b\u305f\u3042\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u306ephpMyAdmin\u3067wp_options\u30c6\u30fc\u30d6\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3068<br>siteurl, home \u306e\uff12\u884c\u306f\u5909\u308f\u3063\u3066\u3044\u307e\u3057\u305f\u3002(\u5f53\u7136)<br><br>DB\u4f5c\u696d\u306f\u5b8c\u4e86\u3002\u6b21\u306f\u30d5\u30a1\u30a4\u30eb\u3002<\/p>\n\n\n\n<p>\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u6e96\u5099\u3002\u4ee5\u4e0b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3002<br>X:\/xxx\/ftp_home\/web.cloudfree.jp\/public_html\/journal<br>\u203b &#8220;X:\/xxx&#8221;\u306f\u5404\u81ea\u306e\u74b0\u5883<\/p>\n\n\n\n<p>FileZilla\u3067\u30b5\u30fc\u30d0\u306e\/public_html\/journal\/* \u3092\u5168\u4ef6 \u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002<\/p>\n\n\n\n<p>MariaDB\u3092Port3306\u3067Listen\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u304a\u304b\u3052\u3067\u3001<br>&#8220;wp-config.php&#8221;\u306f\u4e00\u5207\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u306a\u304fcloudfree\u30fblocalhost\u5171\u901a\u3067\u4f7f\u3048\u307e\u3059\u3002<br><br>Apache\u306ehttpd.conf\u672b\u5c3e\u3042\u305f\u308a\u306b\u8ffd\u8a18\u3057\u3066Apache\u518d\u8d77\u52d5<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"httpd.conf\"><code>Alias \/cloudfree &quot;X:\/xxx\/ftp_home\/web.cloudfree.jp\/public_html\/&quot;\n&lt;Directory &quot;X:\/xxx\/ftp_home\/web.cloudfree.jp\/public_html\/&quot;&gt;\nAllowOverride All\nRequire all granted\n&lt;\/Directory&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067<br>https:\/\/web.cloudfree.jp\/journal\/<br>\u304b\u3089\u958b\u3051\u308b\u304c&#8221;web.cloudfree.jp&#8221;\u3068\u306a\u308b\u306e\u3067\u3001<br>.htaccess\u306e RewriteBase \u304c\u30b5\u30fc\u30d0\u3068\u9055\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br>public_html\u4ee5\u4e0b\u3092\\Apache24\\htdocs\u306b\u914d\u7f6e\u3059\u308c\u3070\u3088\u3044\u306e\u3067\u3059\u304c\u3001<br>\u305d\u308c\u306fWordPress\u3060\u3051\u5c55\u958b\u3055\u305b\u3066\u308b\u5834\u5408\u306f\u305d\u308c\u3067\u3088\u3044\u3068\u3057\u3066\u3082\u3001<br>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5c0e\u5165\u3067laravel\u7b49\u306epublic_html\u3088\u308a\u4e0a\u306bPath\u3092\u3064\u306a\u3052\u308b\u3068\u304d\u306b\u56f0\u308a\u307e\u3059\u3002<br>\u3088\u3063\u3066.htaccess\u3060\u3051\u306f\u500b\u5225\u306b\u5bfe\u5fdc\u3002<br><br>https:\/\/web.cloudfree.jp\/journal\/wp-admin\/<br>\u3092\u958b\u3044\u3066\u307f\u305f\u3089cloudfree\u30b5\u30fc\u30d0\u3068\u540c\u3058\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066<br>\u30af\u30ed\u30fc\u30f3\u306a\u30b5\u30a4\u30c8\u3092\u30ed\u30fc\u30ab\u30eb\u5185\u3067\u7a3c\u50cd\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<br><br>\u3053\u308c\u3067WordPress\u306e\u8a2d\u5b9a\u7b49\u3067<br>\u300e\u3053\u3093\u306a\u3053\u3068\u3092\u3057\u305f\u3089\u58ca\u308c\u3066\u3057\u307e\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u300f<br>\u300e\u8a33\u5206\u304b\u3089\u305a\u3044\u3058\u308a\u307e\u308f\u3057\u3066\u5143\u306b\u623b\u305b\u306a\u304b\u3063\u305f\u3089\u3069\u3046\u3057\u3088\u3046\u300f<br>\u3068\u3044\u3046\u3088\u3046\u306a\u3053\u3068\u3067\u3082\u3001\u3059\u3079\u3066\u7121\u304b\u3063\u305f\u3053\u3068\u306b\u3067\u304d\u308b\u30ed\u30fc\u30ab\u30eb\u3067\u8a66\u305b\u308b\u304b\u3089\u5b89\u5fc3\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u307e\u3067\u306b\u3053\u3057\u3089\u3048\u3066\u304d\u305f\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u69cb\u7bc9\u306e\u96c6\u5927\u6210\u3068\u3082\u3044\u3046\u3079\u304d\u3082\u306e\u3002\u30b5\u30fc\u30d0WordPress\u306e\u30af\u30ed\u30fc\u30f3\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u6301\u3061\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":584,"comment_status":"open","ping_status":"closed","sticky":false,"template":"wp-custom-template-x24-index","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[21,13,12,56,24],"_links":{"self":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts\/583"}],"collection":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/comments?post=583"}],"version-history":[{"count":0,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts\/583\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/media\/584"}],"wp:attachment":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/media?parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/categories?post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/tags?post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}