HELP! My server is under a DDOS attack!

Ok first just take a breath, you are getting nothing done by worrying. This guide is meant to try and help mitigate the effects of an attack that is in progresss. I have compiled a lot of the things that I do but it is very possible I have forgotten something. Please feel free to add suggestions at the bottom if you would do it a different way or if this works good for you.
This guide is not meant to take the place of a professional looking at your server but it should give you a very good idea of what is going wrong and point you in the right direction to solving the problem. A lot of this requires you to have an idea of what is happening with your server on a normal basis so you can see what is abnormal with it. It would not be a bad idea to run a few of these tests to see what is normal under your normal busy periods.
Continue reading HELP! My server is under a DDOS attack!

PHP optimization How-To: Installing Eaccelerator

Eaccelerator is a PHP accelerator/encoder/caching utility that is based off of the old mmcache (which is no longer being maintained).

What Eaccelerator does is: it caches your PHP scripts so that the database is no longer being queried everytime someone needs a script. This is particularly useful for large forums, but pretty much anyone can benefit from it. Since these scripts are cached, you’ll notice a decrease in memory use and server load.
Continue reading PHP optimization How-To: Installing Eaccelerator

What your choice of Linux distribution says about you

Many Linux newbies — or wanna-be newbies — get hung up over the choice of their initial distribution. We here at NewsForge have put a lot of thought into this, and have decided to share our best thinking on the subject in order to help ease you newbies out of the monopoly spread into the Linux world. The most important thing for newbies to consider is this: what does your choice of distributions say about you?
Continue reading What your choice of Linux distribution says about you

Changing the DATE and TIME on your LINUX server

The set of instructions below worked quickly and easily for your Linux Server

You must be logged on as “root” to make this change:

Login to Linux box as root and enter root’s password:


Check the current date and time of the Linux box by entering:

[root@mybox me]# date
Linux yields the current settings:
[root@mybox me]# Wed Apr 7 12:03:45 EDT 2004

Change the current time and date of the Linux box by entering:
[root@mybox me]# date 040713032004
would change the time and yield:
[root@mybox me]$ Wed Apr 7 13:03:00 EDT 2004

Disable Telnet Access

Telnet should be disabled, and you should use SSH. Telnet sends password in plain text, and ‘crackers/hackers’ can obtain these passwords easily compared to SSH, and then takeover your dedicated web server. 1. Login to your dedicated server via SSH as root.

2. Type: pico -w /etc/xinetd.d/telnet

3. Change the disable = no line to disable = yes.

4. CTRL+X then Y then enter to save the file.

5. Restart xinted. Type: /etc/rc.d/init.d/xinetd restart

Server Security Considerations

>Server security is as important as network security because servers
often hold a great deal of an organization’s vital information. If a
server is compromised, all of its contents may become available for the
cracker to steal or manipulate at will. The following sections detail
some of the main issues.
Continue reading Server Security Considerations