{"id":13,"date":"2009-02-06T18:36:18","date_gmt":"2009-02-06T10:36:18","guid":{"rendered":"http:\/\/www.magki.com\/blog\/?p=13"},"modified":"2009-02-08T18:38:25","modified_gmt":"2009-02-08T10:38:25","slug":"lamp-and-the-php-development-environment-builds-the-entire-record-about-linux","status":"publish","type":"post","link":"http:\/\/www.ijony.com\/blog\/2009\/02\/lamp-and-the-php-development-environment-builds-the-entire-record-about-linux.html","title":{"rendered":"LAMP \u4ee5\u53ca PHP \u5f00\u53d1\u73af\u5883\u642d\u5efa\u5168\u8bb0\u5f55\u4e4b Linux \u7bc7"},"content":{"rendered":"<p>\u6211\u4f5c\u4e8b\u60c5\u5927\u591a\u90fd\u662f\u5fc3\u8840\u6765\u6f6e\u4eba\u6765\u75af\u4e4b\u7c7b\u7684\uff0c\u6bd4\u5982\u73b0\u5728\u6b63\u5728\u5fd9\u6d3b\u7684 LAMP \u4ee5\u53ca PHP \u5f00\u53d1\u73af\u5883\u7684\u642d\u5efa\u8bb0\u5f55\uff0c\u5475\u5475\uff0c\u90fd\u662f\u81ea\u5df1\u9aa8\u5b50\u91cc\u90a3\u70b9\u70b9\u5b8c\u7f8e\u4e3b\u4e49\u601d\u60f3\u4f5c\u795f\u3002\u6069\uff0c\u5e0c\u671b\u80fd\u597d\u597d\u628a\u4e4b\u524d\u8fd9\u534a\u4e2a\u661f\u671f\u6240\u5fd9\u6d3b\u7684\u4e1c\u897f\u90fd\u597d\u597d\u5199\u4e00\u4e0b\uff0c\u4ee5\u540e\u81ea\u5df1\u8fd8\u80fd\u5f53\u590d\u4e60\u7528\u3002<\/p>\n<p>\u9996\u5148\u662f\u5b89\u88c5 linux \u7cfb\u7edf\uff0c\u4e3a\u4e86\u65b9\u4fbf\uff0c\u6211\u9009\u7528\u4e86\u6700\u8fd1\u98ce\u5934\u6700\u52b2\u7684 ubuntu \u7248\u672c\u4e3a 8.10\uff0c\u5982\u679c\u7eaf\u7cb9\u4f5c\u4e3a\u5f00\u53d1\u6240\u7528\u7684\u8bdd\uff0c\u5012\u662f\u63a8\u8350\u7528 CentOS\uff0c\u76ee\u524d\u6700\u65b0\u7248\u672c\u662f 5.2\u3002\u8fd9\u91cc\u6211\u8bb0\u5f55\u7684\u662f ubuntu \u7684\u5b89\u88c5\u8bb0\u5f55\uff0c\u5176\u4ed6 linux \u7cfb\u7edf\u5e94\u8be5\u5927\u4f53\u5dee\u4e0d\u591a\u3002\u54e6\uff5e\u5bf9\u4e86\uff0c\u6211\u662f\u88c5\u7684 vista &amp; ubuntu \u53cc\u7cfb\u7edf\u3002\u54c8\u54c8\uff0c\u8fd9\u5927\u6982\u662f\u6211\u8fd9\u4e2a linux \u7bc7\u552f\u4e00\u80fd\u8bf4\u9053\u8bf4\u9053\u7684\u4e8b\u4e86\u5427\u3002<\/p>\n<p>\u6211\u4ee5\u524d\u5347\u7ea7\u786c\u76d8\u6362\u4e0b\u4e86\u4e2a 80G SATA \u786c\u76d8\uff0c\u8fd9\u56de\u6d3e\u4e0a\u7528\u573a\u4e86\uff0c\u53cc\u786c\u76d8\u6765\u88c5\u53cc\u7cfb\u7edf\u6709\u5f88\u591a\u597d\u5904\u7684\uff0c\u5475\u5475\u3002\u4ee5\u524d\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86 vista\uff0c\u73b0\u5728\u5b89\u88c5 ubuntu \u6211\u5148\u628a\u5b89\u88c5\u4e86 vista \u7684\u786c\u76d8\u62d4\u4e0b\u6765\uff0c\u5355\u72ec\u63a5\u4e0a\u8981\u88c5 ubuntu \u7684\u786c\u76d8\uff0c\u4e00\u8def\u9ed8\u8ba4\u65b9\u5f0f\u5b89\u88c5\u597d ubuntu<span style=\"color: #808080;\">\uff08\u5176\u5b9e\u4e0d\u7528\u62d4\u5b89\u88c5 vista \u7684\u786c\u76d8\uff0c\u76f4\u63a5\u5728 BIOS \u91cc\u6307\u5b9a\u7528\u54ea\u5757\u786c\u76d8\u4f5c\u5f15\u5bfc\u5c31\u884c\u4e86\uff0c\u65e0\u89c6\u6211\u7684\u72ed\u9698\u5b8c\u7f8e\u4e3b\u4e49\u601d\u60f3\u5427\uff0c\u54c8\u54c8\uff09<\/span>\u542f\u52a8\u8fdb\u5165\u5230 ubuntu \u91cc\u540e\u63d2\u4e0a\u5b89\u88c5\u6709 vista \u7684\u786c\u76d8<span style=\"color: #808080;\">\uff08\u5927\u5bb6\u7684\u5e94\u8be5\u90fd\u662f SATA \u786c\u76d8\u4e86\u5427\uff09<\/span>\u5728\u7ec8\u7aef\u91cc\u8f93\u5165 sudo gedit \/boot\/grub\/menu.lst \u5220\u9664\u591a\u4f59\u5185\u5bb9\u53ea\u4fdd\u7559\u5173\u4e8e ubuntu \u7684\u542f\u52a8\u9879\u7684\u4ee3\u7801\u5e76\u6dfb\u52a0\u5173\u4e8e vista \u7684\u542f\u52a8\u9879\u4ee3\u7801\uff0c\u6211\u8fd9\u91cc\u4fee\u6539\u5b8c\u540e\u6574\u4e2a\u6587\u4ef6\u7684\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<p><!--more--><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #808080;\">\uff03\u542f\u52a8\u754c\u9762\u9ed8\u8ba4\u9009\u62e9\u7684\u542f\u52a8\u9879\uff0c\u540e\u9762\u7684\u6570\u5b57\u4ee5 0 \u4e3a\u7b2c\u4e00\u9879\u7c7b\u63a8<\/span><br \/>\ndefault 1<br \/>\n<span style=\"color: #808080;\">\uff03\u542f\u52a8\u754c\u9762\u7684\u7b49\u5f85\u65f6\u95f4<\/span><br \/>\ntimeout 10<br \/>\n<span style=\"color: #808080;\">#\u5173\u4e8e Vista \u7684\u542f\u52a8\u9879\u4ee3\u7801 title \u540e\u7684\u5b57\u7b26\u4e32\u53ef\u4ee5\u6362\u6210\u4f60\u559c\u6b22\u7684\uff0c\u5176\u4ed6\u7684\u4e0d\u8981\u52a8 <\/span><br \/>\ntitle Microsoft Windows Vista<br \/>\nacpi<br \/>\nfallback 1<br \/>\nfind &#8211;set-root \/bootmgr<br \/>\nchainloader \/bootmgr<br \/>\n<span style=\"color: #808080;\">#\u5173\u4e8e Ubuntu \u7684\u542f\u52a8\u9879\u4ee3\u7801\uff0c\u8fd9\u91cc\u7684\u5185\u5bb9\u6839\u636e\u4f60\u6240\u5b89\u88c5\u7684 Ubuntu \u7248\u672c\u4e0d\u540c\u800c\u4e0d\u540c<br \/>\n#\u4e0d\u8fc7\u53cd\u6b63\u662f\u7528 menu.lst \u6587\u4ef6\u91cc\u4e4b\u524d\u7684\u5185\u5bb9\u6240\u4fdd\u7559\u4e0b\u6765\u7684\uff0c\u4e0d\u7528\u592a\u5728\u610f\u6211\u8fd9\u91cc\u6240\u5199\u7684<\/span><br \/>\ntitle Ubuntu 8.10, kernel 2.6.27-11-generic<br \/>\nroot (hd1,0)<br \/>\nuuid 18dece04-f62a-4825-857a-3d639443cb6d<br \/>\nkernel \/vmlinuz-2.6.27-11-generic root=UUID=929ca1df-30d7-43a6-8b24-4a959644ee5f ro noapic locale=zh_CN quiet splash<br \/>\ninitrd \/initrd.img-2.6.27-11-generic<br \/>\nquiet<\/p>\n<p>\u4e0d\u8981\u76f4\u63a5\u4fdd\u5b58\uff0c\u7528\u53e6\u5b58\u4e3a\u7684\u65b9\u5f0f\u4fdd\u5b58\u5230 vista \u6240\u5728\u786c\u76d8\u7684\u7cfb\u7edf\u5206\u533a\u6839\u76ee\u5f55\u4e0b\uff0c\u8fd9\u6837\u542f\u52a8\u7535\u8111\u540e\u5c31\u53ef\u4ee5\u81ea\u7531\u9009\u62e9\u8fdb\u5165\u54ea\u4e2a\u7cfb\u7edf\u4e86\u3002\u6069\uff0c\u6211\u8fd9\u4e2a\u65b9\u6cd5\u9002\u7528\u4e8e vista \u8981\u662f vistaload 2.1.2 \u6fc0\u6d3b\u65b9\u5f0f\u5e76\u4e14\u7528\u5176\u6240\u5728\u786c\u76d8\u505a\u4e3b\u5f15\u5bfc\uff0c\u5982\u679c\u8981 ubuntu \u6240\u5728\u786c\u76d8\u505a\u4e3b\u5f15\u5bfc\u5c31\u628a\u4e0a\u9762\u7684 root(hd1,0) \u79fb\u52a8\u5230 vista \u542f\u52a8\u9879\u4ee3\u7801\u7684 title \u4e0b\u9762\u3002<\/p>\n<p>\u563f\u563f\uff0c\u8fd9\u6837\u53cc\u7cfb\u7edf\u5c31\u5b89\u88c5\u597d\u62c9\uff0c\u53cc\u786c\u76d8\u88c5\u53cc\u7cfb\u7edf\u6709\u4ec0\u4e48\u597d\u5904\u5462\uff1f\u5c31\u662f\u968f\u4fbf\u6211\u62c6\u6389\u54ea\u4e2a\u786c\u76d8\u90fd\u4e0d\u4f1a\u5f71\u54cd\u53e6\u4e00\u4e2a\u786c\u76d8\u7684\u7cfb\u7edf\uff0c\u53ef\u4ee5\u975e\u5e38\u7684\u81ea\u7531\u6062\u590d\u6210\u4efb\u4f55\u4e00\u79cd\u5355\u7cfb\u7edf\uff0c\u5494\u5494\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4f5c\u4e8b\u60c5\u5927\u591a\u90fd\u662f\u5fc3\u8840\u6765\u6f6e\u4eba\u6765\u75af\u4e4b\u7c7b\u7684\uff0c\u6bd4\u5982\u73b0\u5728\u6b63\u5728\u5fd9\u6d3b\u7684 LAMP \u4ee5\u53ca PHP \u5f00\u53d1\u73af\u5883\u7684\u642d\u5efa\u8bb0\u5f55\uff0c\u5475\u5475\uff0c\u90fd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/posts\/13"}],"collection":[{"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":0,"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ijony.com\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}