Ifayela le-Windows 10 libamba

Leli bhukwana lizochaza ukuthi ungashintsha kanjani ifayela le-Hosts ku-Windows 10, lapho itholakala khona (nokuthi yini okufanele ukwenze uma engekho), yikuphi okuqukethwe okuzenzakalelayo okuyiyo nendlela yokugcina kahle leli fayela ngemuva kokushintsha, uma kungenjalo igcinwe. Futhi ekupheleni kwalesi sihloko ngolwazi uma kwenzeka izinguquko ezenziwe yi-Hosts zingasebenzi.

Eqinisweni, uma kuqhathaniswa nezinguqulo ezimbili zangaphambilini ze-OS, akukho lutho olushintshile kufayela le-Windows 10 yesiphequluli: akukho indawo, noma okuqukethwe, noma izindlela zokuhlela. Noma kunjalo, nganquma ukubhala imilayezo ehlukile ephelele yokusebenza nale fayela ku-OS entsha.

Iphi ifayela le-Hosts ku-Windows 10

Ifayela lesikhwama lisendaweni efanayo kufolda ngaphambili, okungukuthi C: Windows System32 abashayeli njll (uma ngabe uhlelo lufakwe ku-C: Windows, hhayi kwenye indawo, ekugcineni, bheka kufolda efanele).

Ngesikhathi esifanayo, ukuze uvule ifayela "elungile" le-hosts, ngincoma ukuthi uqale ngokufaka iPhaneli Yokulawula (ngokuchofoza ngakwesokudla ekuqaleni) - imingcele yomhloli. Futhi kuthebhu ethi "Buka" ekupheleni kohlu, phenya "Fihla izandiso zezinhlobo zefayela ezibhalisiwe", futhi ngemva kwalokho uya kwifolda ngefayela lesibindi.

Iphuzu lesincoma: abasebenzisi abathile be-novice abavuli ifayela le-Hosts, kodwa, isibonelo, i-Host.txt, i-hosts.bak namafayela afanayo, ngenxa yalokho, izinguquko ezenziwe kumafayela anjalo azithinti i-intanethi njengoba kudingeka. Udinga ukuvula ifayela elingenayo isandiso (bona isithombe-skrini).

Uma ifayela lesibindi lingekho kwifolda C: Windows System32 abashayeli njll - lokhu kuyinto evamile (kungakhathaliseki ukuthi iyinqaba) futhi akufanele neze kuthinte indlela yokusebenza kwesistimu (ngokuzenzakalelayo, leli fayela selivele lingenalutho futhi aliqukethe kuphela imibono engathinti umsebenzi).

Qaphela: ngokweqiniso, indawo yefayela lesikhulu ohlelweni lingashintshwa (isibonelo, ngezinye izinhlelo zokuvikela leli fayela). Ukuze uthole ukuthi uwushintshile yini:

  1. Qala umhleli wokubhalisa (Win + R okhiye, faka regedit)
  2. Iya kukhiye wokubhalisa HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Izinsizakalo Tcpip Parameters
  3. Bheka ukubaluleka kwepharamitha. I-databasepathLeli xabiso libonisa ifolda ngefayela le-Hosts ku-Windows 10 (ngokuzenzakalelayo % SystemRoot% System32 abashayeli njll

Indawo yefayela isiphelile, qhubeka uguqula.

Ungashintsha kanjani ifayela lesibindi

Ngokuzenzakalelayo, ukushintsha ifayela le-Hosts ku-Windows 10 kuyatholakala kubaqondisi besistimu kuphela. Iqiniso lokuthi leli phuzu alihloswe ngabasebenzisi be-novice yisona sizathu esivame kakhulu ukuthi ifayela lesibindi alondolozwanga ngemuva kokushintsha.

Ukuze ushintshe ifayela le-Hosts udinga ukulivula kumhleli wombhalo, egijima njenge-Administrator (edingekayo). Ngizobonisa isibonelo se-Notepad yomhleli wejwayelekile.

Ekusesheni kwe-Windows 10, qala ukuthayipha "I-Notepad", futhi ngemuva kokuvela kohlelo emiphumeleni yosesho, chofoza ngakwesokudla kuyo bese ukhetha "Run njengoba umlawuli".

Isinyathelo esilandelayo ukuvula ifayela le-Hosts. Ukuze wenze lokhu, khetha "Ifayela" - "Vula" ku-inothi, iya kwifolda nale fayela, faka "Wonke amafayela" ensimini ngohlobo lwefayela bese ukhetha ifayela lesibindi elingenayo isandiso.

Ngokuzenzakalelayo, okuqukethwe kwefayela lesiphephelo ku-Windows 10 kubonakala sengathi ungabona esithombeni esingezansi. Kodwa: uma amasethingi engenalutho, akufanele ukhathazeke ngalokhu, kuvamile: iqiniso liwukuthi okuqukethwe kwefayela elizenzakalelayo kusebenza ngendlela efanayo nefayela elingenalutho, ngoba yonke imigqa eqala ngesignali Lezi zimpendulo nje ezingenalo incazelo ngomsebenzi.

Ukuze uhlele ifayela le-Hosts, vele ufake imigqa emisha ngokulandelana, okufanele ibukeke njengekheli le-IP, ikheli elilodwa noma ngaphezulu, ikheli lewebhu (i-URL ezoqondiswa kabusha ekhelini elichaziwe le-IP).

Ukwenza kucacile - esibonelweni esingezansi, i-VC ivinjelwe (zonke izingcingo kuyo zizoqondiswa ku 127.0.0.1 - leli kheli lisetshenziselwa ukuchaza "ikhompyutha yamanje"), futhi kwenziwa ukuze uma ufaka ikheli dlink.ru kubha yekheli lesiphequluli Amasethingi e-router avuliwe nge-IP-ikheli 192.168.0.1.

Qaphela: Angazi ukuthi kubaluleke kangakanani lokhu, kepha ngokusho kweminye izincomo, ifayela lezinkampani kufanele libe nomugqa wokugcina ongenalutho.

Ngemuva kokuthi ukuhlela kuqedile, mane ukhethe ifayela lokulondoloza (uma ama-Host hosts engagcinwa, ke awuzange uqale umhleli wombhalo egameni loMlawuli. Ezimweni ezingavamile, kungase kudingeke ukuthi ubeke eceleni izimvume zefayili ezindaweni zayo kuthebhu yezokuphepha).

Ungalanda kanjani noma ubuyisele ifayela le-Windows 10 yesiphequluli

Njengoba kubhaliwe okuphezulu, okuqukethwe kwefayela elizenzakalelayo, nakuba liqukethe umbhalo, kodwa kufana nefayela elingenalutho. Ngakho-ke, uma ufuna indawo yokulanda leli fayela noma ufuna ukuyibuyisela kokuqukethwe okuzenzakalelayo, ke indlela elula kungaba lokhu:

  1. Kudeskithophu, chofoza ngakwesokudla, khetha "Okusha" - "Umbhalo Wombhalo". Uma ufaka igama, susa isandiso se-.txt, bese ubiza ifayela ngokwayo (uma isandiso singaboniswa, vumela ukubonisa kwayo "ku-panel control" - "Izinketho zokuhlola" ngaphansi kwethebhu "Buka". Uma uvuselela kabusha, uzotshelwa ukuthi ifayela ngeke livule - lokhu kuvamile.
  2. Kopisha leli fayela ku C: Windows System32 abashayeli njll

Ukwenziwe, ifayela libuyiselwe kwifomu lapho lihlala khona ngemuva kokufaka i-Windows 10. Qaphela: uma unombuzo mayelana nokuthi kungani asizange sakha ifayela ngokushesha kufolda elungile, yebo, kungenzeka, kwezinye izimo kuvela hhayi izimvume ezanele zokudala ifayela lapho, kodwa ngokukopisha konke kuvame ukusebenza.

Okufanele ukwenze uma ifayela lesikhulu lingasebenzi

Izinguquko ezenziwe efayeleni lesibindi kufanele zisebenze ngaphandle kokuqala kabusha ikhompyutha futhi ngaphandle kokushintsha. Noma kunjalo, kwezinye izimo lokhu akukwenzeka, futhi akusebenzi. Uma uhlangabezana nenkinga enjalo, zama lokhu okulandelayo:

  1. Vula isimemo somyalo njengomlawuli (nge-imenyu yokuchofoza ngakwesokudla ku- "Qala")
  2. Faka umyalo ipconfig / flushdns bese ucindezela u-Enter.

Futhi, uma usebenzisa amabutho ukuvimbela amasayithi, kunconywa ukusebenzisa izinhlobo ezimbili zekheli ngesikhathi esisodwa - nge-www nangaphandle (njengesibonelo sami nge-VK ekuqaleni).

Ukusebenzisa iseva ye-proxy kungaphazamisa nokusebenza kwefayela lesibindi. Yiya kuPhaneli Yokulawula (enkundleni ethi "Buka" ngakwesokudla phezulu kufanele kube "Izithonjana") - Izakhiwo zesiphequluli. Vula ithebhu ethi "Connections" bese uchofoza inkinobho ethi "Izilungiselelo zenethiwekhi". Susa wonke amamaki, kufaka phakathi "Ukuthola ngokuzenzakalelayo kwemingcele."

Enye imininingwane engabangela ifayela le-Hosts ukuba lingasebenzi likhala ngaphambi kwekheli le-IP ekuqaleni komugqa, imigqa engenalutho phakathi kokufakiwe, izikhala emigqeni engenalutho, nesethi yezindawo kanye namathebhu phakathi kwekheli le-IP ne-URL (kungcono isikhala esisodwa, ithebhu evunyelwe). Ukubhalisa kwefayela lesikhulu - i-ANSI noma i-UTF-8 ivunyelwe (i-notepad ivikela i-ANSI ngokuzenzakalelayo).