{"id":28818,"date":"2023-01-09T17:26:49","date_gmt":"2023-08-07T15:28:28","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/"},"modified":"2025-08-12T10:16:03","modified_gmt":"2025-08-12T02:16:03","slug":"%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","title":{"rendered":"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09"},"content":{"rendered":"<h1>\u73af\u5883<\/h1>\n<div>\n<div class=\"post-table\">\u540d\u524d\u30d0\u30fc\u30b8\u30e7\u30f3\u30ed\u30fc\u30ab\u30ebOSmacOS Sierra 10.12\u4eee\u60f3\u30b5\u30fc\u30d0\u30fcCentOS7.0<a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\" rel=\"nofollow noopener\">VirtualBox<\/a>5.1.6<a href=\"https:\/\/www.vagrantup.com\/\" target=\"_blank\" rel=\"nofollow noopener\">Vagrant<\/a>1.8<a href=\"http:\/\/php.net\/manual\/ja\/\" target=\"_blank\" rel=\"nofollow noopener\">PHP<\/a>7.0.15<a href=\"http:\/\/silex-users-jp.phper.jp\/\" target=\"_blank\" rel=\"nofollow noopener\">Silex<\/a>2.0CSS \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afbootstrap<a href=\"https:\/\/getcomposer.org\/\" target=\"_blank\" rel=\"nofollow noopener\">composer<\/a><br \/>\nIDEphpStrom<\/div>\n<\/div>\n<h2>* \u8fc1\u79fb\u5230Laravel<\/h2>\n<h3>\u4ee5\u540e\u7684\u66f4\u65b0\u5c06\u5728\u8fd9\u91cc\u8fdb\u884c\u3002<\/h3>\n<ul class=\"post-ul\">Laraveler\u306b\u306a\u308a\u305f\u3044\u3088(\u74b0\u5883\u69cb\u7bc9\u3067\u8a70\u307e\u3063\u305f\u3068\u3053\u30e1\u30e2)<\/ul>\n<h2>\u8bbe\u5b9a<\/h2>\n<h3>\u6700\u521d\u7684\u8bbe\u5b9a<\/h3>\n<h4>PHP7<\/h4>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">LAMP\u306e\u69cb\u6210<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30cf\u30a4\u30d5\u30f3\u3092\u542b\u3080host\u540d\u3092\u5909\u66f4\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">VirtualBox\u3068CentOS\u3067LAMP\u74b0\u5883\u3092\u4f5c\u3063\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">vagrant\u3092\u7528\u3044\u305fPHP\u306e\u74b0\u5883\u69cb\u7bc9<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Vagrant+VirtualBox\u3067PHP\u958b\u767a\u74b0\u5883\u69cb\u7bc9<\/ul>\n<h3>CentOS\u7684\u914d\u7f6e<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">5\u5206\u3067\u7d42\u308f\u3089\u305b\u308bCentOS7\u306efirewalld\u8a2d\u5b9a<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS7\u6700\u5c0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089HTTP\u63a5\u7d9a\u304c\u63a5\u7d9a\u3067\u304d\u308b\u307e\u3067<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS\u306bApache HTTP Server\uff08httpd\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">.htaccess\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u65b9\u3068\u8a2d\u7f6e\u65b9\u6cd5(3\u30da\u30fc\u30b8\u76ee)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u3010\u5206\u304b\u3063\u3066\u66f8\u3044\u3066\u308b\uff1f\u3011.htaccess\u306e\u66f8\u304d\u65b9\u3068\u8a2d\u5b9a\u65b9\u6cd5\u307e\u3068\u3081<\/ul>\n<h3>Apache\u7684\u8be6\u7ec6\u4fe1\u606f<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Web\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9(Apache)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS\u306bApache HTTP Server\uff08httpd\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30c6\u30b9\u30c8\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Apache \u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\u300chttpd: Could not reliably determine the server\u2019s fully qualified domain name, using XXXXXXXXXXXXX for ServerName\u300d\u3068\u51fa\u529b\u3055\u308c\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Command line: &#8216;\/usr\/sbin\/httpd -D FOREGROUND\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS7 SELinux\u306e\u7121\u52b9\u5316\u624b\u9806<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Apache\u306emod_rewrite\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">mod rewrite<\/ul>\n<\/li>\n<\/ul>\n<p>mode_rewriete\u5165\u9580<br \/>\nApache\u306emod_rewrite\u306b\u3088\u308bURL\u66f8\u63db\u306b\u3064\u3044\u3066\u306e\u307e\u3068\u3081\uff08\uff11\uff09RewriteRule\uff0bRewriteCond<br \/>\nWeb\u30b5\u30fc\u30d0\u3000Apache<\/p>\n<h2>\u77fd\u5229\u514b\u65af<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Symfony\u521d\u5fc3\u8005\u304c\u3064\u307e\u3065\u304d\u304c\u3061\u306a22\u500b\u306e\u30dd\u30a4\u30f3\u30c8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PHP AIRCHIVE<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5931\u6557\u3057\u305f\u3068\u304d\u306b\u78ba\u8a8d\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>Why Silex return \u201cThe requested URL \/home was not found on this server.\u201d error message?<\/p>\n<h2>\u5728DB\u5468\u56f4\u7684\u8bbe\u7f6e\u4e2d<\/h2>\n<h3>\u9996\u5148\u6211\u4eec\u770b\u8fd9\u8fb9\u3002<\/h3>\n<ul class=\"post-ul\">PHP\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u3068\u304d\u306e\u307e\u3068\u3081<\/ul>\n<h2>SQL (Structured Query Language) \u7ffb\u8bd1\u4e3a\u4e2d\u6587\u4e3a\uff1a\u201c\u7ed3\u6784\u5316\u67e5\u8be2\u8bed\u8a00\u201d\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">SQL\u8b1b\u5ea7<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">SQL TECHSCORE<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u9006\u5f15\u304dSQL\u69cb\u6587\u96c6<\/ul>\n<h4>\u4eceCentOS7\u5230\u73b0\u5728<\/h4>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">How To Install MySQL on CentOS 7<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4eca\u66f4\u306a\u304c\u3089Vagrant\u306eCentOS7\u306bMySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30e1\u30e2<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">CentOS7\u306bMySQL\u5c0e\u5165\uff06\u521d\u671f\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3046<\/ul>\n<h4>MYSQL5.7 -&gt; MYSQL 5.7 \u7248\u672c<\/h4>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">mysql5.7\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">MySQL 5.7\u3067root\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u8a2d\u5b9a<\/ul>\n<\/li>\n<\/ul>\n<p>SQL\u30e6\u30fc\u30b6\u30fc\u8981\u6ce8\u610f\uff01\u610f\u5916\u3068\u77e5\u3089\u306a\u3044MySQL\u306eroot\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u65b9\u6cd5<br \/>\nMySQL\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u306b\u3064\u3044\u3066\uff08ERROR 1045 (28000): Access denied for user \u2026\u3068\u304b\u306e\u554f\u984c\uff09Add Star<br \/>\nmysqli\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067&#8221;No such file or directory&#8221;\u306e\u30a8\u30e9\u30fc<br \/>\nMySQL \u5916\u90e8\u30db\u30b9\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b<\/p>\n<h2>\u4f5c\u66f2\u5bb6<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Composer\u3067\u59cb\u3081\u308b PHP\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u7ba1\u7406<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Composer\u3092\u4f7f\u3063\u305f\u7c21\u5358Travis CI\u8a2d\u5b9a<\/ul>\n<h3>\u7ed9\u81ea\u5df1<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30e6\u30fc\u30b6\u30fc\u306e\u5909\u66f4<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">MySQL\u304c\u8d77\u52d5\u3067\u304d\u306a\u304f\u306a\u3063\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">MySQL\u306e\u30a8\u30e9\u30fc\u5099\u5fd8\u9332<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">mysqli\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067&#8221;No such file or directory&#8221;\u306e\u30a8\u30e9\u30fc<\/ul>\n<h2>\u89c6\u89c9\u5de5\u4f5c\u5ba4\u4ee3\u53f7<\/h2>\n<ul class=\"post-ul\">Visual Studio Code \u30c1\u30fc\u30c8\u30b7\u30fc\u30c8<\/ul>\n<h2>\u6d41\u6d6a\u8005\u76f8\u5173<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Vagrant\u3067\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u63a5\u7d9a\uff06Web\u30b5\u30fc\u30d0\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u3088\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Vagrant\u3067CentOS7\u74b0\u5883\u69cb\u7bc9\u3057\u3066Web\u30da\u30fc\u30b8\u307f\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3068\u304d<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Vagrant\u3067CentOS7\u3092\u7acb\u3066\u305f\u304c\u3001http\u30a2\u30af\u30bb\u30b9\u304c\u7e4b\u304c\u3089\u306a\u3044\u6642\u306b\u3084\u3063\u305f\u3053\u3068<\/ul>\n<h3>\u865a\u62df\u673a\u7684\u201c\u589e\u5f3a\u529f\u80fd\u96c6\u201d<\/h3>\n<p>\u3010\u89e3\u6c7a\u3057\u305f\u3011Vagrant\u3067vagrant-vbguest\u3092\u4f7f\u3063\u3066\u305f\u3089\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30de\u30a6\u30f3\u30c8\u306b\u5931\u6557\u3059\u308b<\/p>\n<p>Vagrant\u306ebox\u306eGuest Additions\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5<br \/>\nVagrant Box\u306eGuest Additons\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5<\/p>\n<h3>\u5904\u7406 mount \u9519\u8bef\u65f6\u7684\u65b9\u6cd5<\/h3>\n<ul class=\"post-ul\">Vagrant\u306bCentOS 6.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/ul>\n<h3>\u5176\u4ed6<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Vagrant\u30a8\u30e9\u30fc\u3042\u308c\u3053\u308c\u306b\u95a2\u3059\u308b\u5bfe\u51e6\u6cd5<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Vagrant hostsupdater\u306e\u4f7f\u3044\u65b9<\/ul>\n<\/li>\n<\/ul>\n<p>Vagrant\u306e\/etc\/hosts\u7cfb\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6bd4\u3079\u3066\u307f\u305f(vagrant-hostmanager \/ vagrant-hostsupdater \/ vagrant-hosts)<\/p>\n<p>vagrant &amp; Veewee \u3092 windows \u4e0a\u3067\u5229\u7528\u3059\u308b<\/p>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u5165\u9580<\/p>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u69cb\u6587\u30fb\u66f8\u304d\u65b9\u3068\u5b9f\u884c\u65b9\u6cd5\uff5e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3082<br \/>\ncron<br \/>\n\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u3067\u5229\u7528\u3055\u308c\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u624b\u6cd5<br \/>\nSSL\u306e\u8a2d\u5b9a<\/p>\n<h3>\u98ce\u683c<\/h3>\n<ul class=\"post-ul\">Semantic UI<\/ul>\n<h4>Rule<\/h4>\n<ul class=\"post-ul\">SQL\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9<\/ul>\n<p>\u6211\u4f5c\u4e3a\u5907\u5fd8\u5f55\u8bb0\u5f55\u4e0b\u6765\u3002\u6211\u4f1a\u4ee5\u540e\u628a\u8fd9\u4e9b\u5185\u5bb9\u5206\u5f00\u6574\u7406\u6210\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883 \u540d\u524d\u30d0\u30fc\u30b8\u30e7\u30f3\u30ed\u30fc\u30ab\u30ebOSmacOS Sierra 10.12\u4eee\u60f3\u30b5\u30fc\u30d0\u30fcCentOS7.0Virtua [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28818","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528vagrant\u7684lamp\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528vagrant\u7684lamp\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-07T15:28:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T02:16:03+00:00\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\",\"name\":\"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-07T15:28:28+00:00\",\"dateModified\":\"2025-08-12T02:16:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"description\":\"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528vagrant\u7684lamp\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09","og_description":"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528vagrant\u7684lamp\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-07T15:28:28+00:00","article_modified_time":"2025-08-12T02:16:03+00:00","author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","name":"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-07T15:28:28+00:00","dateModified":"2025-08-12T02:16:03+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"description":"\u5173\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5efa\u7acb\u4e00\u4e2a\u4f7f\u7528Vagrant\u7684LAMP\u73af\u5883\uff08\u4e2a\u4eba\u5907\u5fd8\u5f55\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e4%bd%bf%e7%94%a8vagrant%e7%9a%84lamp%e7%8e%af%e5%a2%83%ef%bc%88%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28818"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28818\/revisions"}],"predecessor-version":[{"id":84378,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28818\/revisions\/84378"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}