{"id":29,"date":"2014-06-16T05:38:28","date_gmt":"2014-06-16T05:38:28","guid":{"rendered":"http:\/\/www.pir8geek.com\/?p=29"},"modified":"2014-06-16T05:38:28","modified_gmt":"2014-06-16T05:38:28","slug":"block-access-website-ubuntu-desktop","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=29","title":{"rendered":"How to block access to any Website on Ubuntu Desktop"},"content":{"rendered":"<p style=\"color: #656e7f;\">We need to block some web sites with http and https? The solution is easy:<\/p>\n<p>1. Edit the \/etc\/hosts<\/p>\n<pre> sudo gedit \/etc\/hosts <\/pre>\n<p>2. Configuration<br \/>\nadd these lines:<\/p>\n<pre>#Block Facebook\n127.0.0.1 www.facebook.com\n<\/pre>\n<p>3.Save and exit, the reboot your system with this command:<\/p>\n<pre> sudo reboot<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>We need to block some web sites with http and https? The solution is easy: 1. Edit the \/etc\/hosts sudo gedit \/etc\/hosts 2. Configuration add these lines: #Block Facebook 127.0.0.1 www.facebook.com 3.Save and exit, the reboot your system with this command: sudo reboot<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,49],"tags":[78,79,80],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-how-tos","category-ubuntu","tag-blacklist","tag-block-site","tag-facebook"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}