{"id":450,"date":"2006-05-01T05:01:57","date_gmt":"2006-04-30T21:01:57","guid":{"rendered":"https:\/\/www.zuola.com\/weblog\/?p=450"},"modified":"2006-05-01T05:54:21","modified_gmt":"2006-04-30T21:54:21","slug":"%e6%b1%82%e5%8a%a9%ef%bc%9a%e8%a3%85wp-mu%e7%9a%84%e9%81%87%e5%88%b0%e4%ba%86%e9%97%ae%e9%a2%98%e5%85%b3%e9%94%ae%e5%ad%97%ef%bc%9ahttpcomwealog","status":"publish","type":"post","link":"https:\/\/www.zuola.com\/weblog\/2006\/05\/450.htm","title":{"rendered":"\u5b89\u88c5WPMU\u7684\u7b14\u8bb0"},"content":{"rendered":"<p>\u5728\u81ea\u5df1\u7684\u7b14\u8bb0\u672c\u4e0a\u7528PQmagic\u5272\u51fa5G\u51fa\u6765,\u88c5\u4e86\u4e00\u4e2aDebian GNU\/Linux 3.1 ,Mysql\u3001Apache2\u3001Php\u90fd\u88c5\u4e0a\u4e86\uff0c\u6839\u636e\u4e07\u80fd\u7684\u4e0a\u5e1dGoogle\u7684\u6307\u5f15\uff0c\u7b97\u662f\u52c9\u5f3a\u914d\u7f6e\u597d\u8fd9\u4e00\u5207\u4e86\u3002<\/p>\n<blockquote><p>vi \/etc\/mysql\/my.cnf<br \/>\n\u6539mysql\u7684\u9ed8\u8ba4\u5b57\u7b26\u96c6<br \/>\nvi \/ect\/php4\/apache2\/php.ini<br \/>\n\u6309WPMU\u7684\u8bf4\u660e\u628aphp_flag register_globals\u548cphp_flag display_errors\u90fd\u8bbe\u7f6e\u4e3aOff<br \/>\nvi \/etc\/apache2\/sites-available\/default<br \/>\n\u5728RedirectMatch ^\/$ \/apache2-default\/ \u8fd9\u4e00\u884c\u524d\u9762\u52a0\u4e00\u4e2a#<br \/>\n\u5c06&#8221;AllowOverride None&#8221;\u6539\u6210&#8221;AllowOverride FileInfo Options&#8221;<br \/>\nvi \/etc\/apache2\/httpd.conf<br \/>\n\u52a0\u5165\u8fd9\u884cLoadModule reworte_module \/usr\/lib\/apache2\/modules\/mod_rewrite.so<br \/>\napache2 -k restart<br \/>\ncd \/var\/www\/<br \/>\nwget <a href=\"http:\/\/blogs.linux.ie\/download\/wpmu\/wpmu-unstable.tar.gz\">http:\/\/blogs.linux.ie\/download\/wpmu\/wpmu-unstable.tar.gz<\/a><br \/>\ntar -zxvf wpmu-unstable.tar.gz<br \/>\nmv wpmu-2006-04-29\/*.* .\/<br \/>\nmv wpmu-2006-04-29\/wp-inst .\/<br \/>\nchmod 777 wp-inst<br \/>\nchmod 777 wp-inst\/wp-content<br \/>\ncd ..<br \/>\nchmod 777 www<\/p><\/blockquote>\n<p>\u7136\u540e\u5728\u53e6\u4e00\u53f0\u7535\u8111\u7684hosts\u6587\u4ef6\u4e2d\u52a0\u5165<\/p>\n<blockquote><p>192.168.1.2 www.wealog.com<br \/>\n192.168.1.2 wealog.com<br \/>\n192.168.1.2 *.wealog.com<\/p><\/blockquote>\n<p>\u6253\u5f00http:\/\/www.wealog.com\/phpmyadmin\/\u3000\u589e\u52a0\u4e00\u4e2a\u53ebwordpress\u7684\u6570\u636e\u5e93\uff1b<br \/>\n\u6253\u5f00<a href=\"http:\/\/www.wealog.com\/\">http:\/\/www.wealog.com<\/a>\uff0c\u8f93\u5165\u6570\u636e\u5e93\u540d\u5b57\uff0c\u7528\u6237\u540d\uff0c\u5bc6\u7801\uff0cIP\u5730\u5740\uff0c\u4e0b\u4e00\u6b65\uff0cWPMU\u4f3c\u4e4e\u6210\u529f\u5b89\u88c5\u597d\u4e86\u3002<\/p>\n<div>\u5b89\u88c5\u65f6\u9009\u62e9<font style=\"background-color: #ffffcc\"><strong>Virtual Server Support: <input type=\"radio\" name=\"vhost\" value=\"yes\" \/> Yes<\/strong>\u00a0\u00a0<\/font>\u5c31\u4e0d\u4f1a\u51fa\u73b0<a onclick=\"return top.js.OpenExtLink(window,event,this)\" href=\"http:\/\/com\/wealog\/\" target=\"_blank\">http:\/\/com\/wealog\/<\/a>\u7684\u5947\u602a\u5730\u5740.<\/div>\n<div>\u6211\u7684MU\u5df2\u7ecf\u5efa\u597d\u4e86.\u76ee\u524d\u8fd8\u8981\u89e3\u51b3\u4e0d\u80fd\u53d1\u9001\u6ce8\u518c\u90ae\u4ef6\u7684\u95ee\u9898\u548c\u6ca1\u6709\u5b9e\u73b0\u6cdb\u57df\u540d\u89e3\u6790\u7684\u95ee\u9898:)<\/div>\n<div>\n<blockquote dir=\"ltr\" style=\"margin-right: 0px\"><p><font style=\"background-color: #ffffcc\">Apache will have to have a <q>wildcard<\/q> alias configured in the virtual server definition of your server. You&#8217;ll have to add a wildcard DNS record for your domain too. That&#8217;s usually as easy as adding a <q>*<\/q> hostname in your online dns software.<\/font><\/p>\n<p><font style=\"background-color: #ffffcc\">Virtual Server Support: <input type=\"radio\" name=\"vhost\" value=\"yes\" \/> Yes\u00a0\u00a0<input type=\"radio\" name=\"vhost\" value=\"no\" \/>No<\/font><\/p><\/blockquote>\n<\/div>\n<p>\u5982\u679c\u4f60\u8db3\u591f\u5e78\u8fd0\u7684\u8bdd,\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e92\u8054\u7f51\u770b\u5230<a href=\"http:\/\/www.wealog.com\/\">http:\/\/www.wealog.com<\/a> \u7684\u96cf\u5f62.\u6211\u7528\u52a8\u6001\u57df\u540d\u82b1\u751f\u58f3\u628a\u670d\u52a1\u5668\u67b6\u8bbe\u5728\u5bb6\u91cc.\u4e0d\u8fc7,\u6211\u4e0d\u80fd\u4fdd\u8bc1\u6211\u4e0d\u4f1a\u5076\u5c14\u5173\u6389\u8fd9\u53f0\u7535\u8111\u5e72\u70b9\u522b\u7684\u4e8b:)<br \/>\n\u5bf9\u4e86,wealog.com\u4ecd\u5728\u6d4b\u8bd5,\u5c1a\u4e0d\u63d0\u4f9b\u6ce8\u518c\u529f\u80fd\uff0e<br \/>\n\u8fd8\u6709\u5f88\u591a\u4e8b\u8981\u505a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u81ea\u5df1\u7684\u7b14\u8bb0\u672c\u4e0a\u7528PQmagic\u5272\u51fa5G\u51fa\u6765,\u88c5\u4e86\u4e00\u4e2aDebian GNU\/Li <span class=\"readmore\"><a href=\"https:\/\/www.zuola.com\/weblog\/2006\/05\/450.htm\">Continue Reading &#8230;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-450","post","type-post","status-publish","format-standard","hentry","category-random"],"views":2491,"_links":{"self":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/comments?post=450"}],"version-history":[{"count":0,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}