Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Your post seems somewhat hostile, at least the the bold lettering may imply it.
I believe that jlinkels's apparent hostility was not directed to you, and that he wasn't actually referring to your comment (which fully makes sense), but to the OP's vague formulation of his/her question. In fact the LQ netiquette does recommend that questions respect a few criteria, which the OP apparently didn't consider, but of which he has now been made aware.
Last edited by Philip Lacroix; 04-20-2014 at 08:29 AM.
Reason: oops, jlinkels had already replied
He did, instead. The thread title (previously simply "Urgent") has been changed as mentioned.
Quote:
Originally Posted by turtlebay777
I guess the mod meant well but we are here to surely help newbies, not chase they away with superior attitudes because we can use Linux and they can't!
I don't understand where you see this kind of attitude from me. I just reported to change the thread title in order to be more descriptive and to give the thread more exposure. That's all.
There are a few ways to block websites in linux. The hosts file is one way. Two links have been given for that method. Another way is to set up IP tables, as has been mentioned. I tried both of those methods and could never get them to work for me the way I needed--probably because I didn't need specific sites blocked, but whole categories of sites. The method I used was to use a proxy+blocker, like squid+dansguardian, or squid+squidguard. This worked for me because it was easier (for me) to set up than trying to figure out IP tables or blocking each site in the hosts file. Also, I could block whole categories (advertisements, malware, etc.) with just a few lines typed into the dansguardian configuration file. Also, those categories were updated through automatic downloads of blacklists every night.
Anyway, method 1:
Edit the /etc/hosts file (google search: How to block sites using /etc/hosts)
Method 2:
Set up IP tables (google search: How to set up IP tables to block sites)
Method 3:
Set up a proxy and blocker (google search: How to set up proxy on linux; how to set up dansguardian on linux; how to set up squidguard on linux)
He did, instead. The thread title (previously simply "Urgent") has been changed as mentioned.
I don't understand where you see this kind of attitude from me. I just reported to change the thread title in order to be more descriptive and to give the thread more exposure. That's all.
Apologies, but would of helped if you'd left the offending headline as is rather than changing it, then the warning would have meant something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.