Month: March 2009


E-mail Alert on Root SSH Login

Want to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and


Turbo charging MySQL by setting up the query cache

To make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell


Moving mySQL DBs between servers

Moving mySQL DBs from one server to another: mysqldump -uUSER -pPASSWORD txp_database > txp_database.sql puts the entire thing in one nicely portable text file. on a new server it takes mysql -uUSER -pPASSWORD txp_database <


Linux Cron Jobs Explained

Cron allows users to automate repetitive system administration tasks such as tape backups, database reorganization, and general file cleanups (such as emptying log files and queues). The Crontab File’s Syntax To tell cron what you


Taking backup of mysql database using cron

Taking backup of mysql database using cron Create a file called and also an empty directory called mysql_backup. The script should have the following info :


PRM (Process Resource Monitoring) in Linux Servers

The great people from R-FX Networks are bringing us a number of powerfull tools for the Linux Server enviroment PRM (Process Resource Monitoring) monitors the process table on a given system and matches process id’s


How to Reset your Linux Root Password

Whenever you can’t remember Root password, you can read this tutorial and do step by step to Reset it … You can log in with single-user mode and create a new root password. Reboot your


CentOS – what happened to netconfig in 5.1

For whatever reason CentOS decided to drop netconfig and renamed it to system-config-network


Common SSH Commands and Linux Shell Commands

We’ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This


The old JavaScript cPanel Server exploit

The Javascript exploit has been an old saga on a few Linux distros running cPanel and Plesk . The compromise is at the root level and a rootkit has been installed. This rootkit will attach