{"id":20639,"date":"2017-06-24T00:19:40","date_gmt":"2017-06-23T15:19:40","guid":{"rendered":"https:\/\/oichinote.com\/plus\/?p=20639"},"modified":"2017-06-24T00:19:28","modified_gmt":"2017-06-23T15:19:28","slug":"accress-vccw-from-network","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2017\/06\/accress-vccw-from-network.html","title":{"rendered":"VCCW\u3092\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u4ed6\u306ePC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b"},"content":{"rendered":"<p>FreeBSD\u4e0a\u3067VirtualBox+Vargrant+VCCW\u3067WordPress\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\u3002\u3067\u3059\u304c\u3001\u3053\u306eWordPress\u306fFreeBSD\u5185\u304b\u3089\u3067\u3057\u304b\u30a2\u30b9\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306eMac\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"5ty39v4OZB\"><a href=\"https:\/\/oichinote.com\/plus\/2017\/06\/vccw-on-freebsd.html\">FreeBSD\u3067VCCW\u3092\u4f7f\u3063\u3066WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a[\u8ffd\u8a18\u3042\u308a]<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;FreeBSD\u3067VCCW\u3092\u4f7f\u3063\u3066WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a[\u8ffd\u8a18\u3042\u308a]&#8221; &#8212; \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593\" src=\"https:\/\/oichinote.com\/plus\/2017\/06\/vccw-on-freebsd.html\/embed#?secret=kfBwXE8Rr3#?secret=5ty39v4OZB\" data-secret=\"5ty39v4OZB\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<p>\u306a\u3093\u3068\u304b\u306a\u3089\u306a\u3044\u304b\u3068\u8abf\u3079\u3066\u3044\u305f\u3089\u3001\u7c21\u5358\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\/etc\/hosts\u306e\u8a2d\u5b9a\u3068VCCS\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63\u3067\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af192.168.0.0\/24\u3092\u4f7f\u3063\u3066\u3044\u308b\u7269\u3068\u3057\u307e\u3059\u3002FQDN\u306fvpress.example.com\u3068\u3057\u307e\u3059\u3002<\/p>\n<h2>\/etc\/hosts\u306e\u8a2d\u5b9a<\/h2>\n<p>\/etc\/hosts\u306b\u767b\u9332\u3057\u307e\u3059\u3002dnsmasq\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001\/usr\/local\/etc\/rc.d\/dnsmaskq restart\u3067\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"dns\">192.168.0.100   vpress vpress.example.com\r\n<\/code><\/pre>\n<h2>VCCW\u306e\u8a2d\u5b9a<\/h2>\n<p>VCCW\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u4fee\u6b63\u3059\u308b\u306e\u306f2\u30f6\u6240\u3067\u3059\u3002<\/p>\n<h3>Vagrantfile\u306e\u4fee\u6b63<\/h3>\n<p>Vagrantfile\u306e\u4e2d\u3067\u3001public network\u306b\u5909\u66f4\u3057\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u305f\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3092\u5272\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"ruby\">  config.vm.hostname = _conf[&#039;hostname&#039;]\r\n#  config.vm.network :private_network, ip: _conf[&#039;ip&#039;]\r\n  config.vm.network :public_network, ip: _conf[&#039;ip&#039;]\r\n<\/code><\/pre>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5468\u308a\u306f\u3001\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/labs.septeni.co.jp\/entry\/20140707\/1404670069\" target=\"_blank\">Vagrant\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5468\u308a\u306e\u3042\u308c\u3053\u308c &#8211; Septeni Engineer&#8217;s Blog<\/a><\/li>\n<\/ul>\n<h3>site.yml\u306e\u4fee\u6b63<\/h3>\n<p>site.yml\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u30db\u30b9\u30c8\u540d\u3068IP\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002site.yml\u306b\u66f8\u3044\u305f\u5185\u5bb9\u3067\u3001provision\/default.yml\u306e\u8a2d\u5b9a\u3092\u4e0a\u66f8\u304d\u3067\u304d\u307e\u3059\u3002site.yml\u306f\u3001Vagrantfile\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"yml\">hostname: vpress.example.com\r\nip: 192.168.0.100\r\n<\/code><\/pre>\n<p>\u6b21\u306e\u30da\u30fc\u30b8\u306b\u8aac\u660e\u304c\u3042\u308a\u307e\u3059\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/firegoby.jp\/archives\/6109\" target=\"_blank\">VCCW 2.0.0 \u2013 \u8a2d\u5b9a\u3092yml\u30d5\u30a1\u30a4\u30eb\u3067\u8a18\u8ff0\u3059\u308b\u4ed5\u69d8\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002 | Firegoby<\/a><\/li>\n<\/ul>\n<h2>\u8d77\u52d5<\/h2>\n<p>vagrant up\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>Mac\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u7121\u4e8b\u306b\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170624vccw-on-freebsd-via-safari.png\" alt=\"Safari\u304b\u3089\u30a2\u30af\u30bb\u30b9\" width=\"480\" height=\"317\" class=\"alignnone size-full wp-image-20663\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170624vccw-on-freebsd-via-safari.png 480w, https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170624vccw-on-freebsd-via-safari-150x99.png 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n[amazonjs asin=\"4873116651\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD\u4e0a\u3067VirtualBox+Vargrant+VCCW\u3067WordPress\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\u3002\u3067\u3059\u304c\u3001\u3053\u306eWordPress\u306fFreeBSD\u5185\u304b\u3089\u3067\u3057\u304b\u30a2\u30b9\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306eMac\u304b\u3089\u306f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20663,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eVCCW\u3092\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u4ed6\u306ePC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[60,34,33,5],"tags":[],"class_list":["post-20639","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd","category-mac","category-wordpress","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170624vccw-on-freebsd-via-safari.png","jetpack-related-posts":[{"id":20627,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/vccw-on-freebsd.html","url_meta":{"origin":20639,"position":0},"title":"FreeBSD\u3067VCCW\u3092\u4f7f\u3063\u3066WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670823\u65e5","format":false,"excerpt":"\u30b5\u30fc\u30d0\u30fc\u304c\u5fa9\u6d3b\u3057\u3066\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u304c\u3084\u3063\u3068\u3084\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u4e00\u3064\u304c\u3001\u30b5\u30fc\u30d0\u30fc(FreeBSD\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"FreeBSD\u3067VCCW","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170623vccw-on-freebsd.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8920,"url":"https:\/\/oichinote.com\/plus\/2013\/08\/setting-dnsmasq-on-freebsd.html","url_meta":{"origin":20639,"position":1},"title":"FreeBSD\u306bDNSMASQ\u3092\u8a2d\u5b9a\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e748\u670812\u65e5","format":false,"excerpt":"NAS\u7528\u3068\u3057\u3066\u7d44\u307f\u4e0a\u3052\u305fFreeBSD\u6a5f\u306f\u3001\u5bb6\u5ead\u5185\u30b5\u30fc\u30d0\u3068\u3057\u3066\u3082\u4f7f\u3044\u307e\u3059\u3002 \u307e\u305a\u3001\u6291\u3048\u3066\u304a\u304d\u305f\u3044\u306e\u306f\u2026","rel":"","context":"iPad\/iPod\/iPhone","block_context":{"text":"iPad\/iPod\/iPhone","link":"https:\/\/oichinote.com\/plus\/category\/ipad-ipod-iphone"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19708,"url":"https:\/\/oichinote.com\/plus\/2017\/03\/netatalk-and-samba46-collaboration.html","url_meta":{"origin":20639,"position":2},"title":"git\u7248samba46\u3092\u4f7f\u3063\u3066\u3001Netatalk\u3068Samba\u3092\u5171\u5b58","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e743\u670820\u65e5","format":false,"excerpt":"FreeBSD11\u306esamba44\u3067Netatalk\u3068Samba\u306e\u5171\u5b58\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3067\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"Samba46","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/03\/20170320samba46.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6054,"url":"https:\/\/oichinote.com\/plus\/2013\/04\/l2tp-vpn-server-in-freebsd-9-1.html","url_meta":{"origin":20639,"position":3},"title":"FreeBSD 9.1\u3092IPsec\u5bfe\u5fdcL2TP VPN\u30b5\u30fc\u30d0\u306b\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e744\u670827\u65e5","format":false,"excerpt":"\u4e00\u5fdc\u3001\u6b21\u306e\u8a2d\u5b9a\u3067\u5916\u51fa\u5148\u304b\u3089\u81ea\u5b85\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3001VPN\u63a5\u7d9a\u3067\u304d\u3066\u3044\u307e\u3059\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7248Mac\u3092VPN\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/10\/20151014gatag-00000078.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16825,"url":"https:\/\/oichinote.com\/plus\/2016\/01\/cannot-mount-synced-folder-on-vagrant.html","url_meta":{"origin":20639,"position":4},"title":"Vagrant\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u306a\u304b\u3063\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2016\u5e741\u670820\u65e5","format":false,"excerpt":"Vagrant\u4e0a\u306eVCCW\u3092\u4f7f\u3063\u3066\u3001WordPress\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002 VCCW\u3067Wor\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"VCCW mounted","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2016\/01\/20160120vccw-mounted.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":14204,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/php-with-fastcgi-on-freebsd10.html","url_meta":{"origin":20639,"position":5},"title":"FreeBSD10\u3067PHP5.4\u3092Apache24+FastCGI\u3067\u52d5\u304b\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e742\u67089\u65e5","format":false,"excerpt":"FreeBSD\u3067Redmine\u3092FastCGI\u7d4c\u7531\u3067\u52d5\u304b\u3059\u4e8b\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002 FreeBSD10\u3067R\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"PHP on FastCGI","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/02\/20150209php-on-fastcgi.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/20639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=20639"}],"version-history":[{"count":8,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/20639\/revisions"}],"predecessor-version":[{"id":20669,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/20639\/revisions\/20669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/20663"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=20639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=20639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=20639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}