WIKI使用導航
站長百科導航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機
- cPanel
- 網(wǎng)址導航專題
- 云計算
- 微博營銷
- 虛擬主機管理系統(tǒng)
- 開放平臺
- WIKI程序與應用
- 美國十大主機
編輯“WordPress:CPanel X”
該編輯可以被撤銷。 請檢查下面的對比以核實您想要撤銷的內(nèi)容,然后發(fā)布下面的更改以完成撤銷。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
This tutorial will take you step-by-step through the process of installling WordPress with CPanel. | |||
這個指南會帶你一步步地使用CPanel安裝WordPress。 | 這個指南會帶你一步步地使用CPanel安裝WordPress。 | ||
== Login to your site == | |||
== 登錄到你的站點 == | == 登錄到你的站點 == | ||
Login to your website cpanel. | |||
登錄到你的網(wǎng)站cpanel。 | 登錄到你的網(wǎng)站cpanel。 | ||
You should see many icons, but you want just the '''mySQL databases''' one: | |||
你應該看到許多圖標,但是你只想看到'''mySQL 數(shù)據(jù)庫''': | 你應該看到許多圖標,但是你只想看到'''mySQL 數(shù)據(jù)庫''': | ||
[[WordPress:Image:Cpanel1.gif|center|thumb|Initial icon]] | |||
[[WordPress:Image:Cpanel1.gif|center|thumb|最初的圖標]] | [[WordPress:Image:Cpanel1.gif|center|thumb|最初的圖標]] | ||
Click it. | |||
點擊這個圖標。 | 點擊這個圖標。 | ||
This is where all the action takes place. | |||
這是所有操作開始地方。 | 這是所有操作開始地方。 | ||
You may already have other databases and other information there, but just ignore it all - you don't need it. | |||
在那里你可能已經(jīng)有了另外的數(shù)據(jù)庫和其它的信息,你只要忽視這些內(nèi)容-你不需要這些內(nèi)容。 | 在那里你可能已經(jīng)有了另外的數(shù)據(jù)庫和其它的信息,你只要忽視這些內(nèi)容-你不需要這些內(nèi)容。 | ||
[[WordPress:Image:cpanel2.gif|center|thumb|552px|mySQL details]] | |||
[[WordPress:Image:cpanel2.gif|center|thumb|552px|mySQL 詳細信息]] | [[WordPress:Image:cpanel2.gif|center|thumb|552px|mySQL 詳細信息]] | ||
== Add User == | |||
== 添加用戶 == | == 添加用戶 == | ||
Complete the boxes indicated below. And copy your password - don't trust yourself to remember it. Note: If you already have a user account that you use with another database then you can use it without creating a separate account for WordPress. | |||
完成下面暗示的框。并且復制你的密碼-不要依賴你自己來記住密碼。注意:如果你已經(jīng)有個用戶帳戶,用于另一個數(shù)據(jù)庫,你可以使用這個帳戶作為WordPress帳戶,無需為WordPress單獨創(chuàng)建帳戶。 | 完成下面暗示的框。并且復制你的密碼-不要依賴你自己來記住密碼。注意:如果你已經(jīng)有個用戶帳戶,用于另一個數(shù)據(jù)庫,你可以使用這個帳戶作為WordPress帳戶,無需為WordPress單獨創(chuàng)建帳戶。 | ||
[[WordPress:Image:cpanel3.gif|center|thumb|548px|Set User info]] | |||
[[WordPress:Image:cpanel3.gif|center|thumb|548px|設置用戶信息]] | [[WordPress:Image:cpanel3.gif|center|thumb|548px|設置用戶信息]] | ||
Then click '''Add User''' and you will see this screen | |||
然后點擊'''添加用戶''',你就會看到這個界面 | 然后點擊'''添加用戶''',你就會看到這個界面 | ||
[[WordPress:Image:cpanel4.gif|center|thumb|322px|Success !]] | |||
[[WordPress:Image:cpanel4.gif|center|thumb|322px|成功 !]] | [[WordPress:Image:cpanel4.gif|center|thumb|322px|成功 !]] | ||
Click '''Go Back''' | |||
點擊'''返回''' | 點擊'''返回''' | ||
== Create Database == | |||
== 創(chuàng)建數(shù)據(jù)庫 == | == 創(chuàng)建數(shù)據(jù)庫 == | ||
Time to make a database. You should now be looking at the screen below.? Note that you - the User - are listed in a box at the top, and also below the line too. | |||
是創(chuàng)建數(shù)據(jù)庫的時候了。你現(xiàn)在應該看看下面的界面。注意你- 用戶 –列表了頂上方的框子中,也在行的下面。 | 是創(chuàng)建數(shù)據(jù)庫的時候了。你現(xiàn)在應該看看下面的界面。注意你- 用戶 –列表了頂上方的框子中,也在行的下面。 | ||
[[WordPress:Image:cpanel6.gif|center|thumb|552px|mySQL details]] | |||
[[WordPress:Image:cpanel6.gif|center|thumb|552px|mySQL 詳細信息]] | [[WordPress:Image:cpanel6.gif|center|thumb|552px|mySQL 詳細信息]] | ||
Now complete the box where '''wordpress''' is listed. Then click '''Add Db''' | |||
現(xiàn)在完成列出'''wordpress'''的框。然后點擊'''添加Db''' | 現(xiàn)在完成列出'''wordpress'''的框。然后點擊'''添加Db''' | ||
[[WordPress:Image:cpanel7.gif|center|thumb|317px|Success !]] | |||
[[WordPress:Image:cpanel7.gif|center|thumb|317px|成功!]] | [[WordPress:Image:cpanel7.gif|center|thumb|317px|成功!]] | ||
Database is now created. | |||
數(shù)據(jù)庫現(xiàn)在創(chuàng)建了。 | 數(shù)據(jù)庫現(xiàn)在創(chuàng)建了。 | ||
== The Really Important Bit == | |||
==真正重要的Bit == | ==真正重要的Bit == | ||
The two pieces of information you just added are now here on this screen: the user name and the database name. | |||
你剛剛添加的兩條信息,現(xiàn)在出現(xiàn)在這個界面上:用戶名和數(shù)據(jù)庫名。 | 你剛剛添加的兩條信息,現(xiàn)在出現(xiàn)在這個界面上:用戶名和數(shù)據(jù)庫名。 | ||
If you have other databases and users, the whole screen may look different, but this small part will look the same. | |||
如果你還有個數(shù)據(jù)庫和用戶,整個界面看起來不同,但是這個部分看起來仍然相同。 | 如果你還有個數(shù)據(jù)庫和用戶,整個界面看起來不同,但是這個部分看起來仍然相同。 | ||
Look at the two drop-down boxes. | |||
看看兩個下拉框。 | 看看兩個下拉框。 | ||
[[WordPress:Image:cpanel8.gif|center|thumb|554px|The vital click]] | |||
[[WordPress:Image:cpanel8.gif|center|thumb|554px|重要的點擊]] | [[WordPress:Image:cpanel8.gif|center|thumb|554px|重要的點擊]] | ||
The '''User''' box MUST contain the name that you added first above. (Note that for each name you put in, the CPanel has added a prefix.) If you need to, click the drop down to get the name you added to appear in the left hand box. The same applies to the '''Db:''' - get the name of the database in the box too. | |||
'''用戶'''框必須包含你首先添加的名稱。(注意,CPanel為每個你添加的名稱加上了前綴。)如果你需要,點擊下拉框,使得你添加的名稱顯示在左邊的框中。同樣適用于'''Db:''' –也在框中得到數(shù)據(jù)庫名。 | |||
''' | When finished, click the button that says '''Add User to Db'''. | ||
完成后,點擊顯示按鈕'''向Db添加用戶'''。 | 完成后,點擊顯示按鈕'''向Db添加用戶'''。 | ||
Thisis ''REALLY'' important - nothing will work unless you click that button. Honest, it won't. Click it. | |||
這''真的''很重要-只有你點擊按鈕,否則任何操作都不會執(zhí)行。真的,是這樣的。點擊按鈕。 | 這''真的''很重要-只有你點擊按鈕,否則任何操作都不會執(zhí)行。真的,是這樣的。點擊按鈕。 | ||
You should see this. | |||
你將會看到。 | 你將會看到。 | ||
[[WordPress:Image:cpanel9.gif|center|thumb|386px|Success !]] | |||
[[WordPress:Image:cpanel9.gif|center|thumb|386px|成功 !]] | [[WordPress:Image:cpanel9.gif|center|thumb|386px|成功 !]] | ||
Click '''Go Back''' | |||
點擊'''返回''' | 點擊'''返回''' | ||
== Connection Information == | |||
== 連接信息== | == 連接信息== | ||
You've now got three working pieces of information for your <tt>wp-config.php</tt> file. | |||
你現(xiàn)在為你的<tt>wp-config.php</tt>文件得到三條運行信息。 | 你現(xiàn)在為你的<tt>wp-config.php</tt>文件得到三條運行信息。 | ||
This next shot will help you find the fourth. | |||
下一步為你找到第四條信息。 | 下一步為你找到第四條信息。 | ||
[[WordPress:Image:cpanel10.gif|center|thumb|580px|All the info you need]] | |||
[[WordPress:Image:cpanel10.gif|center|thumb|580px|你需要的所有信息]] | [[WordPress:Image:cpanel10.gif|center|thumb|580px|你需要的所有信息]] | ||
Look at the '''Connection String''' that you get. | |||
請看看你得到的'''連接字符串'''。 | 請看看你得到的'''連接字符串'''。 | ||
Does it say '''localhost''' ? If so, excellent. Job is done here. Skip down a section. | |||
是否顯示'''本地主機'''?如果是的,很好。你的任何已經(jīng)完成。跳到下一個部分。 | 是否顯示'''本地主機'''?如果是的,很好。你的任何已經(jīng)完成。跳到下一個部分。 | ||
If it does NOT say '''localhost''', the information you need is still there - just carefully compare where '''localhost''' appears in this screenshot to what you have in your connection string. Remember this information. | |||
如果沒有顯示'''本地主機''',你需要的信息仍然在那兒-只要仔細地將'''本地主機'''出現(xiàn)在這個截屏上的位置與你的連接字符串中出現(xiàn)的位置相比較。記住這個信息。 | 如果沒有顯示'''本地主機''',你需要的信息仍然在那兒-只要仔細地將'''本地主機'''出現(xiàn)在這個截屏上的位置與你的連接字符串中出現(xiàn)的位置相比較。記住這個信息。 | ||
== Editing the WordPress Config File == | |||
== 編輯WordPress Config 文件 == | == 編輯WordPress Config 文件 == | ||
Open the file <tt>wp-config-sample.php</tt> using a [[WordPress:Glossary#Text editor|text editor]]. | |||
There are the four pieces of information you need to complete in the file. The following is an example; yours may look slightly different: | |||
使用[[WordPress:Glossary#Text editor|文本編輯器]]打開文件<tt>wp-config-sample.php</tt>。 | 使用[[WordPress:Glossary#Text editor|文本編輯器]]打開文件<tt>wp-config-sample.php</tt>。 | ||
你需要完成文件中的四條信息。下面是個例子;你的可能看起來稍微不同: | 你需要完成文件中的四條信息。下面是個例子;你的可能看起來稍微不同: | ||
<pre> | |||
// ** MySQL settings ** // | |||
define('DB_NAME', 'wptemp_wordpress');? ? // The name of the database | |||
define('DB_USER', 'wptemp_Podz');? ? // Your MySQL username | |||
define('DB_PASSWORD', 'secret'); // ...and password | |||
define('DB_HOST', 'localhost');? ? // 99% chance you won't need to change this value | |||
</pre> | |||
<pre> | <pre> | ||
// ** MySQL settings ** // | // ** MySQL settings ** // | ||
第90行: | 第171行: | ||
define('DB_HOST', 'localhost');? ? // 99% 的情況下,你不需要更改這個參數(shù)值 | define('DB_HOST', 'localhost');? ? // 99% 的情況下,你不需要更改這個參數(shù)值 | ||
</pre> | </pre> | ||
Note that you must include the prefix that CPanel attaches to your details. | |||
Save the completed file as <tt>wp-config.php</tt>. | |||
注意你必須包含CPanel向你的相信信息中附加的前綴。 | 注意你必須包含CPanel向你的相信信息中附加的前綴。 | ||
將已完成的文件保存為<tt>wp-config.php</tt>。 | 將已完成的文件保存為<tt>wp-config.php</tt>。 | ||
== Install == | |||
== 安裝 == | == 安裝 == | ||
Upload all the WordPress files, including the file above, to the directory where you want it to be. It doesn't have to be called anything in particular - your choice. | |||
將所有的WordPress文件,包括上述的文件,上傳到你中意的目錄中。目錄不需要特別的命名-根據(jù)你的選擇。 | 將所有的WordPress文件,包括上述的文件,上傳到你中意的目錄中。目錄不需要特別的命名-根據(jù)你的選擇。 | ||
Let's say you uploaded the files to a directory called <tt>blog</tt> - use your browser to go to | |||
<tt><nowiki>www.example.com/blog/wp-admin/install.php</nowiki></tt> and then you'll see this screen: | |||
假如你將文件上傳到稱為<tt>博客</tt> 的目錄中-使用你的瀏覽器進入 | 假如你將文件上傳到稱為<tt>博客</tt> 的目錄中-使用你的瀏覽器進入 | ||
<tt><nowiki>www.example.com/blog/wp-admin/install.php</nowiki></tt>你將會看到這個界面: | <tt><nowiki>www.example.com/blog/wp-admin/install.php</nowiki></tt>你將會看到這個界面: | ||
[[WordPress:Image:install21-step0-cropped.png|center|thumb|400px|This is easy isn't it ? :)]] | |||
[[WordPress:Image:install21-step0-cropped.png|center|thumb|400px|這很簡單,是不是 :)]] | [[WordPress:Image:install21-step0-cropped.png|center|thumb|400px|這很簡單,是不是 :)]] | ||
Have fun ! | |||
玩得開心! | 玩得開心! | ||
---- | ---- | ||
---- | |||
==Resources== | |||
==資源== | ==資源== | ||
* [http://www.tamba2.org.uk/wordpress/ Podz' WordPress Guides] | |||
* [http://amxhost.com/cpanelmovies.html AmxHost CPanel Tutorials (Flash)] | |||
* [http://www.tamba2.org.uk/wordpress/ Podz的 WordPress 指南] | * [http://www.tamba2.org.uk/wordpress/ Podz的 WordPress 指南] | ||
* [http://amxhost.com/cpanelmovies.html AmxHost CPanel 指南 (Flash)] | * [http://amxhost.com/cpanelmovies.html AmxHost CPanel 指南 (Flash)] |