Txhawm rau kom muaj kev siv internet ntxiv, ntxiv cov haujlwm tshiab rau nws, npaj kev sib tham sib txuas lus ntawm cov qhua nrog lwm tus lossis koom nrog koom nrog virtual nyob rau hauv lub ntsej muag ntawm lub vev xaib software, ntau cov ntawv sau ntxiv rau nws. Kev xaiv cov ntawv sau yog nyob ntawm lub hom phiaj thiab tus kheej nyiam ntawm tus tswv cuab, tab sis cov txheej txheem ntxiv rau lawv rau hauv lub xaib yuav zoo ib yam rau txhua cov ntawv sau. Cia wb mus ze saib nws.
Cov Lus Qhia
Kauj ruam 1
Txhawm rau ntxiv cov ntawv sau xaiv rau lub xaib, koj yuav tsum xub rub lawv rau koj lub khoos phis tawm, tsis ntim khoom (yog tias lawv tau muab khaws cia) thiab nyeem cov lus qhia. Peb txhua tus kho cov lus qhia yog qee yam muaj txiaj ntsig, tab sis tsho thiab tsis tsim nyog heev, tab sis tom qab tag nrho, ib tsab ntawv server tso tawm tsis raug yuav tuaj yeem rhuav tshem koj lub xaib! Ib qho ntxiv, tus sau tuaj yeem taw tes qhia qhov muaj txiaj ntsig, tab sis tsis pom tseeb, cov yam ntxwv ntawm tsab ntawv uas koj tuaj yeem siv.
Kauj ruam 2
Cov ntawv sau tuaj yeem yog ib lossis ntau - ntau lub tsev qiv ntawv ntawm lub luag haujlwm, cov ntaub ntawv style, duab, thiab lwm yam yuav xav ua haujlwm. Txhua yam koj xav tau yuav tsum muab xa mus rau tus xaib site, saib xyuas cov lus taw qhia qauv (yog tias cov ntaub ntawv muab tso rau hauv cov nplaub tshev). Qhov no tuaj yeem ua tiav nrog cov program tshwjxeeb - FTP tus thov kev pabcuam. Piv txwv li, FlashFXP, ntxim hlub FTP, WS FTP, FileZilla, Ntse FTP, thiab lwm yam. Cov kev pab cuam zoo li no tuaj yeem them nyiaj thiab pub dawb, nws yuav tsis nyuaj rau nrhiav qhov tsim nyog hauv lub network. Lub rub tawm yuav siv raws li FTP-raws tu qauv (Cov Ntaub Ntawv Hloov Chaw raws cai - "cov ntaub ntawv hloov pauv"). Tab sis koj tuaj yeem rub tawm tag nrho cov ntaub ntawv ncaj qha hauv lub browser, tsis tas siv cov haujlwm tshwj xeeb ntxiv. Txhawm rau ua qhov no, koj yuav tsum siv tus thawj tswj hwm cov ntaub ntawv, uas muaj nyob hauv yuav luag txhua cov ntsiab lus tswj hwm lossis tus tswj hwm cov chaw muab kev pabcuam. Hmoov tsis zoo, tsis muaj ib tus qauv rau kev tswj hwm lossis nyob rau hauv lub vaj huam sib luag rau hosting, yog li koj yuav tsum nrhiav qhov twg raws nraim cov ntaub ntawv tus thawj tswj hwm no nyob hauv koj cov version. Yog tias qhov no yog server-sab tsab ntawv (piv txwv, hauv PHP) thiab nws hloov cov ntaub ntawv hauv cov txheej txheem, tom qab ntawd koj yuav tsum tau muab qhov no kho rau nws rau nws. Seb nws puas tsim nyog - yuav tsum tau sau rau hauv cov lus qhia rau tsab ntawv. Txoj haujlwm no tau hu ua "teeb tsa cov neeg siv cov cai" lossis CHMOD (sau luv rau CHange MODe). Cov lus qhia yuav tsum piav qhia txog qhov tseem ceeb twg yuav tsum tau tsim rau cov ntaub ntawv twg. Raws li txoj cai, rau tsab ntawv tuaj yeem hloov kho cov ntaub ntawv, lawv yuav tsum teeb tsa tus nyeem ntaus cim = 777, thiab cov ntawv sau nws tus kheej = 755 lossis 644.
Kauj ruam 3
Tom qab rub tawm, cov ntaub ntawv yuav xav tau txuas nrog cov xaib xaib. Qhov kev ua haujlwm no yog tus neeg kiag li rau txhua cov ntawv - ntawm no koj tsis tuaj yeem ua yam tsis muaj lus qhia los ntawm tus sau. Hauv nws daim foos yooj yim, koj yuav tsum ntxiv ib qho txuas rau JavaScript ntawv hauv nplooj ntawv html code. Xws li qhov txuas yuav zoo li no: Nws yuav tsum tau nyob ua ntej lub cim npe ntawm cov nplooj ntawv xav tau. Rau ntawv php, cov ntawv zoo sib xws yuav zoo li no: suav nrog "myPHPscript.php"; Daim pib no yuav tsum muab tso rau tom qab <? Php thaum pib php. Tab sis yog hais tias tsab ntawv koj rub tawm tsis muaj cov lus qhia installation, nws yuav zoo dua mus nrhiav kev hloov rau nws.