Why you need DHCP server?

DHCP is useful for fast delivery of client network configuration. When configuring the client system, the administrator can choose DHCP and not have to enter an IP address, netmask, gateway, or DNS servers. The client retrieves this information from the DHCP server.
DHCP is also useful if an administrator wants to change the IP addresses of a large number of systems. Instead of reconfiguring all the systems, he can just edit one DHCP configuration file on the server for the new set of IP address. If the DNS servers for an organization changes, the changes are made on the DHCP server, not on the DHCP clients. Once the network is restarted on the clients (or the clients are rebooted), the changes will take effect.

Step 1. Installing DHCP server

#apt-get install dhcp3-server

Once you press enter installation will start it will ask you some questions just you need to click ok for all three times

Step 2. Configuring DHCP server

The main Configuration file for DHCP server is

/etc/dhcp3/dhcpd.conf

Before doing any changes take backup copy of this file and add the following lines
Continue Reading…

Do you want to recover the MySQL root password. its by no means, easy. But its quite simple if you follow the procedure. You will have to follow this step-by-step processes.

  1. Step 1: Stop the MySQL server process.
  2. Step 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for a password.
  3. Step 3: Connect to the MySQL server as the root user.
  4. Step 4: Set a new root password.
  5. Step 5: Exit and restart the MySQL server.

Here are the commands you need to type for each step (log in as the root user):

Step 1 : Stop the MySQL service:

Continue Reading...

By default Debian etch 32bit allows a maximum of 4 GB RAM. The limit can be raised up to 64 GB with a single apt-get command / kerenl update:

apt-get install linux-image-2.6-686-bigmem

That’s it, reboot your system and you will be able to install up to 64GB of RAM to your system. Continue Reading…

VMware Server can create, edit, and play virtual machines. It uses a client-server model, allowing remote access to virtual machines, at the cost of some graphical performance (and 3D support). In addition to the ability to run virtual machines created by other VMware products, it can also run virtual machines created by Microsoft Virtual PC.

1. Install required packages

apt-get install psmisc make gcc gcc-4.1 linux-headers-$(uname -r)

2. Download VMware server

Register at vmware.com, download the latest VMware server binary and upload to your server.

Continue Reading…

Compiling the kernel from source on Debian is actually pretty simple thing to do.

This guide has been tested on standard etch installation but will probably work on other versions and debian-like operating systems. The system is easy to break if not done right, compile and install the kernel at your own risk!

Install required packages

apt-get install kernel-package libncurses5-dev fakeroot wget build-essential

Download Kernel sources

You can see a list of available kernels here: http://www.eu.kernel.org/pub/linux/kernel/v2.6/

cd /usr/src

wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.gz

Continue Reading…