array(10) {
["id"]=>
int(1)
["count"]=>
int(0)
["description"]=>
string(0) ""
["link"]=>
string(54) "https://tekuaru.jack-russell.jp/category/unclassified/"
["name"]=>
string(9) "未分類"
["slug"]=>
string(12) "unclassified"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=1"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
array(9) {
["id"]=>
int(50)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
array(10) {
["id"]=>
int(44)
["count"]=>
int(57)
["description"]=>
string(0) ""
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
array(25) {
["id"]=>
int(1887)
["date"]=>
string(19) "2018-07-23T14:12:04"
["date_gmt"]=>
string(19) "2018-07-23T05:12:04"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=1887"
}
["modified"]=>
string(19) "2018-09-27T15:47:06"
["modified_gmt"]=>
string(19) "2018-09-27T06:47:06"
["slug"]=>
string(173) "rest-api-%e3%82%92-%e8%87%aa%e5%88%86%e3%81%aa%e3%82%8a%e3%81%ab-%e4%bd%bf%e3%81%84%e3%82%84%e3%81%99%e3%81%84%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/07/23/1887/"
["title"]=>
array(1) {
["rendered"]=>
string(65) "REST API を 自分なりに 使いやすいようにしてみた"
}
["content"]=>
array(2) {
["rendered"]=>
string(3753) "
元々 使いやすい WP Rest Api ですが
自分が よく使うパターンで class 化 しました
データは 自分が よく使うものに 絞ってしまっていますので
使いやすいように 改造していただければ…
sticky 周りは 結構雑で あれ?? 投稿が 表示されない… なんて 事が起きたら 多分 ココを 最初に考えたら良いと思います
まだ 深く使ってないので エラーがあるかもしれませんが ざっと こんな感じです
コメントもついてないので 読みにくいと思います… (スミマセン)
何度も API を 読みに行くと 負荷が高くなってしまうかな?? なんて 考えたので 30分の間 キャッシュしています
(使う時は 環境に合わせて変えてください : $this->cache_time = 60 * 30;)
キャッシュする場所は ファイルがある場所の jr_get_contents_cache という ディレクトリ以下 に 作成します
(使う時は 環境に合わせて変えてください : $this->cache_dir = realpath( __DIR__ . ‘/jr_get_contents_cache’ );)
ファイルは chmod で 666 に していますので 書き換えてください
(使う時は 環境に合わせて変えてください : chmod( $cache_path, 0666 );)
データの取得は cURL を 使っています
(タイムアウトは 5秒 です : $curl_option あたり)
使い方は そのまま 使う場合 は
function get_campaign_post() {
$ary_api_url = array(
( is_ssl() ? 'https' : 'http' ) . '://' . $_SERVER['HTTP_HOST'] . "/wp-json/wp/v2/posts?_embed&per_page=20",
);
$api_object = new jr_get_contents;
$api_posts = $api_object->get_wp_rest_api( $ary_api_url );
return $api_posts;
}
みたいな感じで 使用します
タグ等で 絞りたい場合は ID が 分かれば 基本的な ルールに則って URLを 変更すればよいのですが スラッグを 使用するのであれば 取得元に プラグインを 入れると 使いやすくなります
私は WP REST API filter parameter という プラグインを使用しています
WP-API/rest-filter: Restores the `filter` param to post enpdpoints.
https://github.com/WP-API/rest-filter
WP REST Filter を 使っても 問題ないかもしれません
(試していないため エラーが出るかもしれません)
WP REST Filter
https://wordpress.org/plugins/wp-rest-filter/
function get_campaign_post() {
$tag_name = 'campaign-1887';
$ary_api_url = array(
( is_ssl() ? 'https' : 'http' ) . '://' . $_SERVER['HTTP_HOST'] . "/wp-json/wp/v2/posts?_embed&per_page=20&filter[tag]={$tag_name}",
);
$api_object = new jr_get_contents;
$api_posts = $api_object->get_wp_rest_api( $ary_api_url, true );
return $api_posts;
}
みたいな感じで 取得できるようになるかと思います
使い所は限られるかもしれないけど カスタマイズして 使ってみてください
エラー報告 お待ちしております!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(113) "元々 使いやすい WP Rest Api ですが 自分が よく使うパターンで class 化 しました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(19)
}
["tags"]=>
array(2) {
[0]=>
int(110)
[1]=>
int(69)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1887"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1887"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1887/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1887"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1887"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1887"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(19)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/category/php/"
["name"]=>
string(3) "PHP"
["slug"]=>
string(3) "php"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/19"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=19"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(110)
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/wp-rest-api/"
["name"]=>
string(11) "WP REST API"
["slug"]=>
string(11) "wp-rest-api"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/110"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=110"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(69)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/cache/"
["name"]=>
string(15) "キャッシュ"
["slug"]=>
string(5) "cache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/69"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=69"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
array(9) {
[0]=>
array(25) {
["id"]=>
int(2256)
["date"]=>
string(19) "2019-04-25T12:00:57"
["date_gmt"]=>
string(19) "2019-04-25T03:00:57"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2256"
}
["modified"]=>
string(19) "2020-04-01T12:28:37"
["modified_gmt"]=>
string(19) "2020-04-01T03:28:37"
["slug"]=>
string(167) "bootstrap-%e3%81%a7-%e7%94%bb%e5%83%8f-%e3%81%8c-%e9%9a%a3%e3%82%8a%e5%90%88%e3%81%86%e6%99%82%e3%81%ab-%e9%ab%98%e3%81%95%e3%82%92%e8%aa%bf%e7%af%80%e3%81%99%e3%82%8b"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2019/04/25/2256/"
["title"]=>
array(1) {
["rendered"]=>
string(65) "Bootstrap で 画像 が 隣り合う時に 高さを調節する"
}
["content"]=>
array(2) {
["rendered"]=>
string(1381) "
テキスト と 画像 が 隣り合う時に
テキストが 低い場合 指定の画角で表示し
テキストが 高い場合 画像の高さだけ 伸びていく
そんな事できないかなと 思って作ってみました
使い方は d-flex flex-row を 指定した中で card-contents と card-img を 並べてやるだけです
<div class="card">
<div class="card-body d-flex flex-row">
<div class="card-contents">
<h2 class="card-title">Card title</h2>
<p class="card-text">card's content.</p>
</div>
<figure class="card-img ratio-16-9">
<img class="img-cover w-100" src="..." alt="Card image cap">
</figure>
</div>
</div>
<style>
.img-cover { object-fit: cover; }
</style>
画像が 枠内で 全体表示されるように CSS で 別途指定しています
使う機会なんて なかなかないと思うけど
何度も 調べる作業も 面倒なので ソースコードをまるっと 備忘録!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(240) "テキスト と 画像 が 隣り合う時にテキストが 低い場合 指定の画角で表示しテキストが 高い場合 画像の高さだけ 伸びていくそんな事できないかなと 思って作ってみました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(25)
}
["tags"]=>
array(2) {
[0]=>
int(50)
[1]=>
int(86)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2256"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2256"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2256/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2256"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2256"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2256"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(25)
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/category/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/25"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=25"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(86)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/jquery/"
["name"]=>
string(6) "jQuery"
["slug"]=>
string(6) "jquery"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/86"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=86"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[1]=>
array(25) {
["id"]=>
int(1485)
["date"]=>
string(19) "2017-10-04T01:44:47"
["date_gmt"]=>
string(19) "2017-10-03T16:44:47"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1485"
}
["modified"]=>
string(19) "2017-10-04T01:44:47"
["modified_gmt"]=>
string(19) "2017-10-03T16:44:47"
["slug"]=>
string(124) "bootstrap-v4-0-0-beta-%e3%81%a7-%e3%83%86%e3%83%bc%e3%83%9e-%e3%82%92-%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%be%e3%81%97%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/10/04/1485/"
["title"]=>
array(1) {
["rendered"]=>
string(60) "Bootstrap v4.0.0-beta で テーマ を 更新しました!!"
}
["content"]=>
array(2) {
["rendered"]=>
string(827) "この記事は 2017年 10月 4日 に書かれた記事です。
2017年 8月 10日 に Bootstrap 4 Beta が 出ていたのですが
面倒で CSS を 差し替えていませんでした…
約2ヶ月立ってしまいましたが やっと 重い腰を上げて Beta に 差し替えました
Bootstrap 4を参考にさせていただきました。
http://getbootstrap.com/
どこか表示崩れがあったら コメントください
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(238) "2017年 8月 10日 に Bootstrap 4 Beta が 出ていたのですが 面倒で CSS を 差し替えていませんでした… 約2ヶ月立ってしまいましたが やっと 重い腰を上げて Beta に 差し替えました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(4) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(57)
[3]=>
int(7)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1485"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1485"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1485/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1485"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1485"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1485"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(4) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(57)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/update/"
["name"]=>
string(6) "Update"
["slug"]=>
string(6) "update"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/57"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=57"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(7)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[2]=>
array(25) {
["id"]=>
int(1380)
["date"]=>
string(19) "2017-02-28T14:10:54"
["date_gmt"]=>
string(19) "2017-02-28T05:10:54"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1380"
}
["modified"]=>
string(19) "2018-08-16T16:07:39"
["modified_gmt"]=>
string(19) "2018-08-16T07:07:39"
["slug"]=>
string(162) "cakephp-3-%e3%82%92-%e7%9b%b4%e6%8e%a5-%e8%a7%a6%e3%81%a3%e3%81%a6-%e8%a6%9a%e3%81%88%e3%81%a6%e3%81%bf%e3%82%8b%e3%81%93%e3%81%a8%e3%81%ab%e3%81%97%e3%81%9f-no-5"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/02/28/1380/"
["title"]=>
array(1) {
["rendered"]=>
string(66) "cakePHP 3 を 直接 触って 覚えてみることにした No.5"
}
["content"]=>
array(2) {
["rendered"]=>
string(2819) "この記事は 2017年 2月 28日 に書かれた記事です。
今回の内容は かなり薄いのですが…
注意文を 出す Flash を カスタマイズ します
Flashのカスタマイズ
せっかく Bootstrap 4 を 入れているので Alerts を 使います
Flash は ファイルを置くだけで 反映されるので コードだけ 置いておきます
plugins/Admin/src/Template/Element/Flash/default.ctp
<?php
$class = 'alert alert-danger alert-dismissible fade show';
if( ! empty( $params['class'] ) ) {
$class .= ' ' . $params['class'];
}
if( ! isset( $params['escape'] ) || $params['escape'] !== false ) {
$message = h( $message );
}
?>
<div class="<?= h($class) ?>" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<?= $message ?>
</div>
plugins/Admin/src/Template/Element/Flash/success.ctp
<?php
if( ! isset( $params['escape'] ) || $params['escape'] !== false ) {
$message = h( $message );
}
?>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<?= $message ?>
</div>
plugins/Admin/src/Template/Element/Flash/error.ctp
<?php
if( ! isset( $params['escape'] ) || $params['escape'] !== false ) {
$message = h( $message );
}
?>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<?= $message ?>
</div>
これだけで Flash は カスタマイズできます
これで とりあえず 管理画面 一通り 揃ったかなと思います
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(116) "今回の内容は かなり薄いのですが… 注意文を 出す Flash を カスタマイズ します
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(21)
}
["tags"]=>
array(6) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(9)
[3]=>
int(86)
[4]=>
int(81)
[5]=>
int(17)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1380"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1380"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1380/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1380"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1380"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1380"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(21)
["link"]=>
string(49) "https://tekuaru.jack-russell.jp/category/cakephp/"
["name"]=>
string(7) "cakePHP"
["slug"]=>
string(7) "cakephp"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/21"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=21"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(9)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/9"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=9"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(86)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/jquery/"
["name"]=>
string(6) "jQuery"
["slug"]=>
string(6) "jquery"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/86"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=86"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(81)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/plugins/"
["name"]=>
string(15) "プラグイン"
["slug"]=>
string(7) "plugins"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/81"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=81"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(17)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/admin/"
["name"]=>
string(15) "管理ページ"
["slug"]=>
string(5) "admin"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/17"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=17"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[3]=>
array(25) {
["id"]=>
int(1352)
["date"]=>
string(19) "2017-02-14T16:20:52"
["date_gmt"]=>
string(19) "2017-02-14T07:20:52"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1352"
}
["modified"]=>
string(19) "2018-08-16T16:13:40"
["modified_gmt"]=>
string(19) "2018-08-16T07:13:40"
["slug"]=>
string(162) "cakephp-3-%e3%82%92-%e7%9b%b4%e6%8e%a5-%e8%a7%a6%e3%81%a3%e3%81%a6-%e8%a6%9a%e3%81%88%e3%81%a6%e3%81%bf%e3%82%8b%e3%81%93%e3%81%a8%e3%81%ab%e3%81%97%e3%81%9f-no-3"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/02/14/1352/"
["title"]=>
array(1) {
["rendered"]=>
string(66) "cakePHP 3 を 直接 触って 覚えてみることにした No.3"
}
["content"]=>
array(2) {
["rendered"]=>
string(6202) "この記事は 2017年 2月 14日 に書かれた記事です。
前回のままだと cakePHP の 標準のデザインですので 管理画面用の デザインに変更します
というわけで 僕の 大好きな Bootstrap を 用いて コーディング していきます
まだ alpha.6 ですが こちらを 使いたいと思います
Bootstrap 4
https://v4-alpha.getbootstrap.com/
Bootstrap 4 に 必要な jQuery と tether は 以下から ダウンロード できます
Download jQuery
http://jquery.com/download/
tether
https://github.com/HubSpot/tether/releases
webroot
上記 URL で ダウンロード した ファイル を
CSS ファイル は /plugins/Admin/webroot/css/ に
JS ファイル は /plugins/Admin/webroot/js/ に それぞれ 入れていきます
ファイル名は 任意に変えても問題ないです
レイアウト指定
Admin 以下を 指定のレイアウト に変更します
というわけで /plugins/Admin/src/Controller/AppController.php に 追記します
namespace Admin\Controller;
use App\Controller\AppController as BaseController;
// ここから追加
use Cake\Event\Event;
//ここまで追加
class AppController extends BaseController
{
// ここから追加
public function beforeFilter( Event $event )
{
$this->viewBuilder()->layout( 'Admin.admin' );
}
//ここまで追加
}
レイアウト作成
レイアウト を 指定しただけでは ファイルがないので エラーページになります
plugins/Admin/src/Template/Layout/admin.ctp に ファイルを 作成し レイアウト を 作成します
<!DOCTYPE html>
<html lang="ja">
<head>
<meta name='robots' content='noindex,follow'>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no,address=no,email=no">
<?= $this->Html->css( 'Admin.bootstrap.min' ).PHP_EOL ?>
<?= $this->Html->css( 'Admin.bootstrap.diff' ).PHP_EOL ?>
<?= $this->Html->css( 'Admin.admin' ).PHP_EOL ?>
<title><?= $title_for_layout ?></title>
</head>
<body>
<nav class="fixed-top navbar-inverse bg-inverse" role="navigation">
<div class="navbar navbar-toggleable-md">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#mainNavigation" aria-controls="mainNavigation" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<?php echo $this->Html->link( '管理ページ', [ 'controller' => '/' ], [ 'class' => 'navbar-brand' ] ); ?>
<div class="collapse navbar-collapse" id="mainNavigation">
<ul class="nav navbar-nav navbar-right">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">設定</a>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
<li><?php echo $this->Html->link( 'ユーザ一覧', [ 'controller' => 'users', 'action' => 'index' ], [ 'class' => 'dropdown-item' ] ); ?></li>
<li><?php echo $this->Html->link( 'ユーザの追加', [ 'controller' => 'users', 'action' => 'add' ], [ 'class' => 'dropdown-item' ] ); ?></li>
<li class="dropdown-divider"></li>
<li><?php echo $this->Html->link( 'ログアウト', [ 'controller' => 'users', 'action' => 'logout' ], [ 'class' => 'dropdown-item' ] ); ?></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<?= $this->fetch( 'content' ) ?>
</body>
<?= $this->Html->script( 'Admin.jquery.min' ).PHP_EOL ?>
<?= $this->Html->script( 'Admin.tether.min' ).PHP_EOL ?>
<?= $this->Html->script( 'Admin.bootstrap.min' ).PHP_EOL ?>
</html>
front_page.ctp
最後に あまり良くない方法かもしれませんが plugins/Admin/src/Template/Pages/front_page.ctp に タイトル の 設定をします
<?php
$title_for_layout = 'Dashboard';
$this->set( 'title_for_layout', $title_for_layout );
?>
これで ページにアクセスしたとき タイトルが 正しく反映されるかと思います
また デザインも Bootstrap の デザインになっているかと思います
手探りで 勉強しているので 間違っていたら ご指摘いただけると助かります!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(226) "前回のままだと cakePHP の 標準のデザインですので 管理画面用の デザインに変更します というわけで 僕の 大好きな Bootstrap を 用いて コーディング していきます
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(21)
}
["tags"]=>
array(6) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(9)
[3]=>
int(86)
[4]=>
int(81)
[5]=>
int(17)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1352"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1352"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1352/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1352"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1352"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1352"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(21)
["link"]=>
string(49) "https://tekuaru.jack-russell.jp/category/cakephp/"
["name"]=>
string(7) "cakePHP"
["slug"]=>
string(7) "cakephp"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/21"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=21"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(9)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/9"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=9"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(86)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/jquery/"
["name"]=>
string(6) "jQuery"
["slug"]=>
string(6) "jquery"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/86"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=86"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(81)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/plugins/"
["name"]=>
string(15) "プラグイン"
["slug"]=>
string(7) "plugins"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/81"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=81"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(17)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/admin/"
["name"]=>
string(15) "管理ページ"
["slug"]=>
string(5) "admin"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/17"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=17"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[4]=>
array(25) {
["id"]=>
int(1285)
["date"]=>
string(19) "2017-01-13T15:04:22"
["date_gmt"]=>
string(19) "2017-01-13T06:04:22"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1285"
}
["modified"]=>
string(19) "2017-01-17T14:35:51"
["modified_gmt"]=>
string(19) "2017-01-17T05:35:51"
["slug"]=>
string(103) "20170106-%e3%81%ab-bootstrap-4-alpha-6-%e3%81%8c-%e6%9d%a5%e3%81%a6%e3%81%84%e3%81%be%e3%81%97%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/01/13/1285/"
["title"]=>
array(1) {
["rendered"]=>
string(57) "2017/01/06 に Bootstrap 4 Alpha 6 が 来ていました"
}
["content"]=>
array(2) {
["rendered"]=>
string(834) "この記事は 2017年 1月 13日 に書かれた記事です。
次のリリースは β版になるそうです
Bootstrap 4 Alpha 6 · Bootstrapを参考にさせていただきました。
https://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6/
このサイトは Bootstrap 4 で 作成していますので 今回 の Update で ナビゲーションバー が 正しく動作するようになりました
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(56) "次のリリースは β版になるそうです
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(4) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(57)
[3]=>
int(7)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1285"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1285"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1285/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1285"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1285"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1285"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(4) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(57)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/update/"
["name"]=>
string(6) "Update"
["slug"]=>
string(6) "update"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/57"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=57"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(7)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[5]=>
array(25) {
["id"]=>
int(1110)
["date"]=>
string(19) "2016-08-03T14:35:56"
["date_gmt"]=>
string(19) "2016-08-03T05:35:56"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1110"
}
["modified"]=>
string(19) "2018-08-16T15:57:22"
["modified_gmt"]=>
string(19) "2018-08-16T06:57:22"
["slug"]=>
string(67) "20160727-%e3%81%ab-bootstrap-4-alpha-3-%e3%81%8c-%e7%99%ba%e8%a1%a8"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2016/08/03/1110/"
["title"]=>
array(1) {
["rendered"]=>
string(45) "2016/07/27 に Bootstrap 4 Alpha 3 が 発表"
}
["content"]=>
array(2) {
["rendered"]=>
string(4528) "この記事は 2016年 8月 3日 に書かれた記事です。
なかなか リリースまで 進まない ですが
2016/07/27 に Bootstrap 4 Alpha 3 が 発表されていました
こちらの テーマにも 早速組み込んでみました!!
組み込んで 気がついた点を 上げていきます
pager クラスが 無くなっていた
投稿内の 下についている 次 前 の ボタンですが
スタイルが 当たっていなかったので 調べてみたのですが 無くなったみたいでした
というわけで こんな感じで 修正しました
Template
<nav class="pager">
<ul class="list-inline clearfix">
<li class="list-inline-item pull-xs-left"><?php previous_post_link(); ?></li>
<li class="list-inline-item pull-xs-right"><?php next_post_link(); ?></li>
</ul>
</nav>
JavaScript
jQuery( function($) {
$( '.pager > ul > li a' ).addClass( 'btn btn-secondary' );
} );
previous_post_link() と next_post_link() には クラス を 付与することができないので
jQuery で 後から クラス を 付与しています
これで 横並びの ボタンが 表示されるはずです
breadcrumb クラス の 付与ルールが変わっていた
前は ol に breadcrumb を つければ 勝手に パンくずリストになっていたかと思います
それが 明示的に breadcrumb-item も 示さないと いけなくなりました
また 一番最後の breadcrumb-item には active クラスが 付くそうです
というわけで こちらも 修正します
Template
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo( home_url( '/' ) ); ?>">Home</a></li>
<li class="breadcrumb-item">Data</li>
</ol>
JavaScript
jQuery( function($) {
$( '.breadcrumb > .breadcrumb-item:last-child' ).addClass( 'active' );
} );
パンくず は 動的に 出力していて
最後のリスト かどうか を 調べるのが 少々面倒だったので
こちらも jQuery で 後から クラス を 付与することにしました
Bootstrap 4 に 変わった時の 修正点
こちらは Alpha 1 や Alpha 2 の 時からの仕様だったのですが 今回 一緒に 修正することにしました
blockquote に blockquote クラス が 付く みたいな 細かい 仕様変更 があったので
jQuery で 一括付与してもらうことにしました
jQuery( function($) {
$( 'blockquote' ).addClass( 'blockquote' );
$( 'blockquote > *:last-child' ).addClass( 'm-b-0' );
$( 'figure' ).addClass( 'figure' );
$( 'figure > img' ).addClass( 'figure-img' );
$( 'figure > figcaption' ).addClass( 'figure-caption' );
$( 'img' ).addClass( 'img-fluid' );
$( 'table' ).addClass( 'table' ).wrapAll( '<div class="table-responsive">' );
} );
他にも よくよく見たら クラスがなくなっていたり
付与ルールが変わっているところがあるかも しれません
あと 気になってる所としては
Navbar の 表示 は まだ 治ってない感じなんですかね??
Alpha 2 の 時より ほんの少しだけ 綺麗に表示されるようになっていますけど…
仕様なのかな??
The Bootstrap Blogを参考にさせていただきました。
http://blog.getbootstrap.com/2016/07/27/bootstrap-4-alpha-3/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(129) "なかなか リリースまで 進まない ですが 2016/07/27 に Bootstrap 4 Alpha 3 が 発表されていました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(2)
}
["tags"]=>
array(4) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(9)
[3]=>
int(66)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1110"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1110"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1110/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1110"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1110"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1110"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(2)
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(4) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(9)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/9"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=9"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(66)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/twitter/"
["name"]=>
string(7) "Twitter"
["slug"]=>
string(7) "twitter"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/66"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=66"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[6]=>
array(25) {
["id"]=>
int(669)
["date"]=>
string(19) "2016-01-25T18:19:17"
["date_gmt"]=>
string(19) "2016-01-25T09:19:17"
["guid"]=>
array(1) {
["rendered"]=>
string(37) "http://tekuaru.jack-russell.jp/?p=669"
}
["modified"]=>
string(19) "2016-06-22T00:33:48"
["modified_gmt"]=>
string(19) "2016-06-21T15:33:48"
["slug"]=>
string(187) "%e8%87%aa%e4%bd%9c-%e3%83%86%e3%83%bc%e3%83%9e-%e3%81%ae-%e8%aa%bf%e6%95%b4-%e3%81%8c-%e5%be%90%e3%80%85-%e3%81%ab-%e7%b5%82%e3%82%8f%e3%81%a3%e3%81%a6%e3%81%8d%e3%81%be%e3%81%97%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/2016/01/25/669/"
["title"]=>
array(1) {
["rendered"]=>
string(69) "自作 テーマ の 調整 が 徐々 に 終わってきました!!"
}
["content"]=>
array(2) {
["rendered"]=>
string(893) "この記事は 2016年 1月 25日 に書かれた記事です。
Theme Check に 適合するように 徐々に 修正を重ねて 警告が あと僅かに なってきました!!
Bootstrap 4 alpha 2 で テーマ を 作成してみました!!
https://tekuaru.jack-russell.jp/2016/01/01/636/
の時は とりあえず 動くような テーマだったのですが
今は テーマの ルールに則った 作りに 徐々に 修正しています
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(124) "Theme Check に 適合するように 徐々に 修正を重ねて 警告が あと僅かに なってきました!!
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(2)
}
["tags"]=>
array(6) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(66)
[3]=>
int(57)
[4]=>
int(6)
[5]=>
int(7)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/669"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=669"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/669/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=669"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=669"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=669"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(2)
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(66)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/twitter/"
["name"]=>
string(7) "Twitter"
["slug"]=>
string(7) "twitter"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/66"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=66"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(57)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/update/"
["name"]=>
string(6) "Update"
["slug"]=>
string(6) "update"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/57"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=57"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(6)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/customize/"
["name"]=>
string(18) "カスタマイズ"
["slug"]=>
string(9) "customize"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/6"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=6"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(7)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[7]=>
array(25) {
["id"]=>
int(636)
["date"]=>
string(19) "2016-01-01T01:17:51"
["date_gmt"]=>
string(19) "2015-12-31T16:17:51"
["guid"]=>
array(1) {
["rendered"]=>
string(37) "http://tekuaru.jack-russell.jp/?p=636"
}
["modified"]=>
string(19) "2016-06-22T00:33:21"
["modified_gmt"]=>
string(19) "2016-06-21T15:33:21"
["slug"]=>
string(140) "bootstrap-4-alpha-2-%e3%81%a7-%e3%83%86%e3%83%bc%e3%83%9e-%e3%82%92-%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/2016/01/01/636/"
["title"]=>
array(1) {
["rendered"]=>
string(64) "Bootstrap 4 alpha 2 で テーマ を 作成してみました!!"
}
["content"]=>
array(2) {
["rendered"]=>
string(1051) "この記事は 2016年 1月 1日 に書かれた記事です。
新年 を 迎えたということなので!!
Bootstrap 4 で テーマ を 作りなおしてみました!!
New Bootstrap 4 alpha
http://blog.getbootstrap.com/2015/12/08/bootstrap-4-alpha-2/
いかがですか??
まだ 微調整が 足りてないので 昔のページは 若干スタイルがあっていなかったりするかもしれませんが
これから 徐々に 直していこうかと思っています!!
もう少し テーマについて 知識がついたら 色々なコードを 公開していこうかと考えています!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(117) "新年 を 迎えたということなので!! Bootstrap 4 で テーマ を 作りなおしてみました!!
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(2)
}
["tags"]=>
array(5) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(66)
[3]=>
int(57)
[4]=>
int(7)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/636"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=636"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/636/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=636"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=636"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=636"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(2)
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(5) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(66)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/twitter/"
["name"]=>
string(7) "Twitter"
["slug"]=>
string(7) "twitter"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/66"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=66"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(57)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/update/"
["name"]=>
string(6) "Update"
["slug"]=>
string(6) "update"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/57"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=57"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(7)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[8]=>
array(25) {
["id"]=>
int(327)
["date"]=>
string(19) "2015-08-29T17:55:20"
["date_gmt"]=>
string(19) "2015-08-29T08:55:20"
["guid"]=>
array(1) {
["rendered"]=>
string(37) "http://tekuaru.jack-russell.jp/?p=327"
}
["modified"]=>
string(19) "2016-06-22T00:42:40"
["modified_gmt"]=>
string(19) "2016-06-21T15:42:40"
["slug"]=>
string(149) "%e3%81%84%e3%81%a4%e3%81%ae%e9%96%93%e3%81%ab%e3%81%8b-bootstrap-4-%e3%81%8c-%e3%82%b9%e3%82%bf%e3%83%b3%e3%83%90%e3%81%a3%e3%81%a6%e3%82%8b%e3%81%ad"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/2015/08/29/327/"
["title"]=>
array(1) {
["rendered"]=>
string(61) "いつの間にか Bootstrap 4 が スタンバってるね!!"
}
["content"]=>
array(2) {
["rendered"]=>
string(1761) "この記事は 2015年 8月 29日 に書かれた記事です。
ちょっと 波に乗り遅れてる感満載ですが Bootstrap 4 が 出るんですね!!
いろいろな資料を まとめておきます!!
ちなみに このサイトも Bootstrap 使ってます
多分 機能の1割も 使えてないですが…
Bootstrap 4
http://v4-alpha.getbootstrap.com/
Bootstrap Blog
http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/
コリス
http://coliss.com/articles/build-websites/operation/work/bootstrap-4-alpha-new-features.html
GhostlyPixels
http://ghostlypixels.com/freebie/bootstrap-4-psd/
@IT
http://www.atmarkit.co.jp/ait/articles/1508/20/news142.html
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(152) "ちょっと 波に乗り遅れてる感満載ですが Bootstrap 4 が 出るんですね!! いろいろな資料を まとめておきます!!
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(45)
}
["tags"]=>
array(4) {
[0]=>
int(50)
[1]=>
int(8)
[2]=>
int(66)
[3]=>
int(7)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/327"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=327"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/327/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=327"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=327"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=327"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(45)
["link"]=>
string(61) "https://tekuaru.jack-russell.jp/category/miscellaneous-notes/"
["name"]=>
string(6) "雑記"
["slug"]=>
string(19) "miscellaneous-notes"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/45"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=45"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(4) {
[0]=>
array(6) {
["id"]=>
int(50)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(66)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/twitter/"
["name"]=>
string(7) "Twitter"
["slug"]=>
string(7) "twitter"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/66"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=66"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(7)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
}
array(8) {
[0]=>
array(25) {
["id"]=>
int(2152)
["date"]=>
string(19) "2018-12-07T15:20:32"
["date_gmt"]=>
string(19) "2018-12-07T06:20:32"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2152"
}
["modified"]=>
string(19) "2020-04-01T12:23:14"
["modified_gmt"]=>
string(19) "2020-04-01T03:23:14"
["slug"]=>
string(145) "vagrant-%e3%81%a7-virtualbox-guest-additions-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/12/07/2152/"
["title"]=>
array(1) {
["rendered"]=>
string(73) "Vagrant で Virtualbox Guest Additions が インストールできない"
}
["content"]=>
array(2) {
["rendered"]=>
string(2146) "
今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
Cent OS 7 を 使って vagrant up しようとしたら カーネルパッケージ が インストールされてない とのエラーが…
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-862.14.4.el7.x86_64
普段は 何も考えずに セットアップが 完了するので 原因が わかるまで 時間がかかってしまいました
VirtualBox の バージョン下げてみたり Vagrant の バージョン下げてみたり とか Plugin を 再インストールしてみたり…
原因は??
原因は とても簡単なものでした
単純に パッケージの配信元が 止まっていたので パッケージを インストールすることが 出来ないだけでした
なので centos.org から カーネルパッケージ を 探してきて インストールすれば OK なはず
パッケージのインストール
yum -y install http://mirror.centos.org/centos/7.5.1804/updates/x86_64/Packages/kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm
これで vagrant reload したら 動くようになりましたとさ
追記 – 2018/12/09
今日 試したところ 問題なく 立ち上げる事が できました
たまたま 止まっている状態にあたってしまっただけでしたね
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(206) "今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(3) {
[0]=>
int(94)
[1]=>
int(97)
[2]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2152"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2152"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2152"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2152"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(3) {
[0]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[1]=>
array(25) {
["id"]=>
int(2080)
["date"]=>
string(19) "2018-11-27T12:00:20"
["date_gmt"]=>
string(19) "2018-11-27T03:00:20"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2080"
}
["modified"]=>
string(19) "2019-02-10T13:51:14"
["modified_gmt"]=>
string(19) "2019-02-10T04:51:14"
["slug"]=>
string(148) "gutenberg-%e3%81%ae-%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%96%e3%83%ad%e3%83%83%e3%82%af-%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/11/27/2080/"
["title"]=>
array(1) {
["rendered"]=>
string(58) "Gutenberg の カスタムブロック を 作ってみる"
}
["content"]=>
array(2) {
["rendered"]=>
string(4683) "
この記事は WordPress Version 5.0 RC 1 の時の記事です。
WordPress 5.0 が そろそろなので カスタムブロック の 作り方 を 勉強しておこうかと思います
なんだかんだ あっという間に WordPress 5.0 RC 1 が リリースされていました
WordPress 5.0 リリース候補
https://ja.wordpress.org/2018/11/24/wordpress-5-0-release-candidate/
そこで Gutenberg の カスタムブロック の 作り方を 軽く覚えておこうと思います
参考資料
Gutenberg Examples を見ながら進めていきます
Gutenberg Examples
https://github.com/WordPress/gutenberg-examples
ただ Docker って 作業しているうちに ゴミファイルが溜まっていく気がして 好きになれないので 私は vagrant で 環境を作りながら 進めていきます
( こちらはこちらで 毎回 OSやら パッケージやらを インストールしないといけないので 無駄が多いですが 消すときに一気に消せるので 好きってだけです )
開発環境
基本的に Gutenberg Examples 通り 作業をすれば 問題なく ビルド出来るかと思います
あまりにもスムーズに ビルド出来てしまったので 記事としては 寂しいものになってしまいました…
逆に ドキュメントとして しっかり メンテナンスされているということ なのですけどね
注意点
babel と babel-loader の バージョンを合わせないといけないので Examples の package.json を 使うと スムーズです
Webpack plugin for Babel
https://github.com/babel/babel-loader#readme
npm i --save-dev babel-core babel-loader@7 babel-preset-env babel-plugin-transform-react-jsx cross-env webpack webpack-cli
Example 04 と Example 05 に 関しては 難しいので よく読んで 理解しないと Example の カスタマイズ すら 苦労します…
コンパイル時 1ファイルずつ出力したい
Example では 1つずつ出力する様に コンパイルコマンドが書いてあるのですが
ソースを 追加するたびに 追加するのは 手間かなと思いました
なので /src/ ディレクトリ内にある jsx 拡張子 の ファイル を
/resources/js/ 以下に 出力するようにしてみました
まずは glob という パッケージを 追加します
npm i --save-dev glob
webpack.config.js を 書き換えます
const path = require('path');
const glob = require('glob');
const entries = {};
glob.sync('./src/*.jsx').map(function (file) {
const key = file.split('/').pop().replace(/\.[^/.]+$/, '');
entries[key] = file;
});
module.exports = {
mode: 'production',
entry: entries,
output: {
path: path.resolve(__dirname, 'resources', 'js'),
filename: '[name].js',
},
module: {
rules: [
{
test: /.jsx$/,
exclude: [
path.resolve(__dirname, 'node_modules'),
],
loader: 'babel-loader',
}
],
},
};
皆さんの環境で 調整して 使ってみてください
また コード間違ってるぞ 等ありましたら 連絡ください
さいごに
Gutenberg Examples に 書いてありますが Gutenberg developer documentation も 参考になるそうです
もっと 複雑なカスタムブロックを作る場合は 一読しておくほうが良いかもしれません
Gutenberg developer documentation
https://wordpress.org/gutenberg/handbook/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(130) "WordPress 5.0 が そろそろなので カスタムブロック の 作り方 を 勉強しておこうかと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(2)
}
["tags"]=>
array(7) {
[0]=>
int(8)
[1]=>
int(99)
[2]=>
int(103)
[3]=>
int(105)
[4]=>
int(97)
[5]=>
int(6)
[6]=>
int(47)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2080"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2080"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2080/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2080"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2080"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2080"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(2)
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(7) {
[0]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(99)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/docker/"
["name"]=>
string(6) "Docker"
["slug"]=>
string(6) "docker"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/99"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=99"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(103)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gutenberg/"
["name"]=>
string(9) "Gutenberg"
["slug"]=>
string(9) "gutenberg"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/103"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=103"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(105)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/react/"
["name"]=>
string(5) "React"
["slug"]=>
string(5) "react"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/105"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=105"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(6)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/customize/"
["name"]=>
string(18) "カスタマイズ"
["slug"]=>
string(9) "customize"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/6"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=6"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[6]=>
array(6) {
["id"]=>
int(47)
["link"]=>
string(50) "https://tekuaru.jack-russell.jp/tag/visual-editor/"
["name"]=>
string(27) "ビジュアルエディタ"
["slug"]=>
string(13) "visual-editor"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/47"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=47"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[2]=>
array(25) {
["id"]=>
int(2025)
["date"]=>
string(19) "2018-09-12T17:33:53"
["date_gmt"]=>
string(19) "2018-09-12T08:33:53"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2025"
}
["modified"]=>
string(19) "2018-09-27T15:02:55"
["modified_gmt"]=>
string(19) "2018-09-27T06:02:55"
["slug"]=>
string(102) "vagrant-%e3%81%a7-mattermost-%e3%82%92-%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%92%e3%81%a6%e3%81%bf%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/09/12/2025/"
["title"]=>
array(1) {
["rendered"]=>
string(48) "Vagrant で Mattermost を 立ち上げてみた"
}
["content"]=>
array(2) {
["rendered"]=>
string(6901) "
今回は Mattermost を 立ち上げます
Bitbucket から Webhook で 通知を受け取る時に ちょっと カスタマイズする必要があったので 今回も ローカル環境に立てて 実験用に使います
更に GitBucket からも Webhook で 通知を受け取れるように したいと 考えていますね
というわけで
Vagrant で GitBucket を 立ち上げてみた
https://tekuaru.jack-russell.jp/2018/08/24/2006/
の 第二弾 となります
Mattermost
Mattermost
https://mattermost.com/
Mattermost は Slack を 意識した オープンソース の チャットツール になります
よく Slackクローン と 言われていますね
では 早速 Vagrant で 立ち上げてみましょう
Vagrantfile
VAGRANT_CONFIGURATION = "2"
VAGRANT_NAME = "mattermost"
VAGRANT_NETWORK = "192.168.33.5"
Vagrant.configure(VAGRANT_CONFIGURATION) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../script/", "/home/vagrant/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
setup.sh
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y update
yum -y upgrade
echo '# mkdir ~/download ---------------------------------------------------------------------------------'
mkdir -p ~/download/
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# curl ---------------------------------------------------------------------------------------------'
yum -y install curl-devel
echo '# MariaDB 10.3 -------------------------------------------------------------------------------------'
mkdir -p /etc/yum.repos.d/
touch /etc/yum.repos.d/mariadb.repo
cat << EOS > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.3 CentOS repository list - created 2018-09-12 04:00 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOS
yum -y install MariaDB-server MariaDB-client
echo '# MariaDB Setup ------------------------------------------------------------------------------------'
systemctl restart mariadb.service
# mysql_secure_installation
mysql -u root -e "CREATE DATABASE mattermost;"
mysql -u root -e "CREATE USER 'mmuser'@'localhost' IDENTIFIED BY 'mmuser-password';"
mysql -u root -e "GRANT ALL PRIVILEGES ON mattermost.* TO 'mmuser'@'localhost' WITH GRANT OPTION;"
mysql -u root -e "FLUSH PRIVILEGES;"
echo '# Mattermost ---------------------------------------------------------------------------------------'
cd ~/download/
curl -L -O https://releases.mattermost.com/5.2.1/mattermost-5.2.1-linux-amd64.tar.gz
tar zxvf mattermost-5.2.1-linux-amd64.tar.gz -C /opt
mkdir /opt/mattermost/data
cd ~/download/
useradd --system --user-group mattermost
chown -R mattermost:mattermost /opt/mattermost
chmod -R g+w /opt/mattermost
sed -i.bak "s/mmuser:mostest@tcp(dockerhost:3306)\/mattermost_test?charset=utf8mb4,utf8\&readTimeout=30s\&writeTimeout=30s/mmuser:mmuser-password@tcp(127.0.0.1:3306)\/mattermost?charset=utf8mb4,utf8\&readTimeout=30s\&writeTimeout=30s/g" /opt/mattermost/config/config.json
touch /etc/systemd/system/mattermost.service
cat << EOS > /etc/systemd/system/mattermost.service
[Unit]
Description=Mattermost
After=syslog.target network.target postgresql-9.4.service
[Service]
Type=notify
WorkingDirectory=/opt/mattermost
User=mattermost
ExecStart=/opt/mattermost/bin/mattermost
PIDFile=/var/spool/mattermost/pid/master.pid
TimeoutStartSec=3600
LimitNOFILE=49152
[Install]
WantedBy=multi-user.target
EOS
chmod 664 /etc/systemd/system/mattermost.service
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# MariaDB restart ----------------------------------------------------------------------------------'
systemctl enable mariadb.service
systemctl restart mariadb.service
echo '# Mattermost restart -------------------------------------------------------------------------------'
systemctl enable mattermost
systemctl restart mattermost
今回は MariaDB で Mattermost を 動かしています
vagrant up すると
Mattermost ローカル環境 (vagrant-hostsupdater 使用)
http://mattermost:8065/
で アクセス することができます
感想
今回も サクッと 環境を作ることができました
ファイルを 展開して アプリケーションを動かすタイプなので アップデートを行うのも 一苦労そうです…
Upgrading Mattermost Server ‐ Mattermost 5.2 documentationを参考にさせていただきました。
https://docs.mattermost.com/administration/upgrade.html
こちらに ドキュメント が ありますが 僕には難しそう…
vagrant にて 何度か トライしてみて sh を 作ってみないと 怖いですね…
Bitbucket から Webhook が うまく行ったら その時は また記事を書くかもしれません
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(259) "今回は Mattermost を 立ち上げます Bitbucket から Webhook で 通知を受け取る時に ちょっと カスタマイズする必要があったので 今回も ローカル環境に立てて 実験用に使います 更に GitB […]
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(113)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2025"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2025"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2025/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2025"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2025"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2025"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(113)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/mattermost/"
["name"]=>
string(10) "Mattermost"
["slug"]=>
string(10) "mattermost"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/113"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=113"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[3]=>
array(25) {
["id"]=>
int(2006)
["date"]=>
string(19) "2018-08-24T16:19:19"
["date_gmt"]=>
string(19) "2018-08-24T07:19:19"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2006"
}
["modified"]=>
string(19) "2018-09-27T15:02:33"
["modified_gmt"]=>
string(19) "2018-09-27T06:02:33"
["slug"]=>
string(101) "vagrant-%e3%81%a7-gitbucket-%e3%82%92-%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%92%e3%81%a6%e3%81%bf%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/08/24/2006/"
["title"]=>
array(1) {
["rendered"]=>
string(47) "Vagrant で GitBucket を 立ち上げてみた"
}
["content"]=>
array(2) {
["rendered"]=>
string(5635) "
自社サーバに アプリを インストールして 使うことが増えてきたので
まずは Vagrant で テスト運用してみようかと 思ったわけです
今回は GitBucket を 立ち上げてみたいと思います
docker で やればいいじゃん とか いろいろ有りそうですが 僕は 基本的に Vagrant を 使っていますね
docker って ボケッと 使ってると リビジョンが溜まっていたり コンテナ が 停止していなかったり 等
汚れていく イメージが強くて あまり好きになれないのですよね…
今回は そんな話ではなくて GitBucket ですよ!!
GitBucket
GitBucket
https://gitbucket.github.io/
Scala で 書かれており Javaの実行環境である JVM で動作します
有名所だと GitLab だと思うのですが
GitLab
https://about.gitlab.com/
ググってみると 機能豊富な分だけ スペックを要求する と あったので 今回は GitBucket を 採用しました
では 早速 Vagrant で 立ち上げてみましょう
Vagrantfile
VAGRANT_CONFIGURATION = "2"
VAGRANT_NAME = "gitbucket"
VAGRANT_NETWORK = "192.168.33.5"
Vagrant.configure(VAGRANT_CONFIGURATION) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../script/", "/home/vagrant/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
setup.sh
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y upgrade
echo '# mkdir ~/download ---------------------------------------------------------------------------------'
mkdir -p ~/download/
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# apache java tomcat wget --------------------------------------------------------------------------'
yum -y install httpd java-1.8.0-openjdk tomcat wget
echo '# GitBucket ----------------------------------------------------------------------------------------'
wget -P /usr/share/tomcat/webapps/ https://github.com/gitbucket/gitbucket/releases/download/4.27.0/gitbucket.war
echo '# MariaDB 10.3 -------------------------------------------------------------------------------------'
mkdir -p /etc/yum.repos.d/
touch /etc/yum.repos.d/mariadb.repo
cat << EOS > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.3 CentOS repository list - created 2018-07-03 02:29 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOS
yum -y install MariaDB-server MariaDB-client
echo '# git ----------------------------------------------------------------------------------------------'
cd ~/download/
yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
wget https://www.kernel.org/pub/software/scm/git/git-2.18.0.tar.gz
tar xzvf git-2.18.0.tar.gz
cd git-2.18.0
make prefix=/usr/local all
make prefix=/usr/local install
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# apache restart -----------------------------------------------------------------------------------'
systemctl enable httpd
systemctl restart httpd
echo '# tomcat restart -----------------------------------------------------------------------------------'
systemctl enable tomcat
systemctl restart tomcat
今回は apache openjdk tomcat という 構成で GitBucket を 動かしています
vagrant up すると
GitBucket ローカル環境 (vagrant-hostsupdater 使用)
http://gitbucket:8080/gitbucket/
で アクセス することができます
感想
サクッと 環境を作ることができました
クラウドサービスを 使うまでもない 自分のPCでしか管理していない ファイル達を 管理して 使ってみようと思います
Git の 練習 にも 良いかもしれませんね!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(246) "自社サーバに アプリを インストールして 使うことが増えてきたので まずは Vagrant で テスト運用してみようかと 思ったわけです 今回は GitBucket を 立ち上げてみたいと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(111)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2006"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2006"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2006/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2006"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2006"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2006"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(111)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gitbucket/"
["name"]=>
string(9) "GitBucket"
["slug"]=>
string(9) "gitbucket"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/111"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=111"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[4]=>
array(25) {
["id"]=>
int(1833)
["date"]=>
string(19) "2018-05-15T15:15:08"
["date_gmt"]=>
string(19) "2018-05-15T06:15:08"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=1833"
}
["modified"]=>
string(19) "2018-05-15T15:15:08"
["modified_gmt"]=>
string(19) "2018-05-15T06:15:08"
["slug"]=>
string(172) "vagrant-up-%e6%99%82%e3%81%ab-synced_folder-%e3%81%8c-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%a6-%e5%9b%b0%e3%81%a3%e3%81%9f%e8%a9%b1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/05/15/1833/"
["title"]=>
array(1) {
["rendered"]=>
string(76) "vagrant up 時に synced_folder が マウントできなくて 困った話"
}
["content"]=>
array(2) {
["rendered"]=>
string(3598) "この記事は 2018年 5月 15日 に書かれた記事です。
普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが
新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_folder が マウントできなくなった
普段は vagrant-vbguest が 勝手に Guest Additions を インストール してくれるのだが 今回は ちょっと 様子が違った…
An error occurred during installation of VirtualBox Guest Additions 5.2.12. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
なんてエラーが出て 上手くインストールができなかったみたいだ…
==> default: Mounting shared folders...
default: /var/www/html => /Users/jackrussell/repository/tekuaru/html
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o dmode=777,fmode=777,uid=1000,gid=1000 var_www_html_ /var/www/html
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
ってな感じで 止まってしまいました
コンソールのログを眺めていたら
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
ふむふむ ふむふむ ふむふむ って わかるかぁ!! ヽ(`Д´)ノ
というわけで グーグル翻訳してみたところ
このシステムは現在、カーネルモジュールを構築するように設定されていません。
現在のカーネルと一致するLinuxカーネル "ヘッダ"ファイルをインストールしてください
新しいハードウェアサポートをシステムに追加するためのものです。
ヘッダーを含む配布パッケージはおそらく次のとおりです。
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
とのこと
翻訳しても ちょっと 何言ってるかわからなかったので
とりあえず パッケージすべてを アップデートしてみます
vagrant$ vagrant ssh
[vagrant@tekuaru ~]$ sudo yum -y update
[vagrant@tekuaru ~]$ exit
vagrant$ vagrant reload
vagrant 環境に SSH 接続して yum update して 再起動!!
すると 無事 起動できましたとさ!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(237) "普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが 新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_ […]
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(97)
[1]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1833"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1833"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1833"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1833"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[5]=>
array(25) {
["id"]=>
int(1694)
["date"]=>
string(19) "2018-04-27T12:00:09"
["date_gmt"]=>
string(19) "2018-04-27T03:00:09"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1694"
}
["modified"]=>
string(19) "2018-08-16T16:55:37"
["modified_gmt"]=>
string(19) "2018-08-16T07:55:37"
["slug"]=>
string(100) "react-%e3%82%92-%e8%a7%a6%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/04/27/1694/"
["title"]=>
array(1) {
["rendered"]=>
string(46) "React を 触ってみた (1) – 開発環境"
}
["content"]=>
array(2) {
["rendered"]=>
string(3583) "この記事は 2018年 4月 27日 に書かれた記事です。
最終目標としては React + Redux + babel + webpack という環境 (??) で このブログのデータを 引っ張ってくる と言うものを作ってみようと思います
まずは 開発環境を vagrant で 作成しようと思います
開発環境作成
開発環境は vagrant で 作成しました
ディレクトリ構成は
react-vagrant
-> html
-> vagrant
-> [Vagrantfile]
と しています
Vagrantfile には
apache と node.js と npm を インストール するように記述しておきます
Vagrantfile
VAGRANT_NAME = "react"
VAGRANT_NETWORK = "192.168.33.20"
Vagrant.configure("2") do |config|
config.vm.hostname = VAGRANT_NAME
config.vm.box = "centos/7"
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", inline: <<-SHELL
echo '# firewalld disable --------------------------------------------------------------------------------'
systemctl stop firewalld
systemctl disable firewalld
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum update -y
echo '# nodejs & npm -------------------------------------------------------------------------------------'
yum install -y epel-release
yum install -y openssl
yum install -y nodejs npm
echo '# apache -------------------------------------------------------------------------------------------'
yum install -y httpd
systemctl start httpd
systemctl enable httpd.service
SHELL
end
vagrant ディレクトリに移動してから
cd ~/react-vagrant/vagrant/
Vagrant で 環境を作成します
vagrant up
ssh 接続します
vagrant ssh
開発環境
まずは react ディレクトリで 開発を進めようと思うので
対象のディレクトリに移動してから
cd /var/www/html/
npm で パッケージを 管理するための 初期化処理を行います
対話式なので 質問に答えていけば OKです
npm init
質問に答え終わると package.json が 作成されます
とりあえず 今回は ここまでということで!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(194) "最終目標としては React + Redux + babel + webpack という環境 (??) で このブログのデータを 引っ張ってくる と言うものを作ってみようと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(25)
}
["tags"]=>
array(2) {
[0]=>
int(105)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1694"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1694"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1694/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1694"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1694"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1694"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(25)
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/category/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/25"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=25"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(105)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/react/"
["name"]=>
string(5) "React"
["slug"]=>
string(5) "react"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/105"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=105"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[6]=>
array(25) {
["id"]=>
int(1472)
["date"]=>
string(19) "2017-09-10T03:11:23"
["date_gmt"]=>
string(19) "2017-09-09T18:11:23"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1472"
}
["modified"]=>
string(19) "2018-08-16T16:35:10"
["modified_gmt"]=>
string(19) "2018-08-16T07:35:10"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-2"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1472/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(7208) "この記事は 2017年 9月 10日 に書かれた記事です。
今まで 面倒くさかったので MAMP で 済ませていましたが
気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
仮想環境作成
Vagrant コマンドが使えるようになったので 実際に 環境を 作っていきます
ディレクトリ構造
参考までに 僕の ディレクトリ構造 は
Repository
- tekuaru
- html
- script
- vagrant
みたいにしています
tekuaru を Git 管理しているので そのディレクトリに .git とか .gitignore とか README.md とかが置かれていますが とりあえず そんな感じです
これで このリポジトリを 共有すれば 他の誰かとも 同じ環境で 作業することが出来ますね
ここが 最大の 利点ですよね!!
例えば 開発する環境がわかれば 全く同じ環境を 作り出すことができて git で 共有まで出来てしまうのですよ
しかも 共有された方は vagrant up するだけで 同じ環境が 出来てしまいます
CentOS 7
今回は 特に 何も決めていないので CentOS 7 を 選びました
Vagrant box centos/7
https://app.vagrantup.com/centos/boxes/7
vagrant ディレクトリに 移動したあと 上記 URL の Newタブ の 内容通り 実行しました
これで CentOS 7 の 仮想環境 が 作れます!!
LAMP ( CentOS Apache MariaDB PHP ) へ
CentOS 7 の 仮想環境 が 作れたところで 一回 仮想環境を 破棄して 一気に LAMP の 環境が立ち上がる 設定紹介 です
PHP は 7.1 で DB は MariaDB です
今回は お試しの 環境構築なので 参考にしてみてください
より良い設定がありましたら 教えてください!!
$ vagrant destroy
このコマンドで 仮想環境を 破棄できます
vagrant ディレクトリ に Vagrantfile という ファイルが出来ているかと思います
これが 設定ファイル です
僕は この設定を 以下のようにしました
VAGRANT_NAME = "sample"
VAGRANT_NETWORK = "192.168.33.10"
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.synced_folder "../script/", "/var/www/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
仮想環境 の 名前 と ネットワーク を 変えやすいように 変数に入れて 使い回ししやすいようにしました
そして html と script を シンク するようにしたので このディレクトリに ファイルを入れると 仮想環境 にも ファイルがあります
さらに vagrant ディレクトリ に setup.sh を 作成して
echo '# firewalld disable --------------------------------------------------------------------------------'
systemctl stop firewalld
systemctl disable firewalld
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# remi ---------------------------------------------------------------------------------------------'
yum -y install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y update
echo '# PHP7.1 -------------------------------------------------------------------------------------------'
yum -y install --enablerepo=remi,remi-php71 --skip-broken php php-fpm php-cli php-common php-dba php-devel php-gd php-intl php-json php-mbstring php-mcrypt php-mysql php-pdo php-pear php-pecl-apc php-pecl-apc-devel php-pecl-imagick php-pecl-memcache php-pecl-memcached php-pecl-oauth php-pecl-xdebug php-pgsql php-soap php-xml php-xmlrpc
sed -i.bak "/AllowOverride/s/None/All/g" /etc/httpd/conf/httpd.conf
echo '# apache -------------------------------------------------------------------------------------------'
yum -y install httpd
systemctl start httpd
systemctl enable httpd.service
echo '# MariaDB ------------------------------------------------------------------------------------------'
yum -y install mariadb mariadb-server
systemctl start mariadb.service
systemctl enable mariadb.service
echo '# SQLite3 ------------------------------------------------------------------------------------------'
yum -y install sqlite
echo '# zip unzip ----------------------------------------------------------------------------------------'
yum -y install zip unzip
echo '# Composer -----------------------------------------------------------------------------------------'
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
echo '# WP-CLI -------------------------------------------------------------------------------------------'
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
と しました
上から順にザックリ説明しますと
ファイヤーウォール を 切って
アクセス制御機能 を 切って
remi パッケージをインストール
yum を アップデート
PHP7.1 を インストール
apache を インストール
MariaDB を インストール
WordPress用に ユーザと DB を 作成
SQLite3 を インストール
Composer を インストール
WP-CLI を インストール
ってな 感じです
仮想環境完成
これで 仮想環境 の 完成 です
cakePHP とか WordPress が 動くかと思います
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(182) "今まで 面倒くさかったので MAMP で 済ませていましたが 気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1472"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1472"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1472"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1472"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[7]=>
array(25) {
["id"]=>
int(1463)
["date"]=>
string(19) "2017-09-10T03:10:35"
["date_gmt"]=>
string(19) "2017-09-09T18:10:35"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1463"
}
["modified"]=>
string(19) "2018-08-16T16:36:08"
["modified_gmt"]=>
string(19) "2018-08-16T07:36:08"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1463/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 1 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(2961) "この記事は 2017年 9月 10日 に書かれた記事です。
今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!!
設定等は ( 2 ) を 見てください
まずは Vagrant を 使えるまでの 環境作成を この記事で 書きます
ただ 僕が 作業している環境は Mac なので Mac での 手順を 記述しています
といっても 難しい事はなくて インストーラーを ダウンロードして インストールするだけなので Windows でも 大差はないと思います!!
Oracle VM VirtualBox
Vagrant 自体は 仮想環境 を 作る機能はなくて VirtualBox を 使って 環境 を 作成します
というわけで まずは VirtualBox を ダウンロード して インストール
Oracle VM VirtualBox
https://www.virtualbox.org/
Vagrant
続いて Vagrant です
Vagrant は VirtualBox で OSは?? HDDは?? メモリは?? 等々 設定する事を 設定ファイルにまとめておいて それを元に セットアップしてくれます
というわけで Vagrant も ダウンロード して インストール
Vagrant
https://www.vagrantup.com/
Vagrant Plugin
Vagrant が 無事 インストール 出来たら より便利に使う為に プラグインを インストールします
ターミナルを 開いて 3つの コマンドを打ちます
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostsupdater
$ vagrant plugin update
ザックリ 上から順に
VirtualBox Guest Additions が Box に なかったら インストールする
ホスツ を 書き換えて ローカルドメイン で ブラウザで 見られるようにする
プラグインのアップデート
です
最後に
これで Vagrant を 使う環境 が 出来ました!!
次は 実際に 仮想環境を 立ち上げて CentOS Apache MariaDB PHP の 環境を 作っていきます
今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )
https://tekuaru.jack-russell.jp/2017/09/10/1472/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(161) "今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!! 設定等は ( 2 ) を 見てください
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1463"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1463"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1463"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1463"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
}
array(5) {
[0]=>
array(25) {
["id"]=>
int(2266)
["date"]=>
string(19) "2019-05-23T12:00:46"
["date_gmt"]=>
string(19) "2019-05-23T03:00:46"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2266"
}
["modified"]=>
string(19) "2020-04-01T12:29:00"
["modified_gmt"]=>
string(19) "2020-04-01T03:29:00"
["slug"]=>
string(117) "virtualbox-6-0-8-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2019/05/23/2266/"
["title"]=>
array(1) {
["rendered"]=>
string(54) "VirtualBox 6.0.8 が インストールできない…"
}
["content"]=>
array(2) {
["rendered"]=>
string(1342) "
システム整合性保護と競合するようで インストールが できない事があるようです
ただし SIP を 無効 に する事で インストールが できます
今まで そんな事をしなくても インストール 出来ただけに ちょっと 怖いですよね…
とりあえず インストール方法 を 記しておきます
SIP を 無効化
- Mac の 電源を切る
- コマンド + R を押しながら Macを起動
- ターミナルを起動
- csrutil disable と入力して SIP を 無効化する
- 再起動
VirtualBox の インストール
システム整合性保護と競合するようで インストールが できない事があるようです ただし SIP を 無効 に する事で インストールが できます
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(1) { [0]=> int(98) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2266" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2266" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2266/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2266" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2266" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2266" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(1) { [0]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } [1]=> array(25) { ["id"]=> int(2152) ["date"]=> string(19) "2018-12-07T15:20:32" ["date_gmt"]=> string(19) "2018-12-07T06:20:32" ["guid"]=> array(1) { ["rendered"]=> string(39) "https://tekuaru.jack-russell.jp/?p=2152" } ["modified"]=> string(19) "2020-04-01T12:23:14" ["modified_gmt"]=> string(19) "2020-04-01T03:23:14" ["slug"]=> string(145) "vagrant-%e3%81%a7-virtualbox-guest-additions-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84" ["status"]=> string(7) "publish" ["type"]=> string(4) "post" ["link"]=> string(48) "https://tekuaru.jack-russell.jp/2018/12/07/2152/" ["title"]=> array(1) { ["rendered"]=> string(73) "Vagrant で Virtualbox Guest Additions が インストールできない" } ["content"]=> array(2) { ["rendered"]=> string(2146) "今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
Cent OS 7 を 使って vagrant up しようとしたら カーネルパッケージ が インストールされてない とのエラーが…
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-862.14.4.el7.x86_64
普段は 何も考えずに セットアップが 完了するので 原因が わかるまで 時間がかかってしまいました
VirtualBox の バージョン下げてみたり Vagrant の バージョン下げてみたり とか Plugin を 再インストールしてみたり…
原因は とても簡単なものでした
単純に パッケージの配信元が 止まっていたので パッケージを インストールすることが 出来ないだけでした
なので centos.org から カーネルパッケージ を 探してきて インストールすれば OK なはず
yum -y install http://mirror.centos.org/centos/7.5.1804/updates/x86_64/Packages/kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm
これで vagrant reload したら 動くようになりましたとさ
今日 試したところ 問題なく 立ち上げる事が できました
たまたま 止まっている状態にあたってしまっただけでしたね
" ["protected"]=> bool(false) } ["excerpt"]=> array(2) { ["rendered"]=> string(206) "今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(3) { [0]=> int(94) [1]=> int(97) [2]=> int(98) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2152" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2152" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2152" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2152" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(3) { [0]=> array(6) { ["id"]=> int(94) ["link"]=> string(43) "https://tekuaru.jack-russell.jp/tag/centos/" ["name"]=> string(6) "CentOS" ["slug"]=> string(6) "centos" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [1]=> array(6) { ["id"]=> int(97) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/" ["name"]=> string(7) "Vagrant" ["slug"]=> string(7) "vagrant" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [2]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } [2]=> array(25) { ["id"]=> int(1833) ["date"]=> string(19) "2018-05-15T15:15:08" ["date_gmt"]=> string(19) "2018-05-15T06:15:08" ["guid"]=> array(1) { ["rendered"]=> string(39) "https://tekuaru.jack-russell.jp/?p=1833" } ["modified"]=> string(19) "2018-05-15T15:15:08" ["modified_gmt"]=> string(19) "2018-05-15T06:15:08" ["slug"]=> string(172) "vagrant-up-%e6%99%82%e3%81%ab-synced_folder-%e3%81%8c-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%a6-%e5%9b%b0%e3%81%a3%e3%81%9f%e8%a9%b1" ["status"]=> string(7) "publish" ["type"]=> string(4) "post" ["link"]=> string(48) "https://tekuaru.jack-russell.jp/2018/05/15/1833/" ["title"]=> array(1) { ["rendered"]=> string(76) "vagrant up 時に synced_folder が マウントできなくて 困った話" } ["content"]=> array(2) { ["rendered"]=> string(3598) "普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが
新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_folder が マウントできなくなった
普段は vagrant-vbguest が 勝手に Guest Additions を インストール してくれるのだが 今回は ちょっと 様子が違った…
An error occurred during installation of VirtualBox Guest Additions 5.2.12. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed.
なんてエラーが出て 上手くインストールができなかったみたいだ…
==> default: Mounting shared folders...
default: /var/www/html => /Users/jackrussell/repository/tekuaru/html
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o dmode=777,fmode=777,uid=1000,gid=1000 var_www_html_ /var/www/html
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
ってな感じで 止まってしまいました
コンソールのログを眺めていたら
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
ふむふむ ふむふむ ふむふむ って わかるかぁ!! ヽ(`Д´)ノ
というわけで グーグル翻訳してみたところ
このシステムは現在、カーネルモジュールを構築するように設定されていません。 現在のカーネルと一致するLinuxカーネル "ヘッダ"ファイルをインストールしてください 新しいハードウェアサポートをシステムに追加するためのものです。 ヘッダーを含む配布パッケージはおそらく次のとおりです。 kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
とのこと
翻訳しても ちょっと 何言ってるかわからなかったので
とりあえず パッケージすべてを アップデートしてみます
vagrant$ vagrant ssh [vagrant@tekuaru ~]$ sudo yum -y update [vagrant@tekuaru ~]$ exit vagrant$ vagrant reload
vagrant 環境に SSH 接続して yum update して 再起動!!
すると 無事 起動できましたとさ!!
" ["protected"]=> bool(false) } ["excerpt"]=> array(2) { ["rendered"]=> string(237) "普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが 新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_ […]
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(2) { [0]=> int(97) [1]=> int(98) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1833" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1833" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1833" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1833" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(2) { [0]=> array(6) { ["id"]=> int(97) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/" ["name"]=> string(7) "Vagrant" ["slug"]=> string(7) "vagrant" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [1]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } [3]=> array(25) { ["id"]=> int(1472) ["date"]=> string(19) "2017-09-10T03:11:23" ["date_gmt"]=> string(19) "2017-09-09T18:11:23" ["guid"]=> array(1) { ["rendered"]=> string(38) "http://tekuaru.jack-russell.jp/?p=1472" } ["modified"]=> string(19) "2018-08-16T16:35:10" ["modified_gmt"]=> string(19) "2018-08-16T07:35:10" ["slug"]=> string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-2" ["status"]=> string(7) "publish" ["type"]=> string(4) "post" ["link"]=> string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1472/" ["title"]=> array(1) { ["rendered"]=> string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )" } ["content"]=> array(2) { ["rendered"]=> string(7208) "今まで 面倒くさかったので MAMP で 済ませていましたが
気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
Vagrant コマンドが使えるようになったので 実際に 環境を 作っていきます
参考までに 僕の ディレクトリ構造 は
Repository
- tekuaru
- html
- script
- vagrant
みたいにしています
tekuaru を Git 管理しているので そのディレクトリに .git とか .gitignore とか README.md とかが置かれていますが とりあえず そんな感じです
これで このリポジトリを 共有すれば 他の誰かとも 同じ環境で 作業することが出来ますね
ここが 最大の 利点ですよね!!
例えば 開発する環境がわかれば 全く同じ環境を 作り出すことができて git で 共有まで出来てしまうのですよ
しかも 共有された方は vagrant up するだけで 同じ環境が 出来てしまいます
今回は 特に 何も決めていないので CentOS 7 を 選びました
Vagrant box centos/7
https://app.vagrantup.com/centos/boxes/7
vagrant ディレクトリに 移動したあと 上記 URL の Newタブ の 内容通り 実行しました
これで CentOS 7 の 仮想環境 が 作れます!!
CentOS 7 の 仮想環境 が 作れたところで 一回 仮想環境を 破棄して 一気に LAMP の 環境が立ち上がる 設定紹介 です
PHP は 7.1 で DB は MariaDB です
今回は お試しの 環境構築なので 参考にしてみてください
より良い設定がありましたら 教えてください!!
$ vagrant destroy
このコマンドで 仮想環境を 破棄できます
vagrant ディレクトリ に Vagrantfile という ファイルが出来ているかと思います
これが 設定ファイル です
僕は この設定を 以下のようにしました
VAGRANT_NAME = "sample"
VAGRANT_NETWORK = "192.168.33.10"
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.synced_folder "../script/", "/var/www/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
仮想環境 の 名前 と ネットワーク を 変えやすいように 変数に入れて 使い回ししやすいようにしました
そして html と script を シンク するようにしたので このディレクトリに ファイルを入れると 仮想環境 にも ファイルがあります
さらに vagrant ディレクトリ に setup.sh を 作成して
echo '# firewalld disable --------------------------------------------------------------------------------' systemctl stop firewalld systemctl disable firewalld echo '# SELinux disable ----------------------------------------------------------------------------------' setenforce 0 sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config echo '# remi ---------------------------------------------------------------------------------------------' yum -y install epel-release rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm echo '# yum ----------------------------------------------------------------------------------------------' yum -y update echo '# PHP7.1 -------------------------------------------------------------------------------------------' yum -y install --enablerepo=remi,remi-php71 --skip-broken php php-fpm php-cli php-common php-dba php-devel php-gd php-intl php-json php-mbstring php-mcrypt php-mysql php-pdo php-pear php-pecl-apc php-pecl-apc-devel php-pecl-imagick php-pecl-memcache php-pecl-memcached php-pecl-oauth php-pecl-xdebug php-pgsql php-soap php-xml php-xmlrpc sed -i.bak "/AllowOverride/s/None/All/g" /etc/httpd/conf/httpd.conf echo '# apache -------------------------------------------------------------------------------------------' yum -y install httpd systemctl start httpd systemctl enable httpd.service echo '# MariaDB ------------------------------------------------------------------------------------------' yum -y install mariadb mariadb-server systemctl start mariadb.service systemctl enable mariadb.service echo '# SQLite3 ------------------------------------------------------------------------------------------' yum -y install sqlite echo '# zip unzip ----------------------------------------------------------------------------------------' yum -y install zip unzip echo '# Composer -----------------------------------------------------------------------------------------' curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer echo '# WP-CLI -------------------------------------------------------------------------------------------' curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x wp-cli.phar mv wp-cli.phar /usr/local/bin/wp
と しました
上から順にザックリ説明しますと
ファイヤーウォール を 切って
アクセス制御機能 を 切って
remi パッケージをインストール
yum を アップデート
PHP7.1 を インストール
apache を インストール
MariaDB を インストール
WordPress用に ユーザと DB を 作成
SQLite3 を インストール
Composer を インストール
WP-CLI を インストール
ってな 感じです
これで 仮想環境 の 完成 です
cakePHP とか WordPress が 動くかと思います
" ["protected"]=> bool(false) } ["excerpt"]=> array(2) { ["rendered"]=> string(182) "今まで 面倒くさかったので MAMP で 済ませていましたが 気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(6) { [0]=> int(95) [1]=> int(94) [2]=> int(96) [3]=> int(97) [4]=> int(98) [5]=> int(4) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1472" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1472" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1472" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1472" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(6) { [0]=> array(6) { ["id"]=> int(95) ["link"]=> string(43) "https://tekuaru.jack-russell.jp/tag/apache/" ["name"]=> string(6) "Apache" ["slug"]=> string(6) "apache" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [1]=> array(6) { ["id"]=> int(94) ["link"]=> string(43) "https://tekuaru.jack-russell.jp/tag/centos/" ["name"]=> string(6) "CentOS" ["slug"]=> string(6) "centos" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [2]=> array(6) { ["id"]=> int(96) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/" ["name"]=> string(7) "MariaDB" ["slug"]=> string(7) "mariadb" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [3]=> array(6) { ["id"]=> int(97) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/" ["name"]=> string(7) "Vagrant" ["slug"]=> string(7) "vagrant" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [4]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [5]=> array(6) { ["id"]=> int(4) ["link"]=> string(45) "https://tekuaru.jack-russell.jp/tag/database/" ["name"]=> string(18) "データベース" ["slug"]=> string(8) "database" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } [4]=> array(25) { ["id"]=> int(1463) ["date"]=> string(19) "2017-09-10T03:10:35" ["date_gmt"]=> string(19) "2017-09-09T18:10:35" ["guid"]=> array(1) { ["rendered"]=> string(38) "http://tekuaru.jack-russell.jp/?p=1463" } ["modified"]=> string(19) "2018-08-16T16:36:08" ["modified_gmt"]=> string(19) "2018-08-16T07:36:08" ["slug"]=> string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1" ["status"]=> string(7) "publish" ["type"]=> string(4) "post" ["link"]=> string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1463/" ["title"]=> array(1) { ["rendered"]=> string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 1 )" } ["content"]=> array(2) { ["rendered"]=> string(2961) "今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!!
設定等は ( 2 ) を 見てください
まずは Vagrant を 使えるまでの 環境作成を この記事で 書きます
ただ 僕が 作業している環境は Mac なので Mac での 手順を 記述しています
といっても 難しい事はなくて インストーラーを ダウンロードして インストールするだけなので Windows でも 大差はないと思います!!
Vagrant 自体は 仮想環境 を 作る機能はなくて VirtualBox を 使って 環境 を 作成します
というわけで まずは VirtualBox を ダウンロード して インストール
Oracle VM VirtualBox
https://www.virtualbox.org/
続いて Vagrant です
Vagrant は VirtualBox で OSは?? HDDは?? メモリは?? 等々 設定する事を 設定ファイルにまとめておいて それを元に セットアップしてくれます
というわけで Vagrant も ダウンロード して インストール
Vagrant
https://www.vagrantup.com/
Vagrant が 無事 インストール 出来たら より便利に使う為に プラグインを インストールします
ターミナルを 開いて 3つの コマンドを打ちます
$ vagrant plugin install vagrant-vbguest $ vagrant plugin install vagrant-hostsupdater $ vagrant plugin update
ザックリ 上から順に
VirtualBox Guest Additions が Box に なかったら インストールする
ホスツ を 書き換えて ローカルドメイン で ブラウザで 見られるようにする
プラグインのアップデート
です
これで Vagrant を 使う環境 が 出来ました!!
次は 実際に 仮想環境を 立ち上げて CentOS Apache MariaDB PHP の 環境を 作っていきます
今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )" ["protected"]=> bool(false) } ["excerpt"]=> array(2) { ["rendered"]=> string(161) "
https://tekuaru.jack-russell.jp/2017/09/10/1472/
今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!! 設定等は ( 2 ) を 見てください
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(6) { [0]=> int(95) [1]=> int(94) [2]=> int(96) [3]=> int(97) [4]=> int(98) [5]=> int(4) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1463" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1463" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1463" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1463" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(6) { [0]=> array(6) { ["id"]=> int(95) ["link"]=> string(43) "https://tekuaru.jack-russell.jp/tag/apache/" ["name"]=> string(6) "Apache" ["slug"]=> string(6) "apache" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [1]=> array(6) { ["id"]=> int(94) ["link"]=> string(43) "https://tekuaru.jack-russell.jp/tag/centos/" ["name"]=> string(6) "CentOS" ["slug"]=> string(6) "centos" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [2]=> array(6) { ["id"]=> int(96) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/" ["name"]=> string(7) "MariaDB" ["slug"]=> string(7) "mariadb" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [3]=> array(6) { ["id"]=> int(97) ["link"]=> string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/" ["name"]=> string(7) "Vagrant" ["slug"]=> string(7) "vagrant" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [4]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } [5]=> array(6) { ["id"]=> int(4) ["link"]=> string(45) "https://tekuaru.jack-russell.jp/tag/database/" ["name"]=> string(18) "データベース" ["slug"]=> string(8) "database" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } }array(13) {
[0]=>
array(25) {
["id"]=>
int(1463)
["date"]=>
string(19) "2017-09-10T03:10:35"
["date_gmt"]=>
string(19) "2017-09-09T18:10:35"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1463"
}
["modified"]=>
string(19) "2018-08-16T16:36:08"
["modified_gmt"]=>
string(19) "2018-08-16T07:36:08"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1463/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 1 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(2961) "この記事は 2017年 9月 10日 に書かれた記事です。
今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!!
設定等は ( 2 ) を 見てください
まずは Vagrant を 使えるまでの 環境作成を この記事で 書きます
ただ 僕が 作業している環境は Mac なので Mac での 手順を 記述しています
といっても 難しい事はなくて インストーラーを ダウンロードして インストールするだけなので Windows でも 大差はないと思います!!
Oracle VM VirtualBox
Vagrant 自体は 仮想環境 を 作る機能はなくて VirtualBox を 使って 環境 を 作成します
というわけで まずは VirtualBox を ダウンロード して インストール
Oracle VM VirtualBox
https://www.virtualbox.org/
Vagrant
続いて Vagrant です
Vagrant は VirtualBox で OSは?? HDDは?? メモリは?? 等々 設定する事を 設定ファイルにまとめておいて それを元に セットアップしてくれます
というわけで Vagrant も ダウンロード して インストール
Vagrant
https://www.vagrantup.com/
Vagrant Plugin
Vagrant が 無事 インストール 出来たら より便利に使う為に プラグインを インストールします
ターミナルを 開いて 3つの コマンドを打ちます
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostsupdater
$ vagrant plugin update
ザックリ 上から順に
VirtualBox Guest Additions が Box に なかったら インストールする
ホスツ を 書き換えて ローカルドメイン で ブラウザで 見られるようにする
プラグインのアップデート
です
最後に
これで Vagrant を 使う環境 が 出来ました!!
次は 実際に 仮想環境を 立ち上げて CentOS Apache MariaDB PHP の 環境を 作っていきます
今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )
https://tekuaru.jack-russell.jp/2017/09/10/1472/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(161) "今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!! 設定等は ( 2 ) を 見てください
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1463"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1463"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1463"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1463"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[1]=>
array(25) {
["id"]=>
int(1463)
["date"]=>
string(19) "2017-09-10T03:10:35"
["date_gmt"]=>
string(19) "2017-09-09T18:10:35"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1463"
}
["modified"]=>
string(19) "2018-08-16T16:36:08"
["modified_gmt"]=>
string(19) "2018-08-16T07:36:08"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1463/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 1 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(2961) "この記事は 2017年 9月 10日 に書かれた記事です。
今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!!
設定等は ( 2 ) を 見てください
まずは Vagrant を 使えるまでの 環境作成を この記事で 書きます
ただ 僕が 作業している環境は Mac なので Mac での 手順を 記述しています
といっても 難しい事はなくて インストーラーを ダウンロードして インストールするだけなので Windows でも 大差はないと思います!!
Oracle VM VirtualBox
Vagrant 自体は 仮想環境 を 作る機能はなくて VirtualBox を 使って 環境 を 作成します
というわけで まずは VirtualBox を ダウンロード して インストール
Oracle VM VirtualBox
https://www.virtualbox.org/
Vagrant
続いて Vagrant です
Vagrant は VirtualBox で OSは?? HDDは?? メモリは?? 等々 設定する事を 設定ファイルにまとめておいて それを元に セットアップしてくれます
というわけで Vagrant も ダウンロード して インストール
Vagrant
https://www.vagrantup.com/
Vagrant Plugin
Vagrant が 無事 インストール 出来たら より便利に使う為に プラグインを インストールします
ターミナルを 開いて 3つの コマンドを打ちます
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostsupdater
$ vagrant plugin update
ザックリ 上から順に
VirtualBox Guest Additions が Box に なかったら インストールする
ホスツ を 書き換えて ローカルドメイン で ブラウザで 見られるようにする
プラグインのアップデート
です
最後に
これで Vagrant を 使う環境 が 出来ました!!
次は 実際に 仮想環境を 立ち上げて CentOS Apache MariaDB PHP の 環境を 作っていきます
今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )
https://tekuaru.jack-russell.jp/2017/09/10/1472/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(161) "今更感があるのですが Vagrant を 触ってみて 楽しかったので ちょっと 備忘録的な!! 設定等は ( 2 ) を 見てください
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1463"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1463/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1463"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1463"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1463"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[2]=>
array(25) {
["id"]=>
int(1472)
["date"]=>
string(19) "2017-09-10T03:11:23"
["date_gmt"]=>
string(19) "2017-09-09T18:11:23"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1472"
}
["modified"]=>
string(19) "2018-08-16T16:35:10"
["modified_gmt"]=>
string(19) "2018-08-16T07:35:10"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-2"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1472/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(7208) "この記事は 2017年 9月 10日 に書かれた記事です。
今まで 面倒くさかったので MAMP で 済ませていましたが
気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
仮想環境作成
Vagrant コマンドが使えるようになったので 実際に 環境を 作っていきます
ディレクトリ構造
参考までに 僕の ディレクトリ構造 は
Repository
- tekuaru
- html
- script
- vagrant
みたいにしています
tekuaru を Git 管理しているので そのディレクトリに .git とか .gitignore とか README.md とかが置かれていますが とりあえず そんな感じです
これで このリポジトリを 共有すれば 他の誰かとも 同じ環境で 作業することが出来ますね
ここが 最大の 利点ですよね!!
例えば 開発する環境がわかれば 全く同じ環境を 作り出すことができて git で 共有まで出来てしまうのですよ
しかも 共有された方は vagrant up するだけで 同じ環境が 出来てしまいます
CentOS 7
今回は 特に 何も決めていないので CentOS 7 を 選びました
Vagrant box centos/7
https://app.vagrantup.com/centos/boxes/7
vagrant ディレクトリに 移動したあと 上記 URL の Newタブ の 内容通り 実行しました
これで CentOS 7 の 仮想環境 が 作れます!!
LAMP ( CentOS Apache MariaDB PHP ) へ
CentOS 7 の 仮想環境 が 作れたところで 一回 仮想環境を 破棄して 一気に LAMP の 環境が立ち上がる 設定紹介 です
PHP は 7.1 で DB は MariaDB です
今回は お試しの 環境構築なので 参考にしてみてください
より良い設定がありましたら 教えてください!!
$ vagrant destroy
このコマンドで 仮想環境を 破棄できます
vagrant ディレクトリ に Vagrantfile という ファイルが出来ているかと思います
これが 設定ファイル です
僕は この設定を 以下のようにしました
VAGRANT_NAME = "sample"
VAGRANT_NETWORK = "192.168.33.10"
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.synced_folder "../script/", "/var/www/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
仮想環境 の 名前 と ネットワーク を 変えやすいように 変数に入れて 使い回ししやすいようにしました
そして html と script を シンク するようにしたので このディレクトリに ファイルを入れると 仮想環境 にも ファイルがあります
さらに vagrant ディレクトリ に setup.sh を 作成して
echo '# firewalld disable --------------------------------------------------------------------------------'
systemctl stop firewalld
systemctl disable firewalld
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# remi ---------------------------------------------------------------------------------------------'
yum -y install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y update
echo '# PHP7.1 -------------------------------------------------------------------------------------------'
yum -y install --enablerepo=remi,remi-php71 --skip-broken php php-fpm php-cli php-common php-dba php-devel php-gd php-intl php-json php-mbstring php-mcrypt php-mysql php-pdo php-pear php-pecl-apc php-pecl-apc-devel php-pecl-imagick php-pecl-memcache php-pecl-memcached php-pecl-oauth php-pecl-xdebug php-pgsql php-soap php-xml php-xmlrpc
sed -i.bak "/AllowOverride/s/None/All/g" /etc/httpd/conf/httpd.conf
echo '# apache -------------------------------------------------------------------------------------------'
yum -y install httpd
systemctl start httpd
systemctl enable httpd.service
echo '# MariaDB ------------------------------------------------------------------------------------------'
yum -y install mariadb mariadb-server
systemctl start mariadb.service
systemctl enable mariadb.service
echo '# SQLite3 ------------------------------------------------------------------------------------------'
yum -y install sqlite
echo '# zip unzip ----------------------------------------------------------------------------------------'
yum -y install zip unzip
echo '# Composer -----------------------------------------------------------------------------------------'
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
echo '# WP-CLI -------------------------------------------------------------------------------------------'
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
と しました
上から順にザックリ説明しますと
ファイヤーウォール を 切って
アクセス制御機能 を 切って
remi パッケージをインストール
yum を アップデート
PHP7.1 を インストール
apache を インストール
MariaDB を インストール
WordPress用に ユーザと DB を 作成
SQLite3 を インストール
Composer を インストール
WP-CLI を インストール
ってな 感じです
仮想環境完成
これで 仮想環境 の 完成 です
cakePHP とか WordPress が 動くかと思います
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(182) "今まで 面倒くさかったので MAMP で 済ませていましたが 気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1472"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1472"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1472"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1472"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[3]=>
array(25) {
["id"]=>
int(1472)
["date"]=>
string(19) "2017-09-10T03:11:23"
["date_gmt"]=>
string(19) "2017-09-09T18:11:23"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1472"
}
["modified"]=>
string(19) "2018-08-16T16:35:10"
["modified_gmt"]=>
string(19) "2018-08-16T07:35:10"
["slug"]=>
string(194) "%e4%bb%8a%e6%9b%b4%e3%81%a0%e3%81%91%e3%81%a9-vagrant%e3%81%a7-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-%e3%81%ae-%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-2"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2017/09/10/1472/"
["title"]=>
array(1) {
["rendered"]=>
string(78) "今更だけど Vagrantで 開発環境 の ベースを 作ってみた ( 2 )"
}
["content"]=>
array(2) {
["rendered"]=>
string(7208) "この記事は 2017年 9月 10日 に書かれた記事です。
今まで 面倒くさかったので MAMP で 済ませていましたが
気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
仮想環境作成
Vagrant コマンドが使えるようになったので 実際に 環境を 作っていきます
ディレクトリ構造
参考までに 僕の ディレクトリ構造 は
Repository
- tekuaru
- html
- script
- vagrant
みたいにしています
tekuaru を Git 管理しているので そのディレクトリに .git とか .gitignore とか README.md とかが置かれていますが とりあえず そんな感じです
これで このリポジトリを 共有すれば 他の誰かとも 同じ環境で 作業することが出来ますね
ここが 最大の 利点ですよね!!
例えば 開発する環境がわかれば 全く同じ環境を 作り出すことができて git で 共有まで出来てしまうのですよ
しかも 共有された方は vagrant up するだけで 同じ環境が 出来てしまいます
CentOS 7
今回は 特に 何も決めていないので CentOS 7 を 選びました
Vagrant box centos/7
https://app.vagrantup.com/centos/boxes/7
vagrant ディレクトリに 移動したあと 上記 URL の Newタブ の 内容通り 実行しました
これで CentOS 7 の 仮想環境 が 作れます!!
LAMP ( CentOS Apache MariaDB PHP ) へ
CentOS 7 の 仮想環境 が 作れたところで 一回 仮想環境を 破棄して 一気に LAMP の 環境が立ち上がる 設定紹介 です
PHP は 7.1 で DB は MariaDB です
今回は お試しの 環境構築なので 参考にしてみてください
より良い設定がありましたら 教えてください!!
$ vagrant destroy
このコマンドで 仮想環境を 破棄できます
vagrant ディレクトリ に Vagrantfile という ファイルが出来ているかと思います
これが 設定ファイル です
僕は この設定を 以下のようにしました
VAGRANT_NAME = "sample"
VAGRANT_NETWORK = "192.168.33.10"
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.synced_folder "../script/", "/var/www/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
仮想環境 の 名前 と ネットワーク を 変えやすいように 変数に入れて 使い回ししやすいようにしました
そして html と script を シンク するようにしたので このディレクトリに ファイルを入れると 仮想環境 にも ファイルがあります
さらに vagrant ディレクトリ に setup.sh を 作成して
echo '# firewalld disable --------------------------------------------------------------------------------'
systemctl stop firewalld
systemctl disable firewalld
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# remi ---------------------------------------------------------------------------------------------'
yum -y install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y update
echo '# PHP7.1 -------------------------------------------------------------------------------------------'
yum -y install --enablerepo=remi,remi-php71 --skip-broken php php-fpm php-cli php-common php-dba php-devel php-gd php-intl php-json php-mbstring php-mcrypt php-mysql php-pdo php-pear php-pecl-apc php-pecl-apc-devel php-pecl-imagick php-pecl-memcache php-pecl-memcached php-pecl-oauth php-pecl-xdebug php-pgsql php-soap php-xml php-xmlrpc
sed -i.bak "/AllowOverride/s/None/All/g" /etc/httpd/conf/httpd.conf
echo '# apache -------------------------------------------------------------------------------------------'
yum -y install httpd
systemctl start httpd
systemctl enable httpd.service
echo '# MariaDB ------------------------------------------------------------------------------------------'
yum -y install mariadb mariadb-server
systemctl start mariadb.service
systemctl enable mariadb.service
echo '# SQLite3 ------------------------------------------------------------------------------------------'
yum -y install sqlite
echo '# zip unzip ----------------------------------------------------------------------------------------'
yum -y install zip unzip
echo '# Composer -----------------------------------------------------------------------------------------'
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
echo '# WP-CLI -------------------------------------------------------------------------------------------'
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
と しました
上から順にザックリ説明しますと
ファイヤーウォール を 切って
アクセス制御機能 を 切って
remi パッケージをインストール
yum を アップデート
PHP7.1 を インストール
apache を インストール
MariaDB を インストール
WordPress用に ユーザと DB を 作成
SQLite3 を インストール
Composer を インストール
WP-CLI を インストール
ってな 感じです
仮想環境完成
これで 仮想環境 の 完成 です
cakePHP とか WordPress が 動くかと思います
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(182) "今まで 面倒くさかったので MAMP で 済ませていましたが 気分転換に Vagrant を 使って CentOS Apache MariaDB PHP の 環境を 作ってみました
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(6) {
[0]=>
int(95)
[1]=>
int(94)
[2]=>
int(96)
[3]=>
int(97)
[4]=>
int(98)
[5]=>
int(4)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1472"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1472/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1472"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1472"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1472"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(6) {
[0]=>
array(6) {
["id"]=>
int(95)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(96)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(4)
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[4]=>
array(25) {
["id"]=>
int(1694)
["date"]=>
string(19) "2018-04-27T12:00:09"
["date_gmt"]=>
string(19) "2018-04-27T03:00:09"
["guid"]=>
array(1) {
["rendered"]=>
string(38) "http://tekuaru.jack-russell.jp/?p=1694"
}
["modified"]=>
string(19) "2018-08-16T16:55:37"
["modified_gmt"]=>
string(19) "2018-08-16T07:55:37"
["slug"]=>
string(100) "react-%e3%82%92-%e8%a7%a6%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f-1-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/04/27/1694/"
["title"]=>
array(1) {
["rendered"]=>
string(46) "React を 触ってみた (1) – 開発環境"
}
["content"]=>
array(2) {
["rendered"]=>
string(3583) "この記事は 2018年 4月 27日 に書かれた記事です。
最終目標としては React + Redux + babel + webpack という環境 (??) で このブログのデータを 引っ張ってくる と言うものを作ってみようと思います
まずは 開発環境を vagrant で 作成しようと思います
開発環境作成
開発環境は vagrant で 作成しました
ディレクトリ構成は
react-vagrant
-> html
-> vagrant
-> [Vagrantfile]
と しています
Vagrantfile には
apache と node.js と npm を インストール するように記述しておきます
Vagrantfile
VAGRANT_NAME = "react"
VAGRANT_NETWORK = "192.168.33.20"
Vagrant.configure("2") do |config|
config.vm.hostname = VAGRANT_NAME
config.vm.box = "centos/7"
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../html/", "/var/www/html/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", inline: <<-SHELL
echo '# firewalld disable --------------------------------------------------------------------------------'
systemctl stop firewalld
systemctl disable firewalld
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum update -y
echo '# nodejs & npm -------------------------------------------------------------------------------------'
yum install -y epel-release
yum install -y openssl
yum install -y nodejs npm
echo '# apache -------------------------------------------------------------------------------------------'
yum install -y httpd
systemctl start httpd
systemctl enable httpd.service
SHELL
end
vagrant ディレクトリに移動してから
cd ~/react-vagrant/vagrant/
Vagrant で 環境を作成します
vagrant up
ssh 接続します
vagrant ssh
開発環境
まずは react ディレクトリで 開発を進めようと思うので
対象のディレクトリに移動してから
cd /var/www/html/
npm で パッケージを 管理するための 初期化処理を行います
対話式なので 質問に答えていけば OKです
npm init
質問に答え終わると package.json が 作成されます
とりあえず 今回は ここまでということで!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(194) "最終目標としては React + Redux + babel + webpack という環境 (??) で このブログのデータを 引っ張ってくる と言うものを作ってみようと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(25)
}
["tags"]=>
array(2) {
[0]=>
int(105)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1694"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1694"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1694/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1694"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1694"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1694"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(25)
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/category/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/25"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=25"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(105)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/react/"
["name"]=>
string(5) "React"
["slug"]=>
string(5) "react"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/105"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=105"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[5]=>
array(25) {
["id"]=>
int(1833)
["date"]=>
string(19) "2018-05-15T15:15:08"
["date_gmt"]=>
string(19) "2018-05-15T06:15:08"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=1833"
}
["modified"]=>
string(19) "2018-05-15T15:15:08"
["modified_gmt"]=>
string(19) "2018-05-15T06:15:08"
["slug"]=>
string(172) "vagrant-up-%e6%99%82%e3%81%ab-synced_folder-%e3%81%8c-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%a6-%e5%9b%b0%e3%81%a3%e3%81%9f%e8%a9%b1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/05/15/1833/"
["title"]=>
array(1) {
["rendered"]=>
string(76) "vagrant up 時に synced_folder が マウントできなくて 困った話"
}
["content"]=>
array(2) {
["rendered"]=>
string(3598) "この記事は 2018年 5月 15日 に書かれた記事です。
普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが
新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_folder が マウントできなくなった
普段は vagrant-vbguest が 勝手に Guest Additions を インストール してくれるのだが 今回は ちょっと 様子が違った…
An error occurred during installation of VirtualBox Guest Additions 5.2.12. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
なんてエラーが出て 上手くインストールができなかったみたいだ…
==> default: Mounting shared folders...
default: /var/www/html => /Users/jackrussell/repository/tekuaru/html
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o dmode=777,fmode=777,uid=1000,gid=1000 var_www_html_ /var/www/html
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
ってな感じで 止まってしまいました
コンソールのログを眺めていたら
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
ふむふむ ふむふむ ふむふむ って わかるかぁ!! ヽ(`Д´)ノ
というわけで グーグル翻訳してみたところ
このシステムは現在、カーネルモジュールを構築するように設定されていません。
現在のカーネルと一致するLinuxカーネル "ヘッダ"ファイルをインストールしてください
新しいハードウェアサポートをシステムに追加するためのものです。
ヘッダーを含む配布パッケージはおそらく次のとおりです。
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
とのこと
翻訳しても ちょっと 何言ってるかわからなかったので
とりあえず パッケージすべてを アップデートしてみます
vagrant$ vagrant ssh
[vagrant@tekuaru ~]$ sudo yum -y update
[vagrant@tekuaru ~]$ exit
vagrant$ vagrant reload
vagrant 環境に SSH 接続して yum update して 再起動!!
すると 無事 起動できましたとさ!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(237) "普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが 新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_ […]
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(97)
[1]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1833"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1833"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1833"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1833"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[6]=>
array(25) {
["id"]=>
int(1833)
["date"]=>
string(19) "2018-05-15T15:15:08"
["date_gmt"]=>
string(19) "2018-05-15T06:15:08"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=1833"
}
["modified"]=>
string(19) "2018-05-15T15:15:08"
["modified_gmt"]=>
string(19) "2018-05-15T06:15:08"
["slug"]=>
string(172) "vagrant-up-%e6%99%82%e3%81%ab-synced_folder-%e3%81%8c-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%a6-%e5%9b%b0%e3%81%a3%e3%81%9f%e8%a9%b1"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/05/15/1833/"
["title"]=>
array(1) {
["rendered"]=>
string(76) "vagrant up 時に synced_folder が マウントできなくて 困った話"
}
["content"]=>
array(2) {
["rendered"]=>
string(3598) "この記事は 2018年 5月 15日 に書かれた記事です。
普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが
新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_folder が マウントできなくなった
普段は vagrant-vbguest が 勝手に Guest Additions を インストール してくれるのだが 今回は ちょっと 様子が違った…
An error occurred during installation of VirtualBox Guest Additions 5.2.12. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
なんてエラーが出て 上手くインストールができなかったみたいだ…
==> default: Mounting shared folders...
default: /var/www/html => /Users/jackrussell/repository/tekuaru/html
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o dmode=777,fmode=777,uid=1000,gid=1000 var_www_html_ /var/www/html
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
ってな感じで 止まってしまいました
コンソールのログを眺めていたら
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
ふむふむ ふむふむ ふむふむ って わかるかぁ!! ヽ(`Д´)ノ
というわけで グーグル翻訳してみたところ
このシステムは現在、カーネルモジュールを構築するように設定されていません。
現在のカーネルと一致するLinuxカーネル "ヘッダ"ファイルをインストールしてください
新しいハードウェアサポートをシステムに追加するためのものです。
ヘッダーを含む配布パッケージはおそらく次のとおりです。
kernel-devel kernel-devel-3.10.0-693.21.1.el7.x86_64
とのこと
翻訳しても ちょっと 何言ってるかわからなかったので
とりあえず パッケージすべてを アップデートしてみます
vagrant$ vagrant ssh
[vagrant@tekuaru ~]$ sudo yum -y update
[vagrant@tekuaru ~]$ exit
vagrant$ vagrant reload
vagrant 環境に SSH 接続して yum update して 再起動!!
すると 無事 起動できましたとさ!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(237) "普段 Mac を 使っていて VirtualBox に Vagrant を 用いて 環境を サッと 作っていたんだが 新しい 環境を 作らなくといけなくなり vagrant up したら エラーが 起きて synced_ […]
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(97)
[1]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=1833"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/1833/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=1833"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=1833"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=1833"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[7]=>
array(25) {
["id"]=>
int(2006)
["date"]=>
string(19) "2018-08-24T16:19:19"
["date_gmt"]=>
string(19) "2018-08-24T07:19:19"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2006"
}
["modified"]=>
string(19) "2018-09-27T15:02:33"
["modified_gmt"]=>
string(19) "2018-09-27T06:02:33"
["slug"]=>
string(101) "vagrant-%e3%81%a7-gitbucket-%e3%82%92-%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%92%e3%81%a6%e3%81%bf%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/08/24/2006/"
["title"]=>
array(1) {
["rendered"]=>
string(47) "Vagrant で GitBucket を 立ち上げてみた"
}
["content"]=>
array(2) {
["rendered"]=>
string(5635) "
自社サーバに アプリを インストールして 使うことが増えてきたので
まずは Vagrant で テスト運用してみようかと 思ったわけです
今回は GitBucket を 立ち上げてみたいと思います
docker で やればいいじゃん とか いろいろ有りそうですが 僕は 基本的に Vagrant を 使っていますね
docker って ボケッと 使ってると リビジョンが溜まっていたり コンテナ が 停止していなかったり 等
汚れていく イメージが強くて あまり好きになれないのですよね…
今回は そんな話ではなくて GitBucket ですよ!!
GitBucket
GitBucket
https://gitbucket.github.io/
Scala で 書かれており Javaの実行環境である JVM で動作します
有名所だと GitLab だと思うのですが
GitLab
https://about.gitlab.com/
ググってみると 機能豊富な分だけ スペックを要求する と あったので 今回は GitBucket を 採用しました
では 早速 Vagrant で 立ち上げてみましょう
Vagrantfile
VAGRANT_CONFIGURATION = "2"
VAGRANT_NAME = "gitbucket"
VAGRANT_NETWORK = "192.168.33.5"
Vagrant.configure(VAGRANT_CONFIGURATION) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../script/", "/home/vagrant/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
setup.sh
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y upgrade
echo '# mkdir ~/download ---------------------------------------------------------------------------------'
mkdir -p ~/download/
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# apache java tomcat wget --------------------------------------------------------------------------'
yum -y install httpd java-1.8.0-openjdk tomcat wget
echo '# GitBucket ----------------------------------------------------------------------------------------'
wget -P /usr/share/tomcat/webapps/ https://github.com/gitbucket/gitbucket/releases/download/4.27.0/gitbucket.war
echo '# MariaDB 10.3 -------------------------------------------------------------------------------------'
mkdir -p /etc/yum.repos.d/
touch /etc/yum.repos.d/mariadb.repo
cat << EOS > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.3 CentOS repository list - created 2018-07-03 02:29 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOS
yum -y install MariaDB-server MariaDB-client
echo '# git ----------------------------------------------------------------------------------------------'
cd ~/download/
yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
wget https://www.kernel.org/pub/software/scm/git/git-2.18.0.tar.gz
tar xzvf git-2.18.0.tar.gz
cd git-2.18.0
make prefix=/usr/local all
make prefix=/usr/local install
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# apache restart -----------------------------------------------------------------------------------'
systemctl enable httpd
systemctl restart httpd
echo '# tomcat restart -----------------------------------------------------------------------------------'
systemctl enable tomcat
systemctl restart tomcat
今回は apache openjdk tomcat という 構成で GitBucket を 動かしています
vagrant up すると
GitBucket ローカル環境 (vagrant-hostsupdater 使用)
http://gitbucket:8080/gitbucket/
で アクセス することができます
感想
サクッと 環境を作ることができました
クラウドサービスを 使うまでもない 自分のPCでしか管理していない ファイル達を 管理して 使ってみようと思います
Git の 練習 にも 良いかもしれませんね!!
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(246) "自社サーバに アプリを インストールして 使うことが増えてきたので まずは Vagrant で テスト運用してみようかと 思ったわけです 今回は GitBucket を 立ち上げてみたいと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(111)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2006"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2006"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2006/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2006"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2006"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2006"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(111)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gitbucket/"
["name"]=>
string(9) "GitBucket"
["slug"]=>
string(9) "gitbucket"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/111"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=111"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[8]=>
array(25) {
["id"]=>
int(2025)
["date"]=>
string(19) "2018-09-12T17:33:53"
["date_gmt"]=>
string(19) "2018-09-12T08:33:53"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2025"
}
["modified"]=>
string(19) "2018-09-27T15:02:55"
["modified_gmt"]=>
string(19) "2018-09-27T06:02:55"
["slug"]=>
string(102) "vagrant-%e3%81%a7-mattermost-%e3%82%92-%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%92%e3%81%a6%e3%81%bf%e3%81%9f"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/09/12/2025/"
["title"]=>
array(1) {
["rendered"]=>
string(48) "Vagrant で Mattermost を 立ち上げてみた"
}
["content"]=>
array(2) {
["rendered"]=>
string(6901) "
今回は Mattermost を 立ち上げます
Bitbucket から Webhook で 通知を受け取る時に ちょっと カスタマイズする必要があったので 今回も ローカル環境に立てて 実験用に使います
更に GitBucket からも Webhook で 通知を受け取れるように したいと 考えていますね
というわけで
Vagrant で GitBucket を 立ち上げてみた
https://tekuaru.jack-russell.jp/2018/08/24/2006/
の 第二弾 となります
Mattermost
Mattermost
https://mattermost.com/
Mattermost は Slack を 意識した オープンソース の チャットツール になります
よく Slackクローン と 言われていますね
では 早速 Vagrant で 立ち上げてみましょう
Vagrantfile
VAGRANT_CONFIGURATION = "2"
VAGRANT_NAME = "mattermost"
VAGRANT_NETWORK = "192.168.33.5"
Vagrant.configure(VAGRANT_CONFIGURATION) do |config|
config.vm.box = "centos/7"
config.vm.hostname = VAGRANT_NAME
config.vm.network "private_network", ip: VAGRANT_NETWORK
config.vm.synced_folder "../script/", "/home/vagrant/script/", create: true, owner: 'vagrant', group: 'vagrant', mount_options: ['dmode=777,fmode=777']
config.vm.provider "virtualbox" do |vb|
vb.name = VAGRANT_NAME
end
config.vm.provision "shell", :path => "setup.sh"
end
setup.sh
echo '# SELinux disable ----------------------------------------------------------------------------------'
setenforce 0
sed -i.bak "/SELINUX/s/enforcing/disabled/g" /etc/selinux/config
echo '# yum ----------------------------------------------------------------------------------------------'
yum -y update
yum -y upgrade
echo '# mkdir ~/download ---------------------------------------------------------------------------------'
mkdir -p ~/download/
cd ~/download/
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# curl ---------------------------------------------------------------------------------------------'
yum -y install curl-devel
echo '# MariaDB 10.3 -------------------------------------------------------------------------------------'
mkdir -p /etc/yum.repos.d/
touch /etc/yum.repos.d/mariadb.repo
cat << EOS > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.3 CentOS repository list - created 2018-09-12 04:00 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOS
yum -y install MariaDB-server MariaDB-client
echo '# MariaDB Setup ------------------------------------------------------------------------------------'
systemctl restart mariadb.service
# mysql_secure_installation
mysql -u root -e "CREATE DATABASE mattermost;"
mysql -u root -e "CREATE USER 'mmuser'@'localhost' IDENTIFIED BY 'mmuser-password';"
mysql -u root -e "GRANT ALL PRIVILEGES ON mattermost.* TO 'mmuser'@'localhost' WITH GRANT OPTION;"
mysql -u root -e "FLUSH PRIVILEGES;"
echo '# Mattermost ---------------------------------------------------------------------------------------'
cd ~/download/
curl -L -O https://releases.mattermost.com/5.2.1/mattermost-5.2.1-linux-amd64.tar.gz
tar zxvf mattermost-5.2.1-linux-amd64.tar.gz -C /opt
mkdir /opt/mattermost/data
cd ~/download/
useradd --system --user-group mattermost
chown -R mattermost:mattermost /opt/mattermost
chmod -R g+w /opt/mattermost
sed -i.bak "s/mmuser:mostest@tcp(dockerhost:3306)\/mattermost_test?charset=utf8mb4,utf8\&readTimeout=30s\&writeTimeout=30s/mmuser:mmuser-password@tcp(127.0.0.1:3306)\/mattermost?charset=utf8mb4,utf8\&readTimeout=30s\&writeTimeout=30s/g" /opt/mattermost/config/config.json
touch /etc/systemd/system/mattermost.service
cat << EOS > /etc/systemd/system/mattermost.service
[Unit]
Description=Mattermost
After=syslog.target network.target postgresql-9.4.service
[Service]
Type=notify
WorkingDirectory=/opt/mattermost
User=mattermost
ExecStart=/opt/mattermost/bin/mattermost
PIDFile=/var/spool/mattermost/pid/master.pid
TimeoutStartSec=3600
LimitNOFILE=49152
[Install]
WantedBy=multi-user.target
EOS
chmod 664 /etc/systemd/system/mattermost.service
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo '# MariaDB restart ----------------------------------------------------------------------------------'
systemctl enable mariadb.service
systemctl restart mariadb.service
echo '# Mattermost restart -------------------------------------------------------------------------------'
systemctl enable mattermost
systemctl restart mattermost
今回は MariaDB で Mattermost を 動かしています
vagrant up すると
Mattermost ローカル環境 (vagrant-hostsupdater 使用)
http://mattermost:8065/
で アクセス することができます
感想
今回も サクッと 環境を作ることができました
ファイルを 展開して アプリケーションを動かすタイプなので アップデートを行うのも 一苦労そうです…
Upgrading Mattermost Server ‐ Mattermost 5.2 documentationを参考にさせていただきました。
https://docs.mattermost.com/administration/upgrade.html
こちらに ドキュメント が ありますが 僕には難しそう…
vagrant にて 何度か トライしてみて sh を 作ってみないと 怖いですね…
Bitbucket から Webhook が うまく行ったら その時は また記事を書くかもしれません
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(259) "今回は Mattermost を 立ち上げます Bitbucket から Webhook で 通知を受け取る時に ちょっと カスタマイズする必要があったので 今回も ローカル環境に立てて 実験用に使います 更に GitB […]
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(2) {
[0]=>
int(113)
[1]=>
int(97)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2025"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2025"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2025/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2025"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2025"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2025"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(2) {
[0]=>
array(6) {
["id"]=>
int(113)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/mattermost/"
["name"]=>
string(10) "Mattermost"
["slug"]=>
string(10) "mattermost"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/113"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=113"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[9]=>
array(25) {
["id"]=>
int(2080)
["date"]=>
string(19) "2018-11-27T12:00:20"
["date_gmt"]=>
string(19) "2018-11-27T03:00:20"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2080"
}
["modified"]=>
string(19) "2019-02-10T13:51:14"
["modified_gmt"]=>
string(19) "2019-02-10T04:51:14"
["slug"]=>
string(148) "gutenberg-%e3%81%ae-%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%96%e3%83%ad%e3%83%83%e3%82%af-%e3%82%92-%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/11/27/2080/"
["title"]=>
array(1) {
["rendered"]=>
string(58) "Gutenberg の カスタムブロック を 作ってみる"
}
["content"]=>
array(2) {
["rendered"]=>
string(4683) "
この記事は WordPress Version 5.0 RC 1 の時の記事です。
WordPress 5.0 が そろそろなので カスタムブロック の 作り方 を 勉強しておこうかと思います
なんだかんだ あっという間に WordPress 5.0 RC 1 が リリースされていました
WordPress 5.0 リリース候補
https://ja.wordpress.org/2018/11/24/wordpress-5-0-release-candidate/
そこで Gutenberg の カスタムブロック の 作り方を 軽く覚えておこうと思います
参考資料
Gutenberg Examples を見ながら進めていきます
Gutenberg Examples
https://github.com/WordPress/gutenberg-examples
ただ Docker って 作業しているうちに ゴミファイルが溜まっていく気がして 好きになれないので 私は vagrant で 環境を作りながら 進めていきます
( こちらはこちらで 毎回 OSやら パッケージやらを インストールしないといけないので 無駄が多いですが 消すときに一気に消せるので 好きってだけです )
開発環境
基本的に Gutenberg Examples 通り 作業をすれば 問題なく ビルド出来るかと思います
あまりにもスムーズに ビルド出来てしまったので 記事としては 寂しいものになってしまいました…
逆に ドキュメントとして しっかり メンテナンスされているということ なのですけどね
注意点
babel と babel-loader の バージョンを合わせないといけないので Examples の package.json を 使うと スムーズです
Webpack plugin for Babel
https://github.com/babel/babel-loader#readme
npm i --save-dev babel-core babel-loader@7 babel-preset-env babel-plugin-transform-react-jsx cross-env webpack webpack-cli
Example 04 と Example 05 に 関しては 難しいので よく読んで 理解しないと Example の カスタマイズ すら 苦労します…
コンパイル時 1ファイルずつ出力したい
Example では 1つずつ出力する様に コンパイルコマンドが書いてあるのですが
ソースを 追加するたびに 追加するのは 手間かなと思いました
なので /src/ ディレクトリ内にある jsx 拡張子 の ファイル を
/resources/js/ 以下に 出力するようにしてみました
まずは glob という パッケージを 追加します
npm i --save-dev glob
webpack.config.js を 書き換えます
const path = require('path');
const glob = require('glob');
const entries = {};
glob.sync('./src/*.jsx').map(function (file) {
const key = file.split('/').pop().replace(/\.[^/.]+$/, '');
entries[key] = file;
});
module.exports = {
mode: 'production',
entry: entries,
output: {
path: path.resolve(__dirname, 'resources', 'js'),
filename: '[name].js',
},
module: {
rules: [
{
test: /.jsx$/,
exclude: [
path.resolve(__dirname, 'node_modules'),
],
loader: 'babel-loader',
}
],
},
};
皆さんの環境で 調整して 使ってみてください
また コード間違ってるぞ 等ありましたら 連絡ください
さいごに
Gutenberg Examples に 書いてありますが Gutenberg developer documentation も 参考になるそうです
もっと 複雑なカスタムブロックを作る場合は 一読しておくほうが良いかもしれません
Gutenberg developer documentation
https://wordpress.org/gutenberg/handbook/
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(130) "WordPress 5.0 が そろそろなので カスタムブロック の 作り方 を 勉強しておこうかと思います
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(2)
}
["tags"]=>
array(7) {
[0]=>
int(8)
[1]=>
int(99)
[2]=>
int(103)
[3]=>
int(105)
[4]=>
int(97)
[5]=>
int(6)
[6]=>
int(47)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2080"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2080"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2080/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2080"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2080"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2080"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(2)
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(7) {
[0]=>
array(6) {
["id"]=>
int(8)
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(99)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/docker/"
["name"]=>
string(6) "Docker"
["slug"]=>
string(6) "docker"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/99"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=99"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(103)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gutenberg/"
["name"]=>
string(9) "Gutenberg"
["slug"]=>
string(9) "gutenberg"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/103"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=103"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(6) {
["id"]=>
int(105)
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/react/"
["name"]=>
string(5) "React"
["slug"]=>
string(5) "react"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/105"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=105"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(6) {
["id"]=>
int(6)
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/customize/"
["name"]=>
string(18) "カスタマイズ"
["slug"]=>
string(9) "customize"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/6"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=6"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[6]=>
array(6) {
["id"]=>
int(47)
["link"]=>
string(50) "https://tekuaru.jack-russell.jp/tag/visual-editor/"
["name"]=>
string(27) "ビジュアルエディタ"
["slug"]=>
string(13) "visual-editor"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/47"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=47"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[10]=>
array(25) {
["id"]=>
int(2152)
["date"]=>
string(19) "2018-12-07T15:20:32"
["date_gmt"]=>
string(19) "2018-12-07T06:20:32"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2152"
}
["modified"]=>
string(19) "2020-04-01T12:23:14"
["modified_gmt"]=>
string(19) "2020-04-01T03:23:14"
["slug"]=>
string(145) "vagrant-%e3%81%a7-virtualbox-guest-additions-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/12/07/2152/"
["title"]=>
array(1) {
["rendered"]=>
string(73) "Vagrant で Virtualbox Guest Additions が インストールできない"
}
["content"]=>
array(2) {
["rendered"]=>
string(2146) "
今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
Cent OS 7 を 使って vagrant up しようとしたら カーネルパッケージ が インストールされてない とのエラーが…
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-862.14.4.el7.x86_64
普段は 何も考えずに セットアップが 完了するので 原因が わかるまで 時間がかかってしまいました
VirtualBox の バージョン下げてみたり Vagrant の バージョン下げてみたり とか Plugin を 再インストールしてみたり…
原因は??
原因は とても簡単なものでした
単純に パッケージの配信元が 止まっていたので パッケージを インストールすることが 出来ないだけでした
なので centos.org から カーネルパッケージ を 探してきて インストールすれば OK なはず
パッケージのインストール
yum -y install http://mirror.centos.org/centos/7.5.1804/updates/x86_64/Packages/kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm
これで vagrant reload したら 動くようになりましたとさ
追記 – 2018/12/09
今日 試したところ 問題なく 立ち上げる事が できました
たまたま 止まっている状態にあたってしまっただけでしたね
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(206) "今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(3) {
[0]=>
int(94)
[1]=>
int(97)
[2]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2152"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2152"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2152"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2152"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(3) {
[0]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[11]=>
array(25) {
["id"]=>
int(2152)
["date"]=>
string(19) "2018-12-07T15:20:32"
["date_gmt"]=>
string(19) "2018-12-07T06:20:32"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2152"
}
["modified"]=>
string(19) "2020-04-01T12:23:14"
["modified_gmt"]=>
string(19) "2020-04-01T03:23:14"
["slug"]=>
string(145) "vagrant-%e3%81%a7-virtualbox-guest-additions-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2018/12/07/2152/"
["title"]=>
array(1) {
["rendered"]=>
string(73) "Vagrant で Virtualbox Guest Additions が インストールできない"
}
["content"]=>
array(2) {
["rendered"]=>
string(2146) "
今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
Cent OS 7 を 使って vagrant up しようとしたら カーネルパッケージ が インストールされてない とのエラーが…
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-862.14.4.el7.x86_64
普段は 何も考えずに セットアップが 完了するので 原因が わかるまで 時間がかかってしまいました
VirtualBox の バージョン下げてみたり Vagrant の バージョン下げてみたり とか Plugin を 再インストールしてみたり…
原因は??
原因は とても簡単なものでした
単純に パッケージの配信元が 止まっていたので パッケージを インストールすることが 出来ないだけでした
なので centos.org から カーネルパッケージ を 探してきて インストールすれば OK なはず
パッケージのインストール
yum -y install http://mirror.centos.org/centos/7.5.1804/updates/x86_64/Packages/kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm
これで vagrant reload したら 動くようになりましたとさ
追記 – 2018/12/09
今日 試したところ 問題なく 立ち上げる事が できました
たまたま 止まっている状態にあたってしまっただけでしたね
"
["protected"]=>
bool(false)
}
["excerpt"]=>
array(2) {
["rendered"]=>
string(206) "今 起きている 現象なので 数日経てば 改善するかと思いますが こういう理由で エラーが起きたのか… と 覚えておくためにも 記事にしておきます
"
["protected"]=>
bool(false)
}
["author"]=>
int(1)
["featured_media"]=>
int(775)
["comment_status"]=>
string(4) "open"
["ping_status"]=>
string(4) "open"
["sticky"]=>
bool(false)
["template"]=>
string(0) ""
["format"]=>
string(8) "standard"
["meta"]=>
array(1) {
["amp_status"]=>
string(0) ""
}
["categories"]=>
array(1) {
[0]=>
int(44)
}
["tags"]=>
array(3) {
[0]=>
int(94)
[1]=>
int(97)
[2]=>
int(98)
}
["_links"]=>
array(10) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2152"
}
}
["version-history"]=>
array(1) {
[0]=>
array(2) {
["count"]=>
int(0)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2152/revisions"
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["wp:attachment"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2152"
}
}
["wp:term"]=>
array(2) {
[0]=>
array(3) {
["taxonomy"]=>
string(8) "category"
["embeddable"]=>
bool(true)
["href"]=>
string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2152"
}
[1]=>
array(3) {
["taxonomy"]=>
string(8) "post_tag"
["embeddable"]=>
bool(true)
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2152"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
["_embedded"]=>
array(3) {
["author"]=>
array(1) {
[0]=>
array(7) {
["id"]=>
int(1)
["name"]=>
string(12) "Jack Russell"
["url"]=>
string(0) ""
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/"
["slug"]=>
string(12) "jack-russell"
["_links"]=>
array(2) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users"
}
}
}
}
}
["wp:featuredmedia"]=>
array(1) {
[0]=>
array(14) {
["id"]=>
int(775)
["date"]=>
string(19) "2016-03-09T16:43:51"
["slug"]=>
string(7) "tekuaru"
["type"]=>
string(10) "attachment"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tekuaru/"
["title"]=>
array(1) {
["rendered"]=>
string(7) "tekuaru"
}
["author"]=>
int(1)
["caption"]=>
array(1) {
["rendered"]=>
string(0) ""
}
["alt_text"]=>
string(0) ""
["media_type"]=>
string(5) "image"
["mime_type"]=>
string(9) "image/png"
["media_details"]=>
array(5) {
["width"]=>
int(1200)
["height"]=>
int(630)
["file"]=>
string(19) "2016/03/tekuaru.png"
["sizes"]=>
array(3) {
["thumbnail"]=>
array(5) {
["file"]=>
string(19) "tekuaru-400x210.png"
["width"]=>
int(400)
["height"]=>
int(210)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png"
}
["medium"]=>
array(5) {
["file"]=>
string(19) "tekuaru-800x420.png"
["width"]=>
int(800)
["height"]=>
int(420)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png"
}
["full"]=>
array(5) {
["file"]=>
string(11) "tekuaru.png"
["width"]=>
int(1200)
["height"]=>
int(630)
["mime_type"]=>
string(9) "image/png"
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
}
}
["image_meta"]=>
array(12) {
["aperture"]=>
string(1) "0"
["credit"]=>
string(0) ""
["camera"]=>
string(0) ""
["caption"]=>
string(0) ""
["created_timestamp"]=>
string(1) "0"
["copyright"]=>
string(0) ""
["focal_length"]=>
string(1) "0"
["iso"]=>
string(1) "0"
["shutter_speed"]=>
string(1) "0"
["title"]=>
string(0) ""
["orientation"]=>
string(1) "0"
["keywords"]=>
array(0) {
}
}
}
["source_url"]=>
string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment"
}
}
["author"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1"
}
}
["replies"]=>
array(1) {
[0]=>
array(2) {
["embeddable"]=>
bool(true)
["href"]=>
string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775"
}
}
}
}
}
["wp:term"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(6) {
["id"]=>
int(44)
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
[1]=>
array(3) {
[0]=>
array(6) {
["id"]=>
int(94)
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(6) {
["id"]=>
int(97)
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(6) {
["id"]=>
int(98)
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}
}
}
[12]=>
array(25) {
["id"]=>
int(2266)
["date"]=>
string(19) "2019-05-23T12:00:46"
["date_gmt"]=>
string(19) "2019-05-23T03:00:46"
["guid"]=>
array(1) {
["rendered"]=>
string(39) "https://tekuaru.jack-russell.jp/?p=2266"
}
["modified"]=>
string(19) "2020-04-01T12:29:00"
["modified_gmt"]=>
string(19) "2020-04-01T03:29:00"
["slug"]=>
string(117) "virtualbox-6-0-8-%e3%81%8c-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84"
["status"]=>
string(7) "publish"
["type"]=>
string(4) "post"
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/2019/05/23/2266/"
["title"]=>
array(1) {
["rendered"]=>
string(54) "VirtualBox 6.0.8 が インストールできない…"
}
["content"]=>
array(2) {
["rendered"]=>
string(1342) "
システム整合性保護と競合するようで インストールが できない事があるようです
ただし SIP を 無効 に する事で インストールが できます
今まで そんな事をしなくても インストール 出来ただけに ちょっと 怖いですよね…
とりあえず インストール方法 を 記しておきます
SIP を 無効化
- Mac の 電源を切る
- コマンド + R を押しながら Macを起動
- ターミナルを起動
- csrutil disable と入力して SIP を 無効化する
- 再起動
VirtualBox の インストール
システム整合性保護と競合するようで インストールが できない事があるようです ただし SIP を 無効 に する事で インストールが できます
" ["protected"]=> bool(false) } ["author"]=> int(1) ["featured_media"]=> int(775) ["comment_status"]=> string(4) "open" ["ping_status"]=> string(4) "open" ["sticky"]=> bool(false) ["template"]=> string(0) "" ["format"]=> string(8) "standard" ["meta"]=> array(1) { ["amp_status"]=> string(0) "" } ["categories"]=> array(1) { [0]=> int(44) } ["tags"]=> array(1) { [0]=> int(98) } ["_links"]=> array(10) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2266" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/post" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=2266" } } ["version-history"]=> array(1) { [0]=> array(2) { ["count"]=> int(0) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts/2266/revisions" } } ["wp:featuredmedia"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["wp:attachment"]=> array(1) { [0]=> array(1) { ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media?parent=2266" } } ["wp:term"]=> array(2) { [0]=> array(3) { ["taxonomy"]=> string(8) "category" ["embeddable"]=> bool(true) ["href"]=> string(66) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories?post=2266" } [1]=> array(3) { ["taxonomy"]=> string(8) "post_tag" ["embeddable"]=> bool(true) ["href"]=> string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags?post=2266" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } ["_embedded"]=> array(3) { ["author"]=> array(1) { [0]=> array(7) { ["id"]=> int(1) ["name"]=> string(12) "Jack Russell" ["url"]=> string(0) "" ["description"]=> string(0) "" ["link"]=> string(52) "https://tekuaru.jack-russell.jp/author/jack-russell/" ["slug"]=> string(12) "jack-russell" ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users" } } } } } ["wp:featuredmedia"]=> array(1) { [0]=> array(14) { ["id"]=> int(775) ["date"]=> string(19) "2016-03-09T16:43:51" ["slug"]=> string(7) "tekuaru" ["type"]=> string(10) "attachment" ["link"]=> string(40) "https://tekuaru.jack-russell.jp/tekuaru/" ["title"]=> array(1) { ["rendered"]=> string(7) "tekuaru" } ["author"]=> int(1) ["caption"]=> array(1) { ["rendered"]=> string(0) "" } ["alt_text"]=> string(0) "" ["media_type"]=> string(5) "image" ["mime_type"]=> string(9) "image/png" ["media_details"]=> array(5) { ["width"]=> int(1200) ["height"]=> int(630) ["file"]=> string(19) "2016/03/tekuaru.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(5) { ["file"]=> string(19) "tekuaru-400x210.png" ["width"]=> int(400) ["height"]=> int(210) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-400x210.png" } ["medium"]=> array(5) { ["file"]=> string(19) "tekuaru-800x420.png" ["width"]=> int(800) ["height"]=> int(420) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(88) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru-800x420.png" } ["full"]=> array(5) { ["file"]=> string(11) "tekuaru.png" ["width"]=> int(1200) ["height"]=> int(630) ["mime_type"]=> string(9) "image/png" ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" } } ["image_meta"]=> array(12) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" ["orientation"]=> string(1) "0" ["keywords"]=> array(0) { } } } ["source_url"]=> string(80) "https://tekuaru.jack-russell.jp/wordpress/wp-content/uploads/2016/03/tekuaru.png" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(55) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media/775" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(51) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/media" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(62) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/types/attachment" } } ["author"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/users/1" } } ["replies"]=> array(1) { [0]=> array(2) { ["embeddable"]=> bool(true) ["href"]=> string(63) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/comments?post=775" } } } } } ["wp:term"]=> array(2) { [0]=> array(1) { [0]=> array(6) { ["id"]=> int(44) ["link"]=> string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/" ["name"]=> string(24) "技術関連の備忘録" ["slug"]=> string(29) "technology-related-memorandum" ["taxonomy"]=> string(8) "category" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } [1]=> array(1) { [0]=> array(6) { ["id"]=> int(98) ["link"]=> string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/" ["name"]=> string(10) "VirtualBox" ["slug"]=> string(10) "virtualbox" ["taxonomy"]=> string(8) "post_tag" ["_links"]=> array(5) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags" } } ["about"]=> array(1) { [0]=> array(1) { ["href"]=> string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag" } } ["wp:post_type"]=> array(1) { [0]=> array(1) { ["href"]=> string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98" } } ["curies"]=> array(1) { [0]=> array(3) { ["name"]=> string(2) "wp" ["href"]=> string(23) "https://api.w.org/{rel}" ["templated"]=> bool(true) } } } } } } } } }array(2) {
["category"]=>
array(7) {
["name"]=>
string(15) "カテゴリー"
["slug"]=>
string(8) "category"
["description"]=>
string(0) ""
["types"]=>
array(1) {
[0]=>
string(4) "post"
}
["hierarchical"]=>
bool(true)
["rest_base"]=>
string(10) "categories"
["_links"]=>
array(3) {
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies"
}
}
["wp:items"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
["post_tag"]=>
array(7) {
["name"]=>
string(6) "タグ"
["slug"]=>
string(8) "post_tag"
["description"]=>
string(0) ""
["types"]=>
array(1) {
[0]=>
string(4) "post"
}
["hierarchical"]=>
bool(false)
["rest_base"]=>
string(4) "tags"
["_links"]=>
array(3) {
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies"
}
}
["wp:items"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
array(2) {
["category"]=>
array(8) {
[0]=>
array(10) {
["id"]=>
int(21)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(49) "https://tekuaru.jack-russell.jp/category/cakephp/"
["name"]=>
string(7) "cakePHP"
["slug"]=>
string(7) "cakephp"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/21"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=21"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(10) {
["id"]=>
int(25)
["count"]=>
int(19)
["description"]=>
string(0) ""
["link"]=>
string(52) "https://tekuaru.jack-russell.jp/category/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/25"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=25"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(10) {
["id"]=>
int(19)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/category/php/"
["name"]=>
string(3) "PHP"
["slug"]=>
string(3) "php"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/19"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=19"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(10) {
["id"]=>
int(2)
["count"]=>
int(71)
["description"]=>
string(0) ""
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/category/wordpress/"
["name"]=>
string(9) "WordPress"
["slug"]=>
string(9) "wordpress"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/2"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=2"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(10) {
["id"]=>
int(39)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/category/gadget/"
["name"]=>
string(15) "ガジェット"
["slug"]=>
string(6) "gadget"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/39"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=39"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(10) {
["id"]=>
int(44)
["count"]=>
int(57)
["description"]=>
string(0) ""
["link"]=>
string(71) "https://tekuaru.jack-russell.jp/category/technology-related-memorandum/"
["name"]=>
string(24) "技術関連の備忘録"
["slug"]=>
string(29) "technology-related-memorandum"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/44"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=44"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[6]=>
array(10) {
["id"]=>
int(1)
["count"]=>
int(0)
["description"]=>
string(0) ""
["link"]=>
string(54) "https://tekuaru.jack-russell.jp/category/unclassified/"
["name"]=>
string(9) "未分類"
["slug"]=>
string(12) "unclassified"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/1"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(64) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=1"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[7]=>
array(10) {
["id"]=>
int(45)
["count"]=>
int(40)
["description"]=>
string(0) ""
["link"]=>
string(61) "https://tekuaru.jack-russell.jp/category/miscellaneous-notes/"
["name"]=>
string(6) "雑記"
["slug"]=>
string(19) "miscellaneous-notes"
["taxonomy"]=>
string(8) "category"
["parent"]=>
int(0)
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories/45"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(56) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/categories"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/category"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?categories=45"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
["post_tag"]=>
array(106) {
[0]=>
array(9) {
["id"]=>
int(68)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/adsense/"
["name"]=>
string(7) "AdSense"
["slug"]=>
string(7) "adsense"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/68"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=68"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[1]=>
array(9) {
["id"]=>
int(78)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/amp/"
["name"]=>
string(3) "AMP"
["slug"]=>
string(3) "amp"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/78"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=78"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[2]=>
array(9) {
["id"]=>
int(26)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/analytics/"
["name"]=>
string(9) "Analytics"
["slug"]=>
string(9) "analytics"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/26"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=26"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[3]=>
array(9) {
["id"]=>
int(51)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/android/"
["name"]=>
string(7) "Android"
["slug"]=>
string(7) "android"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/51"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=51"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[4]=>
array(9) {
["id"]=>
int(95)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/apache/"
["name"]=>
string(6) "Apache"
["slug"]=>
string(6) "apache"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/95"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=95"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[5]=>
array(9) {
["id"]=>
int(89)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/apple/"
["name"]=>
string(5) "Apple"
["slug"]=>
string(5) "apple"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/89"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=89"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[6]=>
array(9) {
["id"]=>
int(55)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/asepsis/"
["name"]=>
string(7) "Asepsis"
["slug"]=>
string(7) "asepsis"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/55"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=55"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[7]=>
array(9) {
["id"]=>
int(41)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/atom/"
["name"]=>
string(4) "Atom"
["slug"]=>
string(4) "atom"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/41"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=41"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[8]=>
array(9) {
["id"]=>
int(108)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/babel/"
["name"]=>
string(5) "Babel"
["slug"]=>
string(5) "babel"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/108"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=108"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[9]=>
array(9) {
["id"]=>
int(23)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/bake/"
["name"]=>
string(4) "bake"
["slug"]=>
string(4) "bake"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/23"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=23"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[10]=>
array(9) {
["id"]=>
int(34)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bitbucket/"
["name"]=>
string(9) "Bitbucket"
["slug"]=>
string(9) "bitbucket"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/34"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=34"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[11]=>
array(9) {
["id"]=>
int(50)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/bootstrap/"
["name"]=>
string(9) "Bootstrap"
["slug"]=>
string(9) "bootstrap"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/50"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=50"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[12]=>
array(9) {
["id"]=>
int(94)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/centos/"
["name"]=>
string(6) "CentOS"
["slug"]=>
string(6) "centos"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/94"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=94"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[13]=>
array(9) {
["id"]=>
int(43)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/coda-2/"
["name"]=>
string(6) "Coda 2"
["slug"]=>
string(6) "coda-2"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/43"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=43"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[14]=>
array(9) {
["id"]=>
int(35)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/codebreak/"
["name"]=>
string(10) "codebreak;"
["slug"]=>
string(9) "codebreak"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/35"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=35"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[15]=>
array(9) {
["id"]=>
int(30)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/composer/"
["name"]=>
string(8) "Composer"
["slug"]=>
string(8) "composer"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/30"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=30"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[16]=>
array(9) {
["id"]=>
int(8)
["count"]=>
int(21)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/css/"
["name"]=>
string(3) "CSS"
["slug"]=>
string(3) "css"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/8"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=8"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[17]=>
array(9) {
["id"]=>
int(20)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/csv/"
["name"]=>
string(3) "CSV"
["slug"]=>
string(3) "csv"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/20"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=20"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[18]=>
array(9) {
["id"]=>
int(79)
["count"]=>
int(4)
["description"]=>
string(0) ""
["link"]=>
string(50) "https://tekuaru.jack-russell.jp/tag/custom-fields/"
["name"]=>
string(13) "Custom Fields"
["slug"]=>
string(13) "custom-fields"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/79"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=79"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[19]=>
array(9) {
["id"]=>
int(115)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/debug/"
["name"]=>
string(5) "Debug"
["slug"]=>
string(5) "debug"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/115"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=115"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[20]=>
array(9) {
["id"]=>
int(40)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/disqus/"
["name"]=>
string(6) "DISQUS"
["slug"]=>
string(6) "disqus"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/40"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=40"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[21]=>
array(9) {
["id"]=>
int(99)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/docker/"
["name"]=>
string(6) "Docker"
["slug"]=>
string(6) "docker"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/99"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=99"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[22]=>
array(9) {
["id"]=>
int(54)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/el-capitan/"
["name"]=>
string(10) "El Capitan"
["slug"]=>
string(10) "el-capitan"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/54"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=54"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[23]=>
array(9) {
["id"]=>
int(5)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/error/"
["name"]=>
string(5) "ERROR"
["slug"]=>
string(5) "error"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/5"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=5"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[24]=>
array(9) {
["id"]=>
int(85)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/evernote/"
["name"]=>
string(8) "Evernote"
["slug"]=>
string(8) "evernote"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/85"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=85"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[25]=>
array(9) {
["id"]=>
int(92)
["count"]=>
int(4)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/facebook/"
["name"]=>
string(8) "Facebook"
["slug"]=>
string(8) "facebook"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/92"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=92"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[26]=>
array(9) {
["id"]=>
int(87)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/feed/"
["name"]=>
string(4) "Feed"
["slug"]=>
string(4) "feed"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/87"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=87"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[27]=>
array(9) {
["id"]=>
int(84)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/firefox/"
["name"]=>
string(7) "Firefox"
["slug"]=>
string(7) "firefox"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/84"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=84"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[28]=>
array(9) {
["id"]=>
int(32)
["count"]=>
int(12)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/git/"
["name"]=>
string(3) "Git"
["slug"]=>
string(3) "git"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/32"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=32"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[29]=>
array(9) {
["id"]=>
int(111)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gitbucket/"
["name"]=>
string(9) "GitBucket"
["slug"]=>
string(9) "gitbucket"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/111"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=111"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[30]=>
array(9) {
["id"]=>
int(33)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/github/"
["name"]=>
string(6) "GitHub"
["slug"]=>
string(6) "github"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/33"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=33"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[31]=>
array(9) {
["id"]=>
int(112)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/gmail/"
["name"]=>
string(5) "Gmail"
["slug"]=>
string(5) "gmail"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/112"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=112"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[32]=>
array(9) {
["id"]=>
int(63)
["count"]=>
int(24)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/google/"
["name"]=>
string(6) "Google"
["slug"]=>
string(6) "google"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/63"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=63"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[33]=>
array(9) {
["id"]=>
int(103)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/gutenberg/"
["name"]=>
string(9) "Gutenberg"
["slug"]=>
string(9) "gutenberg"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/103"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=103"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[34]=>
array(9) {
["id"]=>
int(102)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/htc/"
["name"]=>
string(3) "HTC"
["slug"]=>
string(3) "htc"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/102"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=102"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[35]=>
array(9) {
["id"]=>
int(16)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(39) "https://tekuaru.jack-russell.jp/tag/id/"
["name"]=>
string(2) "ID"
["slug"]=>
string(2) "id"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/16"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=16"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[36]=>
array(9) {
["id"]=>
int(114)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/instagram/"
["name"]=>
string(9) "Instagram"
["slug"]=>
string(9) "instagram"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/114"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=114"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[37]=>
array(9) {
["id"]=>
int(64)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(54) "https://tekuaru.jack-russell.jp/tag/internet-explorer/"
["name"]=>
string(17) "Internet Explorer"
["slug"]=>
string(17) "internet-explorer"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/64"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=64"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[38]=>
array(9) {
["id"]=>
int(80)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/ios/"
["name"]=>
string(3) "iOS"
["slug"]=>
string(3) "ios"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/80"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=80"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[39]=>
array(9) {
["id"]=>
int(88)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/iphone/"
["name"]=>
string(6) "iPhone"
["slug"]=>
string(6) "iphone"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/88"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=88"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[40]=>
array(9) {
["id"]=>
int(9)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/javascript/"
["name"]=>
string(10) "JavaScript"
["slug"]=>
string(10) "javascript"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/9"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=9"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[41]=>
array(9) {
["id"]=>
int(86)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/jquery/"
["name"]=>
string(6) "jQuery"
["slug"]=>
string(6) "jquery"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/86"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=86"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[42]=>
array(9) {
["id"]=>
int(72)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(39) "https://tekuaru.jack-russell.jp/tag/lg/"
["name"]=>
string(2) "LG"
["slug"]=>
string(2) "lg"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/72"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=72"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[43]=>
array(9) {
["id"]=>
int(56)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(49) "https://tekuaru.jack-russell.jp/tag/libre-office/"
["name"]=>
string(12) "Libre Office"
["slug"]=>
string(12) "libre-office"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/56"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=56"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[44]=>
array(9) {
["id"]=>
int(93)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/line/"
["name"]=>
string(4) "LINE"
["slug"]=>
string(4) "line"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/93"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=93"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[45]=>
array(9) {
["id"]=>
int(28)
["count"]=>
int(16)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/mac-os/"
["name"]=>
string(6) "Mac OS"
["slug"]=>
string(6) "mac-os"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/28"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=28"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[46]=>
array(9) {
["id"]=>
int(29)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/mamp/"
["name"]=>
string(4) "MAMP"
["slug"]=>
string(4) "mamp"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/29"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=29"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[47]=>
array(9) {
["id"]=>
int(96)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/mariadb/"
["name"]=>
string(7) "MariaDB"
["slug"]=>
string(7) "mariadb"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/96"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=96"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[48]=>
array(9) {
["id"]=>
int(106)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/material-ui/"
["name"]=>
string(11) "Material-UI"
["slug"]=>
string(11) "material-ui"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/106"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=106"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[49]=>
array(9) {
["id"]=>
int(113)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/mattermost/"
["name"]=>
string(10) "Mattermost"
["slug"]=>
string(10) "mattermost"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/113"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=113"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[50]=>
array(9) {
["id"]=>
int(61)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/microsoft/"
["name"]=>
string(9) "Microsoft"
["slug"]=>
string(9) "microsoft"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/61"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=61"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[51]=>
array(9) {
["id"]=>
int(67)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/ms-office/"
["name"]=>
string(9) "MS Office"
["slug"]=>
string(9) "ms-office"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/67"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=67"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[52]=>
array(9) {
["id"]=>
int(24)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/nas/"
["name"]=>
string(3) "NAS"
["slug"]=>
string(3) "nas"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/24"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=24"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[53]=>
array(9) {
["id"]=>
int(52)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/nexus/"
["name"]=>
string(5) "Nexus"
["slug"]=>
string(5) "nexus"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/52"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=52"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[54]=>
array(9) {
["id"]=>
int(70)
["count"]=>
int(4)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/pagespeed/"
["name"]=>
string(9) "PageSpeed"
["slug"]=>
string(9) "pagespeed"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/70"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=70"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[55]=>
array(9) {
["id"]=>
int(100)
["count"]=>
int(4)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/pipelines/"
["name"]=>
string(9) "Pipelines"
["slug"]=>
string(9) "pipelines"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/100"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=100"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[56]=>
array(9) {
["id"]=>
int(48)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/polymer/"
["name"]=>
string(7) "Polymer"
["slug"]=>
string(7) "polymer"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/48"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=48"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[57]=>
array(9) {
["id"]=>
int(252)
["count"]=>
int(3)
["description"]=>
string(19) "Progressive Web App"
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/pwa/"
["name"]=>
string(3) "PWA"
["slug"]=>
string(3) "pwa"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/252"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=252"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[58]=>
array(9) {
["id"]=>
int(38)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/query/"
["name"]=>
string(5) "Query"
["slug"]=>
string(5) "query"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/38"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=38"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[59]=>
array(9) {
["id"]=>
int(91)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/rbenv/"
["name"]=>
string(5) "rbenv"
["slug"]=>
string(5) "rbenv"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/91"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=91"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[60]=>
array(9) {
["id"]=>
int(105)
["count"]=>
int(12)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/react/"
["name"]=>
string(5) "React"
["slug"]=>
string(5) "react"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/105"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=105"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[61]=>
array(9) {
["id"]=>
int(107)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/redux/"
["name"]=>
string(5) "Redux"
["slug"]=>
string(5) "redux"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/107"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=107"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[62]=>
array(9) {
["id"]=>
int(90)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/sass/"
["name"]=>
string(4) "Sass"
["slug"]=>
string(4) "sass"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/90"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=90"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[63]=>
array(9) {
["id"]=>
int(104)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/seo/"
["name"]=>
string(3) "SEO"
["slug"]=>
string(3) "seo"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/104"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=104"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[64]=>
array(9) {
["id"]=>
int(83)
["count"]=>
int(4)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/sierra/"
["name"]=>
string(6) "Sierra"
["slug"]=>
string(6) "sierra"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/83"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=83"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[65]=>
array(9) {
["id"]=>
int(65)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/sns/"
["name"]=>
string(3) "SNS"
["slug"]=>
string(3) "sns"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/65"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=65"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[66]=>
array(9) {
["id"]=>
int(73)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/sourcetree/"
["name"]=>
string(10) "Sourcetree"
["slug"]=>
string(10) "sourcetree"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/73"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=73"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[67]=>
array(9) {
["id"]=>
int(22)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/sqlite3/"
["name"]=>
string(7) "SQLite3"
["slug"]=>
string(7) "sqlite3"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/22"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=22"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[68]=>
array(9) {
["id"]=>
int(42)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/sublimetext/"
["name"]=>
string(11) "SublimeText"
["slug"]=>
string(11) "sublimetext"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/42"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=42"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[69]=>
array(9) {
["id"]=>
int(31)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/terminal/"
["name"]=>
string(8) "Terminal"
["slug"]=>
string(8) "terminal"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/31"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=31"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[70]=>
array(9) {
["id"]=>
int(77)
["count"]=>
int(0)
["description"]=>
string(37) "コチラ テスト用のタグです"
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/test/"
["name"]=>
string(4) "Test"
["slug"]=>
string(4) "test"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/77"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=77"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[71]=>
array(9) {
["id"]=>
int(101)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/tinymce/"
["name"]=>
string(7) "tinyMCE"
["slug"]=>
string(7) "tinymce"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/101"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=101"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[72]=>
array(9) {
["id"]=>
int(66)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/twitter/"
["name"]=>
string(7) "Twitter"
["slug"]=>
string(7) "twitter"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/66"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=66"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[73]=>
array(9) {
["id"]=>
int(57)
["count"]=>
int(30)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/update/"
["name"]=>
string(6) "Update"
["slug"]=>
string(6) "update"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/57"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=57"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[74]=>
array(9) {
["id"]=>
int(97)
["count"]=>
int(8)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/vagrant/"
["name"]=>
string(7) "Vagrant"
["slug"]=>
string(7) "vagrant"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/97"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=97"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[75]=>
array(9) {
["id"]=>
int(98)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(47) "https://tekuaru.jack-russell.jp/tag/virtualbox/"
["name"]=>
string(10) "VirtualBox"
["slug"]=>
string(10) "virtualbox"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/98"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=98"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[76]=>
array(9) {
["id"]=>
int(62)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(50) "https://tekuaru.jack-russell.jp/tag/visual-studio/"
["name"]=>
string(13) "Visual Studio"
["slug"]=>
string(13) "visual-studio"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/62"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=62"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[77]=>
array(9) {
["id"]=>
int(60)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/tag/web-components/"
["name"]=>
string(14) "Web Components"
["slug"]=>
string(14) "web-components"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/60"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=60"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[78]=>
array(9) {
["id"]=>
int(253)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/webhook/"
["name"]=>
string(7) "Webhook"
["slug"]=>
string(7) "webhook"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/253"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=253"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[79]=>
array(9) {
["id"]=>
int(109)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/webpack/"
["name"]=>
string(7) "webpack"
["slug"]=>
string(7) "webpack"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/109"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=109"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[80]=>
array(9) {
["id"]=>
int(71)
["count"]=>
int(6)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/windows/"
["name"]=>
string(7) "Windows"
["slug"]=>
string(7) "windows"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/71"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=71"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[81]=>
array(9) {
["id"]=>
int(110)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/wp-rest-api/"
["name"]=>
string(11) "WP REST API"
["slug"]=>
string(11) "wp-rest-api"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/110"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=110"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[82]=>
array(9) {
["id"]=>
int(49)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/widget/"
["name"]=>
string(18) "ウィジェット"
["slug"]=>
string(6) "widget"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/49"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=49"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[83]=>
array(9) {
["id"]=>
int(6)
["count"]=>
int(30)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/customize/"
["name"]=>
string(18) "カスタマイズ"
["slug"]=>
string(9) "customize"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/6"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=6"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[84]=>
array(9) {
["id"]=>
int(69)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/cache/"
["name"]=>
string(15) "キャッシュ"
["slug"]=>
string(5) "cache"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/69"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=69"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[85]=>
array(9) {
["id"]=>
int(251)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(91) "https://tekuaru.jack-russell.jp/tag/%e3%82%b5%e3%82%a4%e3%83%88%e3%83%98%e3%83%ab%e3%82%b9/"
["name"]=>
string(18) "サイトヘルス"
["slug"]=>
string(54) "%e3%82%b5%e3%82%a4%e3%83%88%e3%83%98%e3%83%ab%e3%82%b9"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(54) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/251"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(60) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=251"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[86]=>
array(9) {
["id"]=>
int(10)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/shortcode/"
["name"]=>
string(21) "ショートコード"
["slug"]=>
string(9) "shortcode"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/10"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=10"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[87]=>
array(9) {
["id"]=>
int(27)
["count"]=>
int(3)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/spam/"
["name"]=>
string(9) "スパム"
["slug"]=>
string(4) "spam"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/27"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=27"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[88]=>
array(9) {
["id"]=>
int(74)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/tags/"
["name"]=>
string(6) "タグ"
["slug"]=>
string(4) "tags"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/74"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=74"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[89]=>
array(9) {
["id"]=>
int(18)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/taxonomy/"
["name"]=>
string(18) "タクソノミー"
["slug"]=>
string(8) "taxonomy"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/18"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=18"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[90]=>
array(9) {
["id"]=>
int(37)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(46) "https://tekuaru.jack-russell.jp/tag/dashboard/"
["name"]=>
string(21) "ダッシュボード"
["slug"]=>
string(9) "dashboard"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/37"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=37"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[91]=>
array(9) {
["id"]=>
int(4)
["count"]=>
int(10)
["description"]=>
string(0) ""
["link"]=>
string(45) "https://tekuaru.jack-russell.jp/tag/database/"
["name"]=>
string(18) "データベース"
["slug"]=>
string(8) "database"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/4"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=4"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[92]=>
array(9) {
["id"]=>
int(7)
["count"]=>
int(17)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/themes/"
["name"]=>
string(9) "テーマ"
["slug"]=>
string(6) "themes"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(52) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/7"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(58) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=7"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[93]=>
array(9) {
["id"]=>
int(46)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/text-editor/"
["name"]=>
string(24) "テキストエディタ"
["slug"]=>
string(11) "text-editor"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/46"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=46"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[94]=>
array(9) {
["id"]=>
int(47)
["count"]=>
int(7)
["description"]=>
string(0) ""
["link"]=>
string(50) "https://tekuaru.jack-russell.jp/tag/visual-editor/"
["name"]=>
string(27) "ビジュアルエディタ"
["slug"]=>
string(13) "visual-editor"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/47"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=47"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[95]=>
array(9) {
["id"]=>
int(81)
["count"]=>
int(26)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/plugins/"
["name"]=>
string(15) "プラグイン"
["slug"]=>
string(7) "plugins"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/81"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=81"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[96]=>
array(9) {
["id"]=>
int(14)
["count"]=>
int(2)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/media/"
["name"]=>
string(12) "メディア"
["slug"]=>
string(5) "media"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/14"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=14"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[97]=>
array(9) {
["id"]=>
int(12)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/maintenance/"
["name"]=>
string(18) "メンテナンス"
["slug"]=>
string(11) "maintenance"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/12"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=12"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[98]=>
array(9) {
["id"]=>
int(82)
["count"]=>
int(0)
["description"]=>
string(0) ""
["link"]=>
string(40) "https://tekuaru.jack-russell.jp/tag/tmp/"
["name"]=>
string(3) "仮"
["slug"]=>
string(3) "tmp"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/82"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=82"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[99]=>
array(9) {
["id"]=>
int(11)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(44) "https://tekuaru.jack-russell.jp/tag/lengthy/"
["name"]=>
string(6) "冗長"
["slug"]=>
string(7) "lengthy"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/11"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=11"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[100]=>
array(9) {
["id"]=>
int(75)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(51) "https://tekuaru.jack-russell.jp/tag/migration-rate/"
["name"]=>
string(9) "回遊率"
["slug"]=>
string(14) "migration-rate"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/75"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=75"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[101]=>
array(9) {
["id"]=>
int(15)
["count"]=>
int(9)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/page/"
["name"]=>
string(15) "固定ページ"
["slug"]=>
string(4) "page"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/15"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=15"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[102]=>
array(9) {
["id"]=>
int(13)
["count"]=>
int(12)
["description"]=>
string(0) ""
["link"]=>
string(41) "https://tekuaru.jack-russell.jp/tag/post/"
["name"]=>
string(6) "投稿"
["slug"]=>
string(4) "post"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/13"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=13"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[103]=>
array(9) {
["id"]=>
int(36)
["count"]=>
int(5)
["description"]=>
string(0) ""
["link"]=>
string(43) "https://tekuaru.jack-russell.jp/tag/search/"
["name"]=>
string(6) "検索"
["slug"]=>
string(6) "search"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/36"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=36"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[104]=>
array(9) {
["id"]=>
int(76)
["count"]=>
int(1)
["description"]=>
string(0) ""
["link"]=>
string(48) "https://tekuaru.jack-russell.jp/tag/bounce-rate/"
["name"]=>
string(9) "直帰率"
["slug"]=>
string(11) "bounce-rate"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/76"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=76"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
[105]=>
array(9) {
["id"]=>
int(17)
["count"]=>
int(11)
["description"]=>
string(0) ""
["link"]=>
string(42) "https://tekuaru.jack-russell.jp/tag/admin/"
["name"]=>
string(15) "管理ページ"
["slug"]=>
string(5) "admin"
["taxonomy"]=>
string(8) "post_tag"
["meta"]=>
array(0) {
}
["_links"]=>
array(5) {
["self"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(53) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags/17"
}
}
["collection"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(50) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/tags"
}
}
["about"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(65) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/taxonomies/post_tag"
}
}
["wp:post_type"]=>
array(1) {
[0]=>
array(1) {
["href"]=>
string(59) "https://tekuaru.jack-russell.jp/wp-json/wp/v2/posts?tags=17"
}
}
["curies"]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(2) "wp"
["href"]=>
string(23) "https://api.w.org/{rel}"
["templated"]=>
bool(true)
}
}
}
}
}
}