Yuav Ua Li Cas Rau Nruab Apache Server

Cov txheej txheem:

Yuav Ua Li Cas Rau Nruab Apache Server
Yuav Ua Li Cas Rau Nruab Apache Server

Video: Yuav Ua Li Cas Rau Nruab Apache Server

Video: Yuav Ua Li Cas Rau Nruab Apache Server
Video: Как подключить сервер Apache к внешнему миру (www) 2024, Kaum ib hlis
Anonim

Tus neeg rau zaub mov hauv zos yog siv los ntawm cov neeg tsim khoom hauv debug cov ntawv sau thiab cov chaw kuaj thiab cov haujlwm web. Ib qho ntawm feem ntau nrov thiab ua haujlwm pob yog Apache, qhov zoo ntawm qhov uas muaj qhov ntau ntawm cov qauv thiab qhov qhib ntawm cov code.

Yuav ua li cas rau nruab apache server
Yuav ua li cas rau nruab apache server

Cov Lus Qhia

Kauj ruam 1

Mus rau ntawm qhov chaw tsim kho cov npe ntawm Apache. Ntawm nplooj ntawv uas qhib, nyob rau sab laug ntawm lub qhov rais, nyem rau ntawm daim iav txuas ntawm Qhov Rub tawm. Rub tawm qhov tshiab tshaj plaws kev faib tawm rau Windows.

Kauj ruam 2

Khiav lub downloaded ntaub ntawv. Txais cov lus cog tseg ntawm daim ntawv cog lus tso cai, nyem Next. Nkag mus rau hauv lub npe sau, lub npe server thiab email chaw nyob ntawm tus thawj coj. Txhawm rau txhim kho tsuas yog qhov chaw nyob hauv lub nroog, qhia kom meej localhost hauv thawj ob kab. Tus naj npawb chaw nres nkoj tuaj yeem hloov mus rau qhov hloov pauv.

Kauj ruam 3

Hauv lub qhov rais tom ntej, xaiv cov txheej txheem kev teeb tsa. Qhia meej rau cov ntawv qhia txog kev tshem tawm cov neeg rau zaub mov, nws yog qhov tsim nyog los tsim kev cais ua ke uas yuav yooj yim rau koj siv yav tom ntej (piv txwv, C: / Apache). Nyem rau ntawm Lub pob Install thiab tos rau lub installation tiav.

Kauj ruam 4

Windows pib txiav Apache ua qhov kev pabcuam tam sim ntawd tom qab kev teeb tsa. Tom qab cov lus hais txog kev ua tiav ntawm cov ntawv luam, nkag mus rau qhov chaw nyob https:// localhost nyob rau hauv qhov chaw nyob ntawm koj tus browser. Yog tias qhov kev teeb tsa tau ua tiav, koj yuav pom cov lus sib thooj ntawm lub vijtsam.

Kauj ruam 5

Mus rau "Pib" - "Chaw" - "Tswj Vaj Huam Sib Luag" - "Kev Tswj Cuab Yeej" - "Kev Pabcuam". Hauv qhov rai uas tshwm, nyem rau ntawm kab Apache2. Txhawm rau tso tseg qhov server, nyem rau ntawm "Nres", kom pib - "Pib".

Kauj Ruam 6

Cov neeg rau zaub mov tseem ceeb tsis raug teeb tsa nyob rau hauv cov ntaub ntawv httpd.conf, uas nyob rau hauv cov ceev ceev cov npe ntawm Apache chaw teeb tsa. Kev siv cov lus qhia ntawm cov ntawv no, koj tuaj yeem hloov chaw nres nkoj, npe thiab chaw nyob ntawm cov ntawv sau ua qhov tseem ceeb. Koj kuj tuaj yeem sau qhia cov npe chaw uas koj cov phiaj xwm cov ntaub ntawv yuav tsum tau nyob. Siv ib lub taub ntim, koj tuaj yeem tsim qhov tsim kom khiav ntau qhov chaw.

Pom zoo: