Blocking FaceBook Using Localhost In Debian

English

Blocking facebook using localhost in Debian, is sometimes necessary for people to do their work instead of looking at social media.

As an example: Ministério da Saúde in Brazil, blocked access to Facebook, due to its employees spent more time online, than doing their work.

Some schools block Facebook and other social media sites, since they are not educational, but in fact a distraction.

However, just blocking the sites in the web browser isn't sufficient, to stop them from accessing these social media sites, therefore an admin, should block the sites in the localhost file and even the firewall.

Here are just a few reasons, why social media sites and gaming sites should be blocked.

  1. Nonwork/noneducational related issues.
  2. Educational related.
  3. Legal: Cyber-bully issues.
  4. Network traffic.
  5. Privacy issues.

Blocking facebook using localhost in Debian.

Open a terminal window and type the following:

su

Press Enter and enter password.

cd /

Press Enter,

gedit etc/hosts

Press Enter,

Copy and paste this into your localhost file and click save.

127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 www.static.ak.fbcdn.net
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.com
127.0.0.1 www.fbcdn.com
127.0.0.1 static.ak.connect.facebook.com
127.0.0.1 www.static.ak.connect.facebook.com

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.

 

Limited Time Offers

Coming soon...