Google Chrome – is it just another browser?

Google Says,
At Google, we have a saying: “launch early and iterate.” While this approach is usually limited to our engineers, it apparently applies to our mailroom as well! As you may have read in the blogosphere, we hit “send” a bit early on a comic book introducing our new open source browser, Google Chrome. As [...]

Mount 2nd Hard Drive

1. Login to your server and “su -” to root (Do not forget the “-” after su).
2. Verify that the disk is present and there is nothing on it. Make note of the geometry, you will need the size of the disk in megabytes. It may vary slightly depending on drive brand and model.
# parted [...]

Guide to Moving a Large mySQL Database to new Server using BigDump

So you have a larger mySQL database of more than 30 MB size, you want to move it to a new server, and you’re unable to import your database to the new server via phpMyAdmin, due to its time and size limitations.
But don’t worry, its not a big problem. It can be done using a [...]

How To Install CHKROOTKIT

1. Login to your server as root. (SSH)
2. Down load the chkrootkit.
Type: wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
3. Unpack the chkrootkit you just downloaded.
Type: tar xvzf chkrootkit.tar.gz
4. Change to new directory
Type: cd chkrootkit*
5. Compile chkrootkit
Type: make sense
6. Run chkrootkit
Type: ./chkrootkit
If it says “Checking `bindshell’… INFECTED (PORTS: 465)”
This is normal and it is NOT really a virus.

Installing and Configuring Nagios

1) Getting Nagios

You need root access on the server, where you would like to install Nagios. Login as root.
Create a directory for downloads.
#mkdir -p /usr/src/backs/nagios
#cd /usr/src/backs/nagios
Download source of nagios and nagios-plugins at http://www.nagios.org/download/.
#wget http://keihanna.dl.sourceforge.net/sourceforge/nagios/nagios-1.2.tar.gz
#wget http://easynews.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.3.1.tar.gz
2) Compilation and installation of Nagios
Login as root and create a user, say “nagios”
#su
#adduser nagios
#passwd nagios
Changing password for user nagios.
New UNIX [...]

How to sync data between 2 servers automatically?

Have you ever wanted to know how to easily synchronize the data between multiple servers automatically?
In this article I’ll explain how to setup 2 Linux servers to automatically synchronize data between a specific directory on each server. To do this we will use rsync, ssh key authentication, and a cron job.
Let’s call the 2 servers [...]

How to Restore off a mounted slave disk on Redhat + Cpanel (crash/hack/bad kernel)

How to Restore off a mounted slave disk on Redhat + Cpanel (crash/hack/bad kernel)
Warning: This is not to be done by the unexperienced admins bad things could happen. Hire someone.
Sometimes if you get hacked or boot with a bad kernel you need to have the datacenter mount your old drive, and install a new one [...]

Stop PHP nobody Spammers

PHP and Apache has a history of not being able to track which users are sending out mail through the PHP mail function from the nobody user causing leaks in formmail scripts and malicious users to spam from your server without you knowing who or where. Watching your exim_mainlog doesn’t exactly help, you see th [...]

How to install MRTG on Your Cpanel Server

How to install MRTG on Your Cpanel Server
The Multi Router Traffic Grapher or just simply MRTG is free software for monitoring the traffic load on network links. It allows the user to see traffic load on a network over time in graphical form. MRTG generates HTML pages containing graphical images which provide a LIVE visual [...]

[cPanel] Move Large Site from one Server to another

1. Login to your server and su – to root (do not forget the – after su).
2. Change to the /home directory:
# cd /home
3. Run the following command: (this may take a while depending on the size of your site)
# /scripts/pkgacct USERNAME
(NOTE: USERNAME is the name of the user account not domain [...]