Yuav Ua Li Cas Hloov Tus Tswv Tsev Hauv Lub Qhov Rais 7?

Cov txheej txheem:

Yuav Ua Li Cas Hloov Tus Tswv Tsev Hauv Lub Qhov Rais 7?
Yuav Ua Li Cas Hloov Tus Tswv Tsev Hauv Lub Qhov Rais 7?

Video: Yuav Ua Li Cas Hloov Tus Tswv Tsev Hauv Lub Qhov Rais 7?

Video: Yuav Ua Li Cas Hloov Tus Tswv Tsev Hauv Lub Qhov Rais 7?
Video: Cov Lus Qhuab Qhia | “Tus Cawm Seej Yuav Cawm Noob Neej Li Cas Thaum Nws Los?” 2024, Hlis ntuj nqeg
Anonim

Cov files hosts siv nyob rau hauv Windows operating cov tsev neeg mus txwv kev nkag mus rau cov kev siv Internet tsis raug. Txhawm rau hloov nws hauv Windows 7, tus neeg siv yuav tsum muaj cov thawj coj cov cai, uas tuaj yeem tau txais los ntawm kab kab lossis kab ntawv sau ntawm lub system.

Yuav ua li cas hloov tus tswv tsev hauv lub qhov rais 7?
Yuav ua li cas hloov tus tswv tsev hauv lub qhov rais 7?

Modifying hosts ntawm cov kab hais kom ua

Khiav qhov Command Prompt program hauv lub system. Txhawm rau ua qhov no, mus rau "Pib" - "Txhua Txoj Haujlwm" - "Khoom Plig". Tom qab ntawv, nyem nyem rau ntawm kab lus hais kom ua. Hauv daim ntawv teev cov kev xaiv uas tshwm, xaiv "Khiav raws li tus tswj hwm". Yog tias xav tau, sau tus password uas yuav siv yog tias koj siv tus qhua lossis Tus Neeg Siv Khoom siv ntawm tus account. Lub qhov rais dub yuav tshwm nyob rau hauv pem hauv ntej ntawm koj, uas koj yuav tsum nkag mus rau hauv notepad C: / Windows / System32 / tsav tsheb / etc / hosts hais kom ua. Tom qab tau nkag mus, "Notepad" editor qhov rai yuav tshwm nyob rau hauv pem hauv ntej ntawm koj, uas yuav qhib nrog cov thawj coj cov cai uas yuav tsum tau hloov thiab kho daim ntawv.

Hloov kho cov ntaub ntawv raws li koj xav tau. Txhawm rau ntxiv cov chaw tsis xav tau tuaj xyuas, nkag mus rau kab xws li "127.0.0.1 site_address", qhov twg 127.0.0.1 thaiv kev nkag mus rau lub xaib los ntawm lub khoos phis tawm tam sim no, thiab "site_address" yog qhov chaw nyob Is Taws Nem ntawm cov khoom uas koj xav kom thaiv tsis pub nkag mus. Cov.

Qhib cov ntaub ntawv ncaj qha los ntawm ib lub editor window

Koj tuaj yeem tuaj yeem qhib cov hosts cov ntaub ntawv tsis tas siv cov kab hais kom ua. Ua li no, mus rau "Pib" - "Kuv Lub Computer" - "tsav hauv zos C:". Xaiv Windows - System32 los ntawm cov npe hauv cov npe. Hauv cov npe ntawm cov programs uas pom, nrhiav cov ntawv uas muaj npe hu ua Notepad (notepad.exe). Txoj nyem rau ntawm daim ntawv thiab xaiv "Khiav raws li tus tswj hwm". Yog tias tsim nyog, sau tus password rau tus thawj tswj hwm nyiaj hauv lub system thiab nyem "OK". Lub "Notepad" lub qhov rai yuav tshwm nyob rau hauv pem hauv ntej ntawm koj. Mus rau cov ntawv "Cov Ntaub Ntawv" - "Qhib" ntawv qhia zaub mov.

Los ntawm cov ntaub ntawv qhib, mus rau lub nplaub tshev "Computer" - "tsav hauv zos C:" - Windows - System32 - tsav tsheb - thiab lwm yam Hauv daim ntawv teev cov ntaub ntawv, xaiv cov tswv thiab pib kho nws. Tom qab ua qhov kev hloov tsim nyog, nyem "Cov Ntawv" - "Txuag". Yog tias koj tsis tuaj yeem nrhiav cov hom file hauv daim nplais ntawv sau tseg, siv "Txhua yam ntaub ntawv" hloov muaj nyob rau hauv qab sab yog kaum ntawm "Qhib" lub qhov rais tam sim ntawd tom qab kab "Cov ntaub ntawv lub npe".

Koj tseem tuaj yeem hloov kho cov hom host hauv qab tus lej tswj hwm los ntawm "Explorer". Nyem "Pib" - "Kuv Lub Computer" thiab tom qab ntawd mus rau "Local Drive C:" - Windows - System32 - tsav tsheb - thiab lwm yam. Yog tias cov ntaub ntawv tsis tshwm tawm hauv cov npe, mus rau Cov Cuab Yeej - Xaiv Cov Ntaub Ntawv Xaiv. Xaiv lub Saib tab thiab ces nyem Pom Qhia Cov Ntaub Ntawv. Nyem "OK" los siv cov kev hloov pauv. Tom qab ntawd, luag nyem rau ntawm tus thov ua ntaub ntawv thiab xaiv cov "Qhib nrog" ntawv qhia zaub mov.

Pom zoo: