這個檔案讓您可以在您正在使用的電腦上封鎖網站. 這樣的帳戶在電腦上都能使用. 編輯主機檔案會封鎖網站, 那些熟悉科技的使用者可能會改變主機檔案並<unk>回封鎖. 請前往 C:\Windows\System32\drivers\etc,然後按一下它. 當被要求選擇程式時使用筆記本來開啟檔案. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/d5\/Block-a-Website-in-All-Web-Browsers-Step-2-Version-2.jpg\/v4-460px-Block-a-Website-in-All-Web-Browsers-Step-2-Version-2.jpg","Urbigl":"\/images/\/thumb\/d\/d5\/Block-a-Website-in-All-Web-Browsers-Step-2-Version-2.jpg"<p>"small6th"",<p>"small4th"<p>"small7th"<p>"small8th"<p>"small8th"<p>"small8th"<p>"small8th"<p>"small8th"<p>"small8th"<p>"small8th" 在您的開始點與現有文字的結尾之間放置空白線. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/b\/b0\/Block-a-Website-in-All-Web-Browsers-Step-4.jpg\/v4-460px-Block-a-Website-in-All-Web-Browsers-Step-4.jpg","Urbigl":"\/images\/thumb\/b\/b0\/Block-a-Website-in-All-Web-Browsers-Step-4.jpg\/aid792339-v4-728px-Block-a-Website-in-All-Web-Browsers-Step-4.jpg","smalldivide":"60,"Height"4"5,"Smalldivide"28","Height"7,"Height"5,"Height"7,"Height"8,"Height"7,"Height"8,"Height"Height"7,"Height 取代您想要封鎖的網站 (facebook.com,youtube.com等). {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/cb\/Block-a-Website-in-All-Web-Browsers-Step-5Bullet1-Version-2.jpg\/v4-460px-Block-a-Website-in-All-Web-Browsers-Step-5Bullet1-Version-2.jpg","bigUrl":"\/images\/thumb\/c\/c\/Block-a-Website-in-All-Web-Browsers-Step-5Bullet1-Version-2.jpg/version-2.jpg/www.wikihow.com,等等. "<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p 您要封鎖的每個網站應該有兩條條目: 127.0.0.1 facebook.com 和 127.0.0.1 www.facebook.com. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/22\/Block-Websites-Step-19Bullet4.jpg""/v4-460px-Block-Websites-Step-19Bullet4.jpg","/bigUrl":"<<"browsing/vb/com/vb/website/blocking/vb/website"><"browsing/vb/website"><<"browsing/vb/website"><"browsing/vb/website"><"browsing/vb/website"><"browsing/vb/website"><"browsing/vb/website"><"browsing/vb/web"><"><"browsing/vb/web"><"><"brows 請不要改變檔案的名稱,型別或位置. 您只需要儲存您所做的變更. 您可能需要重新啟動您的<unk>覽器才能實施更改. 您也可以使用筆記本以管理員身份執行, 這個檔案讓您可以在您正在使用的電腦上封鎖網站. 這樣的帳戶在電腦上都能使用. 開始使用可在工具檔案<unk>中找到的終端. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/fc\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-2.jpg\/v4-460px-Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-2.jpg","bigUrl":"\/images\/thumb\/f\/c\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-2.jpg"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"<p>"< 您可以透過輸入下列命令並按下Enter: sudo /bin/cp /etc/hosts /etc/hosts-original, 您可能需要輸入您的管理員密碼. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f5\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-3.jpg\/v4-460px-Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-3.jpg","bigUrl":"\/images\/thumb\/f\/f5\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-3.jpg"<<p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p><p 需要使用以下命令開啟: sudo nano /etc/hosts/. 這將開啟奈米視窗,您將看到主機檔案文字. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/3\/33\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-6.jpg\/v4-460px-Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-6.jpg","bigUrl":"\/images\/thumb\/3\/33\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-6.jpg"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"smallWidth"<p>"<p> 請輸入127.0.0.1 <網站>,然後按Enter. 取代您想要封鎖的網站 (facebook.com,youtube.com等). {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/d9\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-7.jpg\/v4-460px-Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-7.jpg","Urbigl":"\/images\/thumb\/d\/d9\/Block-and-Unblock-Sites-%28On-a-Mac%29-Step-7.jpg"<p>"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons"<p>"Creative Commons 您要封鎖的網站應該有兩個專案: 127.0.0.1 facebook.com 和 127.0.0.1 www.facebook.com. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/3\/39\/Block-and-Unblock-Internet-Sites-%28On-a-Mac\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 使用DNS flush命令sudo dscacheutil <unk>flush cache重置您的DNS並載入新的設定. 您的<unk>覽器現在應該阻止您在主機檔案中列出的網站. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/d5\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-12.jpg\/v4-460px-Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-12.jpg","bigUrl":"\/images\/thumb\/d\/d5\/Block-and-Unblock-Internet-Sites-%28On-a-Mac%29-Step-12.jpg"<<smallWidthumb">"smallWidthumb">"<smallWidthumb">"<smallWidthumb">"<smallWidthumb">"<smallWidthumb">"<smallWidthumb>"<smallWidthumb>">"<smallWidthumb">" 如果你的網路上有很多電腦,  摘要:
在Windows中編輯主機檔案. 在Mac上編輯主機檔案. 在您想要保護的每臺電腦上重複這些步<unk>.