Lub hom phiaj ntawm phau ntawv qhia no yog los qhia lub vev xaib tsim qauv yuav ua li cas rau nruab Wordpress [1] (2.8 lossis siab dua) hauv zos ntawm lawv lub khoos phis tawj rau lub hom phiaj ntawm kev tsim thiab ntsuas WordPress ntsiab lus. WordPress xav kom lub khoos phis tawj uas koj tab tom txhim kho nws muaj lub vev xaib (xws li Apache, Litespeed lossis IIS), PHP 4.3 lossis ntau dua thiab MySQL 4.0 lossis ntau dua.
XAMPP [2] yog qhov yooj yim-rau-teeb tsa lub vev xaib ib puag ncig ib puag ncig, uas muaj tag nrho cov khoom siv uas tau hais yav dhau los. Tag nrho cov lus qhia hauv qab no yog ua raws li kev xav tias koj muaj kev teeb tsa XAMPP hauv zos hauv koj lub computer. Cov ntawv qhia no tsis suav nrog txhim kho XAMPP. Yog xav paub ntxiv txog XAMPP, mus ntsib XAMPP lub vev xaib raug cai (https://www.apachefriends.org/en/xampp.html).
Kauj ruam
Kauj Ruam 1. Rub tawm thiab khaws qhov tseeb ntawm Wordpress los ntawm qhov txuas hauv qab no:
wordpress.org/latest.zip
Kauj Ruam 2. Tshem cov ntsiab lus ntawm ZIP cov ntaub ntawv npe "wordpress.zip", uas tau rub tawm hauv qib 1 mus rau htdocs nplaub tshev hauv XAMPP cov npe
Yog tias ZIP cov ntaub ntawv tau muab rho tawm kom raug, yuav tsum muaj cov npe tshiab hu ua "wordpress" hauv / xampp / htdocs directory. Ua ntej cov txheej txheem tuaj yeem ua tiav, xyuas kom tseeb tias lub web server ib puag ncig tau ua haujlwm zoo.
Kauj Ruam 3. Mus ntsib lub ntsiab XAMPP nplooj ntawv los ntawm kev qhib lub vev xaib thiab nkag mus rau URL hauv qab no:
localhost/xampp/.
Kauj Ruam 4. Xaiv qhov txuas hu ua "phpMyAdmin" nyob hauv qab sab laug ntawm cov ntawv qhia zaub mov lossis los ntawm kev nkag mus rau URL hauv qab no:
localhost/xampp/phpmyadmin.
Kauj Ruam 5. Ntawm nplooj ntawv phpMyAdmin tseem ceeb, yuav muaj thaj chaw nyob nruab nrab ntawm lub vijtsam hu ua "MySQL localhost"
Los ntawm ntu no cov ntaub ntawv tshiab yuav raug tsim los siv los ntawm kev teeb tsa WordPress.
- Hauv daim teb sau tias "Tsim cov ntaub ntawv tshiab", sau lub npe "wordpress". Los ntawm cov ntawv qhia zaub mov nco "Collation", xaiv "utf8_unicode_ci". Tom qab ntawd, ntaus lub pob ntawv sau "Tsim".
- Yog tias cov ntaub ntawv teev npe tsim tau ua tiav, cov lus "WordPress database tau tsim" yuav tsum tau tshwm.
Kauj Ruam 6. Siv Windows Explorer navigation mus rau xampp / htdocs / wordpress directory
Qhib cov ntawv hu ua "wp-config-sample.php" hauv phau ntawv teev npe wordpress.
Kauj Ruam 7. Thaum cov ntaub ntawv qhib, kho cov kab hauv qab no:
/** Lub npe ntawm lub database rau WordPress*/txhais ('DB_NAME', 'putyourdbnamehere'); ==> hloov 'putyourdbnameheree' rau 'wordpress'/** MySQL database username*/txhais ('DB_USER', 'usernamehere'); ==> hloov 'usernamehere' rau 'hauv paus'/** MySQL database lo lus zais*/txhais ('DB_PASSWORD', 'yourpasswordhere'); ==> hloov 'koj tus passwordwordhere' mus rau '' (tawm dawb paug)
Kauj Ruam 8. Thaum cov ntaub ntawv tau raug kho raws li tau piav qhia hauv cov kauj ruam dhau los, khaws cov ntawv theej ua "wp-config.php" hauv wordpress directory thiab kaw cov ntawv
Kauj Ruam 9. Mus ntsib nplooj ntawv teeb tsa WordPress los ntawm kev qhib lub vev xaib thiab nkag mus rau URL hauv qab no:
localhost/wordpress/wp-admin/install.php.
Kauj Ruam 10. Nkag mus rau lub npe rau blog hauv thaj teb sau tias "Blog Title"
Sau koj tus email chaw nyob hauv daim teb uas sau tias "Koj li E-mail". Tom qab ntawd nyem lub pob sau "Install Wordpress".
Kauj Ruam 11. Yog tias cov ntaub ntawv hauv qib dhau los tau nkag mus kom raug, yuav tsum muaj lub vijtsam tshiab hu ua "Ua tiav
". Lub vijtsam no nthuav tawm lub npe siv hu ua" admin "thiab tus lej zais ib ntus. Qhov no yog kev tsim tus lej nkag, yog li nws tseem ceeb heev uas yuav tsum taug qab nws kom txog thaum xaiv tus password tshiab.
Kauj Ruam 12. Ntawm qhov Log In screen, ntaus lo lus "Admin" hauv daim teb sau tias "Username" thiab ntaus tus lej zais ib ntus, tsim nyob rau hauv cov kauj ruam dhau los, hauv daim teb lo lus "Password"
Nias lub khawm sau "Log In".
Kauj Ruam 13. Yog tus ID nkag mus ua tiav, WordPress Dashboard yuav tshwm
Muaj ntawv ceeb toom hais tias tus siv tau tus password tau siv thiab hloov nws mus rau qee yam yooj yim kom nco qab. Qhov txuas hais tias "Yog. Coj kuv mus rau kuv nplooj ntawv profile" tso cai hloov tus password ib ntus. Thaum hloov tus password, cov ntsiab lus thiab cov ntsiab lus kho tau tuaj yeem pib.