I spent lot of time installing IPPLAN – IP Address Management system, there was lot of Google searching involved, reading forums, lot of trial and errors so I decided to write notes about my installation so hopefully next time I need to do something I can just look at it at one location and perhaps this may help other users too.
First part was to choose which Operating System I am going to use to install IPPLAN. My personal two favorites are Ubuntu or Debian. So I ended up using Debian as Ubuntu is based on Debian, I just wanted to go with the original. I setup SSH access on the Debian so that I can just work from there.
After installing Debian and running all the updates on it next step was to download and install IPPLAN. IPPlan can easily be downloaded from Source Forge.
Prerequisites for installing IPPlan – IP Address Management Software (IPAM)
These are some of the things you want to install before you download and start installing IPPlan
- MySQL Server
- PHP 5 and PHP 5 MySQL
Steps for installing, configuring IPPLAN
- I created a folder on the desktop and called it sftw by using mkdir sftw
- Next I changed my directory to that sftw directory and used the wget http://sourceforge.net/projects/iptrack/files/ipplan-win/Release%204.92/ipplan-4.92a.zip/download command to download it within that directory.
- Now you have to unzip the file by using the unzip ipplan-4.92a.zip command.
- Once that is completed what I did was renamed the ipplan directory, mv ipplan-4.92.a ipplan and then moved it under the /var/www by using mv ipplan /var/www/.
- Next step is to create the mysql database for IPPlan. Use the following steps to create the database structure for IPPlan:
- “mysqladmin -u root -p create ipplan (This will use the root user to create the ipplan database – Of course you will have to type in the root password after you hit enter)
- “mysql -u root -p ipadmin” (This will create a user called “ipadmin”)
- “mysql grant all privileges on ipplan.* to ipadmin@localhost identified by ‘passwordforipplan';” (This will give all the permissions to “ipadmin” user for the “ipplan” database. “passwordforipplan” will be the database password that you will define again later in the config.php file.)
- “mysqladmin flush-privileges” (This will reload the sql database)
- Now change directory to ipplan directory cd /var/www/ipplan if you are not already in it.
- Now you can use either vim or nano to edit the config.php file to update the entries for the database I like to use nano so nano config.php
- Scroll down to the following lines and enter the information accordingly, password you use here is the password to connect to the database that you defined above in Step 3
- Once you have this information filled out, there is one more step, which is defining the password for the “admin user” for IPPlan.
- Scroll down to the following lines and edit the password field, you can also edit the Administrator name in there if you like:
- Once these two steps are done save the file and close it.
- “chown -R www-data /var/www/ipplan” and “chmod 750 www-data /var/www/ipplan” (This will give the apache user permissions to the ipplan directory)
- Now you are set for the final install steps. Point your browser to http://localhost/ipplan/admin/install.php.
- On the page you will two option in the first option choose New Installation and the second option Run the sql now. Hit the “Go” button and you are done as long as you do not see any errors on the page
Note: These instructions are mainly from how I did the install and from my personal notes. If you want to use them use them at your own risk, if you mess up something that is your responsibility. I suggest using a non production system first and test out everything that is what I did rest is your choice
Tags: Free IP Address Management, Free IPAM, How to install IPPlan, Installing IPPlan, Installing IPPLAN on Debian, IP Address Management (IPAM) software free, IPPLAN, Open Source IP Address Management, Open Source IPAM