MySQL has been eating my server alive for the past several months, and I never could determine the exact cause. I’m running MySQL in a VPS environment with 1GB of RAM with two dedicated AMD (Opteron) CPU cores. From a … Read more »
I like to use while loops to perform a command or group of commands indefinitely until I type ctrl-c to stop the loop. The while loop is useful when monitoring the output of the netstat command Alternatively, the above one-liner … Read more »
Posted on : March 16, 2013 |
Category : Other
|
Tags : address, afrinic, apnic, firewall, iana, international, iptables, lacnic, ripe, traffic
Over the years, I have found that most spam traffic comes from outside the United States. My websites are meant for English-speaking, Western Hemisphere type people, so why leave my server open to the rest of the world? Since I … Read more »
Posted on : March 16, 2013 |
Category : Other
|
Posting this here because I like it. I use it to generate by firewall rules to block as much international traffic from my server as possible since it’s pretty clear that some Class A IP blocks don’t need to be … Read more »
IPTABLES TUTORIAL / HOWTO I. Definitions and similarities to ipchains II. Chain types and options III. Command pharmacy no prescription line examples With the release of the 2.4 kernel, everyone who was used to using ipchains to configure their firewall … Read more »
The for loop in a unix/linux shell is used to execute the same thing over and over again, or iteratively. Here are a few examples of simple for loop usage. The following loop goes through all files names *.jpg and … Read more »
Posted on : March 3, 2013 |
Category : Other
|
The Make command The make command allows you to manage large programs or groups of programs. As you begin to write larger programs, you will notice that re-compiling larger programs takes much longer than re-compiling short programs. Moreover, you notice … Read more »
Apache Virtual Hosts Apache is an open source web server that is currently dominating the market because of it’s low cost (nothing) and ease of use and configuration. There is a large support database available from www.apache.org and the source … Read more »
Sudo discourages the use of su. In fact, sudo makes the perfect replacement for su. What sudo does is give restrictive access to commands as other users. For instance, if you were a web administrator on a system and were … Read more »
What in the hell is a KrnlPanic? Let’s start with “What is a kernel?”. The kernel is the core of your operating system (OS), whether your OS is Linux, Unix or windows. The kernel takes care of all process management … Read more »