WIKI使用導(dǎo)航
站長百科導(dǎo)航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計算
- 微博營銷
- 虛擬主機(jī)管理系統(tǒng)
- 開放平臺
- WIKI程序與應(yīng)用
- 美國十大主機(jī)
WordPress:Using cPanel
This tutorial will take you step-by-step through the process of installling WordPress with CPanel.
這個指南會指導(dǎo)你一步步地使用CPanel安裝WordPress。
Login to your site[ ]
登錄的你的站點(diǎn)[ ]
Login to your website cpanel. 登錄到你的網(wǎng)站cpanel。
You should see many icons, but you want just the mySQL databases one:
你將會看到許多圖標(biāo),但是你只是想要mySQL 數(shù)據(jù)庫圖標(biāo):
Click it. 點(diǎn)擊這個圖標(biāo)。
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)容。
center|thumb|552px|mySQL details
center|thumb|552px|mySQL 詳細(xì)信息
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.
完成下面顯示的框。并且復(fù)制你的密碼-不要指望你自己記住這個密碼。注:如果你已經(jīng)有個用戶帳戶,你在另一個數(shù)據(jù)庫中使用這個帳戶,那么你可以繼續(xù)使用這個帳戶,不需要為WordPress創(chuàng)建單獨(dú)的帳戶。
center|thumb|548px|Set User info
center|thumb|548px|設(shè)置用戶信息
Then click Add User and you will see this screen 然后,點(diǎn)擊添加用戶,你就會看到這個界面 center|thumb|322px|Success !
Click Go Back 點(diǎn)擊返回
Create Database[ ]
創(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)在應(yīng)該看看下面的界面。注意你-用戶-列在了框的頂上方,而且也在行的下方。
center|thumb|552px|mySQL details
center|thumb|552px|mySQL 詳細(xì)信息
Now complete the box where wordpress is listed. Then click Add Db
現(xiàn)在完成列出wordpress的框。然后,點(diǎn)擊添加 Db
Database is now created. 數(shù)據(jù)庫現(xiàn)在創(chuàng)建好了。
The Really Important 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ù)庫名。
If you have other databases and users, the whole screen may look different, but this small part will look the same.
如果你還有個數(shù)據(jù)庫名和用戶,整個界面會看起來不同,但是這個小部分看起來是一樣的。
Look at the two drop-down boxes. 看看這兩個下拉框。
center|thumb|554px|The vital click
center|thumb|554px|重要的點(diǎn)擊
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都會添加一個前綴。)如果你需要,點(diǎn)擊下拉框,會看到你添加的名稱,顯示在左邊的框中。這同樣適用于Db: –也在框中得到數(shù)據(jù)庫的名稱。
When finished, click the button that says Add User to Db.
完成后,點(diǎn)擊顯示給 Db添加用戶的按鈕。
This is REALLY important - nothing will work unless you click that button. Honest, it won't. Click it.
這真的重要-除非你點(diǎn)擊這個按鈕,否則,任何操作都不會運(yùn)行。真的,不會。點(diǎn)擊按鈕。
You should see this. 你會看到。 center|thumb|386px|Success !
Click Go Back 點(diǎn)擊返回
Connection Information[ ]
連接信息[ ]
You've now got three working pieces of information for your wp-config.php file.
你現(xiàn)在為你的wp-config.php文件,得到三方面的信息。
This next shot will help you find the fourth. 接著是幫你找到第四方面的信息。 center|thumb|580px|All the info you need
Look at the Connection String that you get.
看看你得到的連接字符串。
Does it say localhost ? If so, excellent. Job is done here. Skip down a section.
顯示本地主機(jī)嗎?如果是這樣的,很好。任務(wù)完成了。跳到下一個部分。
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.
如果沒有顯示本地主機(jī),你所需要的信息應(yīng)該在這里-只要將這個截屏中本地主機(jī)出現(xiàn)的位置與你的連接字符串仔細(xì)比較。記住這個信息。
Editing the WordPress Config File[ ]
編輯WordPress 配置文件[ ]
Open the file wp-config-sample.php using a text editor.
使用文本編輯器打開文件wp-config-sample.php。
There are the four pieces of information you need to complete in the file. The following is an example; yours may look slightly different:
你需要完成這個文件中,四個方面的信息。下面是個例子,你的文件中的部分,看起來可能會有所不同。
// ** 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
// ** MySQL 設(shè)置 ** // 定義('DB_NAME', 'wptemp_wordpress'); // 數(shù)據(jù)庫名 定義('DB_USER', 'wptemp_Podz'); // 你的MySQL 用戶名 定義('DB_PASSWORD', 'secret'); // ...和密碼 定義('DB_HOST', 'localhost'); // 你可能99% 都不需要更改這個參數(shù)值
Note that you must include the prefix that CPanel attaches to your details.
注意你必須包含CPanel附加到你詳細(xì)信息上的前綴。
Save the completed file as wp-config.php. 將完成的文件保存為wp-config.php。
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ù)你的選擇。
Let's say you uploaded the files to a directory called blog - use your browser to go to
加入你將文件上傳到稱為博客的目錄 –使用你的瀏覽器進(jìn)入
www.example.com/blog/wp-admin/install.php and then you'll see this screen:
www.example.com/blog/wp-admin/install.php 然后你將會看到這個界面:
center|thumb|400px|This is easy isn't it ? :)
center|thumb|400px|真很簡單,不是嗎? :)
Have fun ! 玩的開心!