security

computer security related topic

Computers, GNU/Linux, Internet Stuff, security, Tips & Guides, Ubuntu/Debian

How to block ads and malware websites using /etc/hosts files in Ubuntu

Here’s an easy way to block annoying advertisement and malware sites using ‘/etc/hosts’ file. First edit the /etc/hosts files using your favorite text editor : sudo gedit /etc/hosts Then, paste the list of ads/malware servers in the ‘hosts’ file. You can get the list from http://someonewhocares.org/hosts/ or by searching through Google. Close the file, and […]

Computers, PHP, security, Server, Tips & Guides

How to find cause of heavy usage on your Apache webserver

Here’s a quick and dirty tips on how to find cause of heavy CPU resources usage on your Apache webserver (especially when running php scripts). First you need to locate the Apache 2 “access.log” file. By default in Ubuntu, this file is located in “/var/logs/apache2” directory. Then you need to run this command to find […]

Scroll to Top