Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 544

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/home/bugyo/public_html/b-log/wp-includes/comment-template.php on line 1739

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 960

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 980

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 992

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 1003

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 199

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 3030

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642
{"id":491,"date":"2009-12-10T13:48:45","date_gmt":"2009-12-10T04:48:45","guid":{"rendered":"http:\/\/blog.bugyo.tk\/b-log\/?p=491"},"modified":"2009-12-10T14:02:16","modified_gmt":"2009-12-10T05:02:16","slug":"wordpress%e3%82%92%e5%88%a5%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ab%e5%bc%95%e3%81%a3%e8%b6%8a%e3%81%99","status":"publish","type":"post","link":"https:\/\/blog.bugyo.tk\/b-log\/archives\/491","title":{"rendered":"WordPress\u3092\u5225\u30b5\u30fc\u30d0\u306b\u5f15\u3063\u8d8a\u3059"},"content":{"rendered":"

\u79fb\u52d5\u5143\u3001\u79fb\u52d5\u5148\u306e\u53cc\u65b9\u3067\u30b7\u30a7\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u3001WordPress\u3067\u4f5c\u3063\u305f\u30b5\u30a4\u30c8\u3092\u5225\u30b5\u30fc\u30d0\u306b\u79fb\u52d5\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n

\u540c\u4e00\u30b5\u30fc\u30d0\u5185\u3067\u79fb\u52d5\u3059\u308b\u3068\u304d\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f8\u304d\u51fa\u3057\u305f\u308a\u8aad\u307f\u8fbc\u3093\u3060\u308a\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002<\/p>\n

1. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b<\/strong><\/p>\n

\r\n% mysqldump database_name -u user_name -p > backup_file\r\n<\/pre>\n

\u3068\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092backup_file\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3002<\/p>\n

2. \u30b5\u30a4\u30c8\u306b\u65b0\u3057\u3044URL\u3092\u767b\u9332\u3059\u308b<\/strong>
\nWordPress\u30b5\u30a4\u30c8\u7ba1\u7406\u30e1\u30cb\u30e5\u30fc\u306e[\u8a2d\u5b9a]\u2192[\u4e00\u822c]\u3067[WordPress \u306e\u30a2\u30c9\u30ec\u30b9 (URL)]\u306b\u65b0\u3057\u3044URL\u3092\u5165\u529b\u3057[\u5909\u66f4\u3092\u4fdd\u5b58]\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3002<\/p>\n

3. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f8\u304d\u51fa\u3059<\/strong>
\n\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u3063\u305f\u3068\u304d\u3068\u540c\u69d8\u306bmysqldump\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u66f8\u304d\u51fa\u3059\u3002<\/p>\n

% mysqldump database_name -u user_name -p > dump_file<\/pre>\n

4. \u30b5\u30a4\u30c8\u3092\u30a2\u30fc\u30ab\u30a4\u30d6\u3059\u308b<\/strong>
\n\u30c6\u30fc\u30de\u306e\u30b9\u30bf\u30a4\u30eb\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3092\u7de8\u96c6\u3057\u3066\u3044\u308b\u306e\u3067\u30b5\u30a4\u30c8\u5168\u4f53\u3092\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u306b\u6301\u3063\u3066\u884c\u304f\u3002<\/p>\n

% cd \/home\/user_name\r\n% tar cvzf site.tar.gz public_html<\/pre>\n

5. \u30b5\u30a4\u30c8\u3092\u5c55\u958b\u3059\u308b<\/strong>
\n\u79fb\u52d5\u5148\u306e\u30b5\u30fc\u30d0\u3067\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3059\u308b\u3002<\/p>\n

% cd \/home\/user_name\r\n% tar xvzf site.tar.gz<\/pre>\n

6. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210<\/strong>
\n\u79fb\u52d5\u5148\u306e\u30b5\u30fc\u30d0\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002
\n\u30b5\u30a4\u30c8\u5168\u4f53\u3092\u79fb\u52d5\u3057\u305f\u306e\u3067\u540c\u3058\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3001\u30e6\u30fc\u30b6\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3060\u3068wp-config.php\u3092\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002<\/p>\n

% mysql -u root -p\r\nmysql> create database database_name;\r\nmysql> grant all on database_name.* 'user_name'@'localhost' identified by 'pass';<\/pre>\n

7. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5fa9\u5143<\/strong>
\n\u79fb\u52d5\u5143\u306eMySQL\u30b5\u30fc\u30d0\u304b\u3089\u66f8\u304d\u51fa\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u79fb\u52d5\u5148\u306eMySQL\u30b5\u30fc\u30d0\u306b\u8aad\u307f\u8fbc\u3080\u3002
\nmysqldump\u304c\u66f8\u304d\u51fa\u3059\u30c7\u30fc\u30bf\u306fSQL\u6587\u306a\u306e\u3067\u3001\u4f5c\u6210\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u6d41\u3057\u8fbc\u3080\u3060\u3051\u3067\u3088\u3044\u3002<\/p>\n

%mysql database_name -u user_name -p < dump_file<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u79fb\u52d5\u5143\u3001\u79fb\u52d5\u5148\u306e\u53cc\u65b9\u3067\u30b7\u30a7\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u3001WordPress\u3067\u4f5c\u3063\u305f\u30b5\u30a4\u30c8\u3092\u5225\u30b5\u30fc\u30d0\u306b\u79fb\u52d5\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 \u540c\u4e00\u30b5\u30fc\u30d0\u5185\u3067\u79fb\u52d5\u3059\u308b\u3068\u304d\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f8\u304d\u51fa\u3057\u305f\u308a\u8aad\u307f\u8fbc\u3093\u3060\u308a\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002 1. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b % mysqldump database_name -u user_name -p > backup_file \u3068\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092backup_file\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3002 2. \u30b5\u30a4\u30c8\u306b\u65b0\u3057\u3044URL\u3092\u767b\u9332\u3059\u308b WordPress\u30b5\u30a4\u30c8\u7ba1\u7406\u30e1\u30cb\u30e5\u30fc\u306e[\u8a2d\u5b9a]\u2192[\u4e00\u822c]\u3067[WordPress \u306e\u30a2\u30c9\u30ec\u30b9 (URL)]\u306b\u65b0\u3057\u3044URL\u3092\u5165\u529b\u3057[\u5909\u66f4\u3092\u4fdd\u5b58]\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3002 3. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f8\u304d\u51fa\u3059 \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u3063\u305f\u3068\u304d\u3068\u540c\u69d8\u306bmysqldump\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u66f8\u304d\u51fa\u3059\u3002 % mysqldump database_name -u user_name -p > dump_file 4. \u30b5\u30a4\u30c8\u3092\u30a2\u30fc\u30ab\u30a4\u30d6\u3059\u308b \u30c6\u30fc\u30de\u306e\u30b9\u30bf\u30a4\u30eb\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3092\u7de8\u96c6\u3057\u3066\u3044\u308b\u306e\u3067\u30b5\u30a4\u30c8\u5168\u4f53\u3092\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u306b\u6301\u3063\u3066\u884c\u304f\u3002 % cd \/home\/user_name % tar cvzf site.tar.gz public_html Continue reading WordPress\u3092\u5225\u30b5\u30fc\u30d0\u306b\u5f15\u3063\u8d8a\u3059<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[188,135,187],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/491"}],"collection":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/comments?post=491"}],"version-history":[{"count":10,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/491\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/491\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/media?parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/categories?post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/tags?post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}