Creating Debian installer(.deb) for linux based system makes the installation process very simple because we do not need to worry about the required files and dependencies because everything will be there in the package. Here I am going some basic steps on how can we create the debian installer:
( I am using Ubuntu 12.04 LTS)
1. Prepare Development Environment
$ sudo apt-get install packaging-dev
This installs everything you need.
Install build-essential if it is not already installed in the system.