27 Mar 11 Installing IPPLAN

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

  • Apache2
  • 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 command to download it within that directory.
  • Now you have to unzip the file by using the unzip 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:
    1. “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)
    2. “mysql -u root -p ipadmin” (This will create a user called “ipadmin”)
    3. “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.)
    4. “mysqladmin flush-privileges” (This will reload the sql database)
    5. Now change directory to ipplan directory cd /var/www/ipplan if you are not already in it.
    6. 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
    7. 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
    8. Once you have this information filled out, there is one more step, which is defining the password for the “admin user” for IPPlan.
    9. Scroll down to the following lines and edit the password field, you can also edit the Administrator name in there if you like:
    10. Once these two steps are done save the file and close it.
    11. “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)
    12. Now you are set for the final install steps. Point your browser to http://localhost/ipplan/admin/install.php.
    13. 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
    14. 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: , , , , , , , ,

WordPress SEO