久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress: Installing WPMU:修訂間差異

來自站長百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索
無編輯摘要
無編輯摘要
第1行: 第1行:
== WordPress MU, or WordPress Multi User ==
== WordPress MU, 或者WordPress多個(gè)用戶==
== WordPress MU, 或者WordPress多個(gè)用戶==
[[WordPress:WordPressMU|WordPress MU]], or WordPressμ, is the multi-user version of the WordPress blogging application, that allows you to run hundreds of thousands of blogs with a single install of WordPress, and is most famously used for WordPress.com.


[[WordPress:WordPressMU|WordPress MU]],或者WordPressμ,是著名的WordPress博客軟件的多用戶版本,安裝一個(gè)WordPress,就可以運(yùn)行成千上萬個(gè)博客,最常見是在WordPress.com上的使用。
[[WordPress:WordPressMU|WordPress MU]],或者WordPressμ,是著名的WordPress博客軟件的多用戶版本,安裝一個(gè)WordPress,就可以運(yùn)行成千上萬個(gè)博客,最常見是在WordPress.com上的使用。
== Installing WordPress MU ==


== 安裝 WordPress MU ==
== 安裝 WordPress MU ==


Adapted from [[WordPress:Installing_WordPress]]:
根據(jù)[[WordPress:Installing_WordPress| Installing_WordPress]]改編:
根據(jù)[[WordPress:Installing_WordPress| Installing_WordPress]]改編:
1. [http://mu.wordpress.org/download/ Download] and unzip the WordPress MU package, if you haven't already. The unzipped files will be created in a directory named "wordpressmu" followed by a version or "wpmu" followed by a date.
1.如果你還沒有準(zhǔn)備好,[http://mu.wordpress.org/download/ 下載]并且解壓WordPress MU軟件包。解壓后的文件會(huì)在名為"wordpressmu"目錄中創(chuàng)建,目錄后有個(gè)版本名稱或者"wpmu"后面有個(gè)日期。
1.如果你還沒有準(zhǔn)備好,[http://mu.wordpress.org/download/ 下載]并且解壓WordPress MU軟件包。解壓后的文件會(huì)在名為"wordpressmu"目錄中創(chuàng)建,目錄后有個(gè)版本名稱或者"wpmu"后面有個(gè)日期。
For the sake of convenience, rename this folder "wordpressmu" before continuing.


為了更便利,將這個(gè)文件夾重新命名為"wordpressmu"再繼續(xù)。
為了更便利,將這個(gè)文件夾重新命名為"wordpressmu"再繼續(xù)。
2. Create a database for WordPress MU on your web server, as well as a !MySQL user who has all privileges for accessing and modifying it.


2.在你的網(wǎng)絡(luò)服務(wù)器上為WordPress MU創(chuàng)建個(gè)數(shù)據(jù)庫,!MySQL用戶有權(quán)限訪問和更改這個(gè)數(shù)據(jù)庫。
2.在你的網(wǎng)絡(luò)服務(wù)器上為WordPress MU創(chuàng)建個(gè)數(shù)據(jù)庫,!MySQL用戶有權(quán)限訪問和更改這個(gè)數(shù)據(jù)庫。
3. Place the WordPress MU files in the desired location on your web server:


3.將WordPress MU文件放到你的網(wǎng)絡(luò)服務(wù)器上適當(dāng)?shù)奈恢蒙希?/div>
3.將WordPress MU文件放到你的網(wǎng)絡(luò)服務(wù)器上適當(dāng)?shù)奈恢蒙希?/div>
* If you want to integrate WordPress MU into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress MU directory (but excluding the directory itself) into the root directory of your web server.


*如果你希望將WordPress MU與你的根域名相結(jié)合(例如http://example.com/)將解壓的WordPress MU目錄的所有內(nèi)容(但是目錄本身除外)轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄。
*如果你希望將WordPress MU與你的根域名相結(jié)合(例如http://example.com/)將解壓的WordPress MU目錄的所有內(nèi)容(但是目錄本身除外)轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄。


* If you want to have your WordPress MU installation in its own subdirectory on your web site (e.g. http://example.com/blogs/), rename the directory wordpressmu to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress MU installation in a subdirectory called "blog", you should rename the directory called "wordpressmu" to "blogs" and upload it to the root directory of your web server.
*如果你將WordPress MU安裝在你的網(wǎng)站上WordPress MU自身的子目錄中(例如http://example.com/blogs/),將目錄wordpressmu重新命名為你喜歡的子目錄名并且將這個(gè)目錄轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器上。例如,如果你希望WordPress MU安裝在稱為"博客"的子目錄上,你應(yīng)該將稱為"wordpressmu"的目錄重新命名為"blogs"并且將目錄上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄上。
*如果你將WordPress MU安裝在你的網(wǎng)站上WordPress MU自身的子目錄中(例如http://example.com/blogs/),將目錄wordpressmu重新命名為你喜歡的子目錄名并且將這個(gè)目錄轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器上。例如,如果你希望WordPress MU安裝在稱為"博客"的子目錄上,你應(yīng)該將稱為"wordpressmu"的目錄重新命名為"blogs"并且將目錄上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄上。
4. Run the WordPress MU installation script by accessing index.php in your favorite web browser.


4.在你最喜愛的網(wǎng)絡(luò)瀏覽器中訪問index.php,運(yùn)行安裝WordPress MU腳本。
4.在你最喜愛的網(wǎng)絡(luò)瀏覽器中訪問index.php,運(yùn)行安裝WordPress MU腳本。
* If you installed WordPress MU in the root directory, you should visit: http://example.com/index.php
*如果你在根目錄中安裝了WordPress MU,你應(yīng)該訪問:http://example.com/index.php
*如果你在根目錄中安裝了WordPress MU,你應(yīng)該訪問:http://example.com/index.php


* If you installed WordPress MU in its own subdirectory called blogs, for example, you should visit: http://example.com/blogs/index.php
*如果你在WordPress MU自身稱為博客的子目錄中安裝WordPress MU,你應(yīng)該訪問:http://example.com/blogs/index.php
*如果你在WordPress MU自身稱為博客的子目錄中安裝WordPress MU,你應(yīng)該訪問:http://example.com/blogs/index.php
*If you're upgrading, skip to the end of this document.


*如果你正在升級,跳到這個(gè)文檔的最后部分。
*如果你正在升級,跳到這個(gè)文檔的最后部分。
*If you fill in the form and get a blank page, with no errors logged, the first thing to check is that you have php-mysql installed.


*如果你填寫了表格,得到了空白的頁面,沒有錯(cuò)誤,首先要檢查的是你已經(jīng)安裝了php-mysql。
*如果你填寫了表格,得到了空白的頁面,沒有錯(cuò)誤,首先要檢查的是你已經(jīng)安裝了php-mysql。
? On Fedora and Centos: <tt>yum install php-mysql</tt>.
? On RedHat: <tt>up2date php-mysql</tt>.
在Fedora和Centos: <tt>yum install php-mysql</tt>.
在Fedora和Centos: <tt>yum install php-mysql</tt>.
? 在RedHat: <tt>up2date php-mysql</tt>. ?
在RedHat: <tt>up2date php-mysql</tt>. ?
?
?
== HTTP Server : Apache ==
== HTTP 服務(wù)器 : Apache ==
== HTTP 服務(wù)器 : Apache ==
Apache must be configured so that mod_rewrite works. Here are instructions for Apache 2. Apache 1.3 is very similar.


Apache必須配置,mod_rewrite才能夠運(yùn)行。下面是Apache 2的指示說明。Apache 1.3非常相似。
Apache必須配置,mod_rewrite才能夠運(yùn)行。下面是Apache 2的指示說明。Apache 1.3非常相似。
? 1. Make sure a line like the following appears in your httpd.conf LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so


?? 1.確定像下面的這一行出現(xiàn)在你的httpd.conf LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
?? 1.確定像下面的這一行出現(xiàn)在你的httpd.conf LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so


?? 2. In the <Directory> directive of your virtual host, look for this line "AllowOverride None" and change it to "AllowOverride FileInfo Options"
?? 2.在你的虛擬主機(jī)的<目錄>命令中,查找"AllowOverride None"并且將其更改為"AllowOverride FileInfo 選項(xiàng)"
?
? 2.在你的虛擬主機(jī)的<目錄>命令中,查找"AllowOverride None"并且將其更改為"AllowOverride FileInfo 選項(xiàng)"
?
? 3. In the <VirtualHost?> section of the config file for your host there will be a line defining the hostname. You need to add the following if you want virtual hosts to work properly: "ServerAlias *.domain.tld". Replace domain.tld with whatever your one is, and remove the quotes.
? ?
? ?
? 3.在你的主機(jī)配置文件的<VirtualHost?>部分,有一行定義了主機(jī)名。如果你希望虛擬主機(jī)正常運(yùn)行,你需要添加下面的內(nèi)容:"ServerAlias *.domain.tld"。將domain.tld替換,并且移除引號(hào)。
? 3.在你的主機(jī)配置文件的<VirtualHost?>部分,有一行定義了主機(jī)名。如果你希望虛擬主機(jī)正常運(yùn)行,你需要添加下面的內(nèi)容:"ServerAlias *.domain.tld"。將domain.tld替換,并且移除引號(hào)。
?
=== Rewriting Rules for others HTTP Server ===


=== 其它的HTTP服務(wù)器的重寫規(guī)則===
=== 其它的HTTP服務(wù)器的重寫規(guī)則===


'''Lighttpd'''
'''Lighttpd'''
'''Lighttpd'''
Rewriting method: (best)


重寫方法:(最好的)
重寫方法:(最好的)
? url.rewrite-once = (
? ? "^/(.*)?/?files/$" => "index.php",
? ? "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
? ? "^/(wp-.*)$" => "$1",
? ? "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
? ? "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
? ? "(\?.*)$" => "index.php$1",
? ? "." => "index.php"
? )
url.rewrite-once = (
url.rewrite-once = (
?? ? "^/(.*)?/?files/$" => "index.php",
?? ? "^/(.*)?/?files/$" => "index.php",
第116行: 第53行:
?? )
?? )


Without rewriting method:
沒有重寫方法:
沒有重寫方法:
? server.error-handler-404 = "/index.php"


?? server.error-handler-404 = "/index.php"
?? server.error-handler-404 = "/index.php"
Source:
資源:
資源:
* [http://mu.wordpress.org/forums/topic.php?id=3901 Topic on WPmu Forums]
* [http://r00tshell.com/archives/2007/05/16/wordpress-lighttpd-permalinks-without-rewrite/ Brute method]
* [http://blog.nix.is/lighttpd-rewrite-rules-for-wordpress Rules for WordPress & WordPress Mu]
* [http://sudhaker.com/2008/04/wordpress-permalinks-lighttpd/ Magnet Mod]
* [http://mu.wordpress.org/forums/topic.php?id=3901 WPmu 論壇上的話題]
* [http://mu.wordpress.org/forums/topic.php?id=3901 WPmu 論壇上的話題]
* [http://r00tshell.com/archives/2007/05/16/wordpress-lighttpd-permalinks-without-rewrite/ Brute method]
* [http://r00tshell.com/archives/2007/05/16/wordpress-lighttpd-permalinks-without-rewrite/ Brute method]
* [http://blog.nix.is/lighttpd-rewrite-rules-for-wordpress WordPress & WordPress Mu規(guī)則]
* [http://blog.nix.is/lighttpd-rewrite-rules-for-wordpress WordPress & WordPress Mu規(guī)則]
* [http://sudhaker.com/2008/04/wordpress-permalinks-lighttpd/ Magnet Mod]
* [http://sudhaker.com/2008/04/wordpress-permalinks-lighttpd/ Magnet Mod]
'''Nginx'''
? rewrite ^.*/files/(.*) /wp-content/blogs.php?file=$1
? if (!-e $request_filename) {
? ? rewrite ^.+/?(/wp-.*) $1 last;
? ? rewrite ^.+/?(/.*\.php)$ $1 last;
? ? rewrite ^(.+)$ /index.php?q=$1 last;
? }
'''Nginx'''
'''Nginx'''


第158行: 第69行:
?? ? rewrite ^(.+)$ /index.php?q=$1 last;
?? ? rewrite ^(.+)$ /index.php?q=$1 last;
?? }
?? }
Source:
資源:
資源:
*[http://siava.su/2008/04/28/wordpress-mu-rewrite-rules-for-nginx/ Rules for Nginx]
*[http://mu.wordpress.org/forums/topic.php?id=3410 Discussion on WPmu Forums]
*[http://siava.su/2008/04/28/wordpress-mu-rewrite-rules-for-nginx/ 、 Nginx規(guī)則]
*[http://siava.su/2008/04/28/wordpress-mu-rewrite-rules-for-nginx/ 、 Nginx規(guī)則]
*[http://mu.wordpress.org/forums/topic.php?id=3410 WPmu論壇上的討論]
*[http://mu.wordpress.org/forums/topic.php?id=3410 WPmu論壇上的討論]
== DNS ==
== 域名服務(wù)器 ==
== 域名服務(wù)器 ==
If you want to host blogs of the form http://blog.domain.tld/ where domain.tld is the domain name of your machine then you must add a wildcard record to your DNS records. This usually means adding a "*" hostname record pointing at your webserver in your DNS configuration tool. Matt has a more detailed explanation: http://ma.tt/2003/10/wildcard-dns-and-sub-domains/
如果你想要托管http://blog.domain.tld/形式的博客,domain.tld是你的電腦的域名,那么你需要向你的域名服務(wù)器添加通配符。這通常指的是添加"*" 主機(jī)名record指向你的DNS配置工具中的網(wǎng)絡(luò)服務(wù)器。Matt擁有更詳細(xì)的解釋:http://ma.tt/2003/10/wildcard-dns-and-sub-domains/
如果你想要托管http://blog.domain.tld/形式的博客,domain.tld是你的電腦的域名,那么你需要向你的域名服務(wù)器添加通配符。這通常指的是添加"*" 主機(jī)名record指向你的DNS配置工具中的網(wǎng)絡(luò)服務(wù)器。Matt擁有更詳細(xì)的解釋:http://ma.tt/2003/10/wildcard-dns-and-sub-domains/
== PHP ==
== PHP ==
== PHP ==
For security reasons, it's very important that PHP be configured as follows:
出于安全方面的考慮,PHP配置成以下的形式很重要:
出于安全方面的考慮,PHP配置成以下的形式很重要:
?
#不要向?yàn)g覽器顯示錯(cuò)誤信息。這個(gè)選項(xiàng)基本是關(guān)閉的,但是當(dāng)你測試的時(shí)候,你會(huì)打開,而且可能忘記重新啟動(dòng)它。
# Don't display error messages to the browser. This is almost always turned off but sometimes when you're testing you turn this on and forget to reset it.
?
#不要向?yàn)g覽器顯示錯(cuò)誤信息。這個(gè)選項(xiàng)基本是關(guān)閉的,但是當(dāng)你測試的時(shí)候,你會(huì)打開,而且可能忘記關(guān)閉。
?
# GLOBAL variables must be turned off. This is one of the first things any security aware admin will do. These days the default is for it to be off!


#必須關(guān)閉全局變數(shù)。這是管理員需要處理的第一個(gè)安全方面的問題。如今,默認(rèn)為關(guān)閉!
#必須關(guān)閉全局變數(shù)。這是管理員需要處理的第一個(gè)安全方面的問題。如今,默認(rèn)為關(guān)閉!
# If you want to restrict blog signups, set the restrict domain email setting in the admin.


#如果你想要限制博客注冊人數(shù),在管理中設(shè)置限制域名電子郵件設(shè)置。
#如果你想要限制博客注冊人數(shù),在管理中設(shè)置限制域名電子郵件設(shè)置。
The easiest way of configuring it is via the .htaccess file that is created during the install. If you haven't installed WPMU yet then edit the file htaccess.dist in this directory and add these two lines at the top:


最簡單的配置方法是通過.htaccess文件,這個(gè)文件是安裝的時(shí)候,創(chuàng)建的。如果你還沒有安裝WPMU,那么編輯這個(gè)目錄中的文件htaccess.dist,并且將這兩行添加到頂上方:
最簡單的配置方法是通過.htaccess文件,這個(gè)文件是安裝的時(shí)候,創(chuàng)建的。如果你還沒有安裝WPMU,那么編輯這個(gè)目錄中的文件htaccess.dist,并且將這兩行添加到頂上方:
? php_flag register_globals 0
? php_flag display_errors 0
php_flag register_globals 0 ?
php_flag register_globals 0 ?
? php_flag display_errors 0
php_flag display_errors 0
?
This is NOT included in that file by default because it doesn't work on all machines. If it doesn't work on your machine, you'll get a cryptic "500 internal error" after you install WPMU. To remove the offending lines just edit the file ".htaccess" in your install directory and you'll see them at the top. Delete and save the file again. Read here for how to enable this: http://ie.php.net/configuration.changes


默認(rèn)情況下,這兩行不包含在文件中,但是這兩行并不是在所有電腦中都能夠運(yùn)行。如果不能夠在你的電腦上運(yùn)行,安裝WPMU后,你會(huì)得到含義模糊的"500 內(nèi)部錯(cuò)誤"。移除這兩行,在你的安裝目錄中編輯文件".htaccess",你能夠在頂上方看到。再次地刪除并且保存文件。在這里閱讀怎樣操作:http://ie.php.net/configuration.changes
默認(rèn)情況下,這兩行不包含在文件中,但是這兩行并不是在所有電腦中都能夠運(yùn)行。如果不能夠在你的電腦上運(yùn)行,安裝WPMU后,你會(huì)得到含義模糊的"500 內(nèi)部錯(cuò)誤"。移除這兩行,在你的安裝目錄中編輯文件".htaccess",你能夠在頂上方看到。再次地刪除并且保存文件。在這里閱讀怎樣操作:http://ie.php.net/configuration.changes
If you don't want to edit your .htaccess file then you need to change your php.ini. It's beyond the scope of this README to know exactly where it is on your machine, but if you're on a shared hosted server you probably don't have access to it as it requires root or administrator privileges to change.


如果你不想要編輯.htaccess文件,你就需要更改你的php.ini。這個(gè)README不了解php.ini位于你的電腦上的什么位置,但是如果你在共享的主機(jī)服務(wù)器上,你可能不需要訪問php.ini,因此訪問php.ini需要根目錄訪問或者管理員權(quán)限來更改。
如果你不想要編輯.htaccess文件,你就需要更改你的php.ini。這個(gè)README不了解php.ini位于你的電腦上的什么位置,但是如果你在共享的主機(jī)服務(wù)器上,你可能不需要訪問php.ini,因此訪問php.ini需要根目錄訪問或者管理員權(quán)限來更改。
If you do have root access, try "locate php.ini" or check in:


如果你真的有根目錄訪問選項(xiàng),試著"locate php.ini"或者進(jìn)入是:
如果你真的有根目錄訪問選項(xiàng),試著"locate php.ini"或者進(jìn)入是:
? /etc/php4/apache2/php.ini
? /usr/local/lib/php.ini
/etc/php4/apache2/php.ini ?
/etc/php4/apache2/php.ini ?
?? /usr/local/lib/php.ini
?? /usr/local/lib/php.ini
Once you have opened your php.ini, look for the sections related to register_globals and display_errors. Make sure both are Off like so:


你一旦打開了你的php.ini,查找register_globals 和display_errors的相關(guān)部分。確定兩個(gè)部分都如下:
你一旦打開了你的php.ini,查找register_globals 和display_errors的相關(guān)部分。確定兩個(gè)部分都如下:
? display_errors = Off
? register_globals = Off
?? display_errors = Off ?
?? display_errors = Off ?
?? register_globals = Off
?? register_globals = Off
You'll have to restart Apache after you modify your php.ini for the settings to be updated.


更改php.ini,使得設(shè)置更新之后,你必須重啟Apache。
更改php.ini,使得設(shè)置更新之后,你必須重啟Apache。
== Upgrading ==
== 升級 ==
== 升級 ==
Please see this page for instructions on upgrading your install: http://trac.mu.wordpress.org/wiki/UpgradingWpmu


請看看這個(gè)頁面上,關(guān)于升級你的安裝內(nèi)容的指示:http://trac.mu.wordpress.org/wiki/UpgradingWpmu
請看看這個(gè)頁面上,關(guān)于升級你的安裝內(nèi)容的指示:http://trac.mu.wordpress.org/wiki/UpgradingWpmu
第249行: 第105行:
== Support Forum and Bug Reports ==
== Support Forum and Bug Reports ==


= 支持論壇和程序缺陷報(bào)告==
= 支持論壇和程序漏洞報(bào)告==
?
Please read http://trac.mu.wordpress.org/wiki/DebuggingWpmu before asking any questions. Without all the information required there we'll just ask for it anyway or worse, your request will be ignored.
?
詢問任何問題之前,請閱讀http://trac.mu.wordpress.org/wiki/DebuggingWpmu。如果你不了解上面的信息,你可能重復(fù)問了同個(gè)問題,更糟的是,你的問題可能被忽視。
詢問任何問題之前,請閱讀http://trac.mu.wordpress.org/wiki/DebuggingWpmu。如果你不了解上面的信息,你可能重復(fù)問了同個(gè)問題,更糟的是,你的問題可能被忽視。
http://mu.wordpress.org/forums/
http://mu.wordpress.org/forums/
?
Trac是我們的程序漏洞追蹤系統(tǒng)。請閱讀上述的鏈接,再遞交程序漏洞報(bào)告:http://trac.mu.wordpress.org/report/1
http://mu.wordpress.org/forums/
?
Trac is our bug tracking system. Again, please read the above link before submitting a bug report: http://trac.mu.wordpress.org/report/1
?
Trac是我們的程序缺陷追蹤系統(tǒng)。請閱讀上述的鏈接,再遞交程序缺陷報(bào)告:http://trac.mu.wordpress.org/report/1
?
You can login to both sites using your wordpress.org username and password.


你可以使用你的wordpress.org用戶名和密碼登錄到兩個(gè)站點(diǎn)上。
你可以使用你的wordpress.org用戶名和密碼登錄到兩個(gè)站點(diǎn)上。
== Related ==
== 相關(guān)的 ==
== 相關(guān)的 ==
http://mu.wordpress.org/download/
http://mu.wordpress.org/download/
http://mu.wordpress.org/download/

2008年9月25日 (四) 11:45的版本

WordPress MU, 或者WordPress多個(gè)用戶

WordPress MU,或者WordPressμ,是著名的WordPress博客軟件的多用戶版本,安裝一個(gè)WordPress,就可以運(yùn)行成千上萬個(gè)博客,最常見是在WordPress.com上的使用。

安裝 WordPress MU

根據(jù) Installing_WordPress改編: 1.如果你還沒有準(zhǔn)備好,下載并且解壓WordPress MU軟件包。解壓后的文件會(huì)在名為"wordpressmu"目錄中創(chuàng)建,目錄后有個(gè)版本名稱或者"wpmu"后面有個(gè)日期。

為了更便利,將這個(gè)文件夾重新命名為"wordpressmu"再繼續(xù)。

2.在你的網(wǎng)絡(luò)服務(wù)器上為WordPress MU創(chuàng)建個(gè)數(shù)據(jù)庫,!MySQL用戶有權(quán)限訪問和更改這個(gè)數(shù)據(jù)庫。

3.將WordPress MU文件放到你的網(wǎng)絡(luò)服務(wù)器上適當(dāng)?shù)奈恢蒙希?

  • 如果你希望將WordPress MU與你的根域名相結(jié)合(例如http://example.com/)將解壓的WordPress MU目錄的所有內(nèi)容(但是目錄本身除外)轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄。
  • 如果你將WordPress MU安裝在你的網(wǎng)站上WordPress MU自身的子目錄中(例如http://example.com/blogs/),將目錄wordpressmu重新命名為你喜歡的子目錄名并且將這個(gè)目錄轉(zhuǎn)移或者上傳到你的網(wǎng)絡(luò)服務(wù)器上。例如,如果你希望WordPress MU安裝在稱為"博客"的子目錄上,你應(yīng)該將稱為"wordpressmu"的目錄重新命名為"blogs"并且將目錄上傳到你的網(wǎng)絡(luò)服務(wù)器的根目錄上。

4.在你最喜愛的網(wǎng)絡(luò)瀏覽器中訪問index.php,運(yùn)行安裝WordPress MU腳本。

  • 如果你正在升級,跳到這個(gè)文檔的最后部分。
  • 如果你填寫了表格,得到了空白的頁面,沒有錯(cuò)誤,首先要檢查的是你已經(jīng)安裝了php-mysql。

在Fedora和Centos: yum install php-mysql. 在RedHat: up2date php-mysql.

HTTP 服務(wù)器 : Apache

Apache必須配置,mod_rewrite才能夠運(yùn)行。下面是Apache 2的指示說明。Apache 1.3非常相似。

  1.確定像下面的這一行出現(xiàn)在你的httpd.conf LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
  2.在你的虛擬主機(jī)的<目錄>命令中,查找"AllowOverride None"并且將其更改為"AllowOverride FileInfo 選項(xiàng)"

  3.在你的主機(jī)配置文件的<VirtualHost?>部分,有一行定義了主機(jī)名。如果你希望虛擬主機(jī)正常運(yùn)行,你需要添加下面的內(nèi)容:"ServerAlias *.domain.tld"。將domain.tld替換,并且移除引號(hào)。

其它的HTTP服務(wù)器的重寫規(guī)則

Lighttpd

重寫方法:(最好的) url.rewrite-once = (

   "^/(.*)?/?files/$" => "index.php",
   "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
   "^/(wp-.*)$" => "$1",
   "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
   "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
   "(\?.*)$" => "index.php$1",
   "." => "index.php"
  )

沒有重寫方法:

  server.error-handler-404 = "/index.php"

資源:

Nginx

  rewrite ^.*/files/(.*) /wp-content/blogs.php?file=$1
  if (!-e $request_filename) {
   rewrite ^.+/?(/wp-.*) $1 last;
   rewrite ^.+/?(/.*\.php)$ $1 last;
   rewrite ^(.+)$ /index.php?q=$1 last;
  }

資源:

域名服務(wù)器

如果你想要托管http://blog.domain.tld/形式的博客,domain.tld是你的電腦的域名,那么你需要向你的域名服務(wù)器添加通配符。這通常指的是添加"*" 主機(jī)名record指向你的DNS配置工具中的網(wǎng)絡(luò)服務(wù)器。Matt擁有更詳細(xì)的解釋:http://ma.tt/2003/10/wildcard-dns-and-sub-domains/

PHP

出于安全方面的考慮,PHP配置成以下的形式很重要:

  1. 不要向?yàn)g覽器顯示錯(cuò)誤信息。這個(gè)選項(xiàng)基本是關(guān)閉的,但是當(dāng)你測試的時(shí)候,你會(huì)打開,而且可能忘記重新啟動(dòng)它。
  1. 必須關(guān)閉全局變數(shù)。這是管理員需要處理的第一個(gè)安全方面的問題。如今,默認(rèn)為關(guān)閉!
  1. 如果你想要限制博客注冊人數(shù),在管理中設(shè)置限制域名電子郵件設(shè)置。

最簡單的配置方法是通過.htaccess文件,這個(gè)文件是安裝的時(shí)候,創(chuàng)建的。如果你還沒有安裝WPMU,那么編輯這個(gè)目錄中的文件htaccess.dist,并且將這兩行添加到頂上方: php_flag register_globals 0 php_flag display_errors 0

默認(rèn)情況下,這兩行不包含在文件中,但是這兩行并不是在所有電腦中都能夠運(yùn)行。如果不能夠在你的電腦上運(yùn)行,安裝WPMU后,你會(huì)得到含義模糊的"500 內(nèi)部錯(cuò)誤"。移除這兩行,在你的安裝目錄中編輯文件".htaccess",你能夠在頂上方看到。再次地刪除并且保存文件。在這里閱讀怎樣操作:http://ie.php.net/configuration.changes

如果你不想要編輯.htaccess文件,你就需要更改你的php.ini。這個(gè)README不了解php.ini位于你的電腦上的什么位置,但是如果你在共享的主機(jī)服務(wù)器上,你可能不需要訪問php.ini,因此訪問php.ini需要根目錄訪問或者管理員權(quán)限來更改。

如果你真的有根目錄訪問選項(xiàng),試著"locate php.ini"或者進(jìn)入是: /etc/php4/apache2/php.ini

  /usr/local/lib/php.ini

你一旦打開了你的php.ini,查找register_globals 和display_errors的相關(guān)部分。確定兩個(gè)部分都如下:

  display_errors = Off 
  register_globals = Off

更改php.ini,使得設(shè)置更新之后,你必須重啟Apache。

升級

請看看這個(gè)頁面上,關(guān)于升級你的安裝內(nèi)容的指示:http://trac.mu.wordpress.org/wiki/UpgradingWpmu

Support Forum and Bug Reports

支持論壇和程序漏洞報(bào)告=

詢問任何問題之前,請閱讀http://trac.mu.wordpress.org/wiki/DebuggingWpmu。如果你不了解上面的信息,你可能重復(fù)問了同個(gè)問題,更糟的是,你的問題可能被忽視。 http://mu.wordpress.org/forums/ Trac是我們的程序漏洞追蹤系統(tǒng)。請閱讀上述的鏈接,再遞交程序漏洞報(bào)告:http://trac.mu.wordpress.org/report/1

你可以使用你的wordpress.org用戶名和密碼登錄到兩個(gè)站點(diǎn)上。

相關(guān)的

http://mu.wordpress.org/download/