IP Management With PHPIP
IP Management With PHPIPPhpip is an IP Management tool which helps to manage your network with the detailed information of your client or network IP at the distributed point. This is basically useful for ISPs as well as large networks. Now we are going to install this system with the following steps, here we go... =============================================================================
(http://www.phpip.net/download.php or http://jaist.dl.sourceforge.net/sourceforge/phpip/phpip-4.3.2-build-200611081420.tar.gz
=============================================================================
Fresh Installation1. Extract the distribution tarball. (default web root directory /var/www/html/) # cd /var/www/html/ 2. Rename the directory. # mv phpip-4.3.2-build-200611081420/ phpip/ 3. Edit your Apache configuration: # vi /etc/httpd/conf/httpd.conf Add the following lines according to your settings in your httpd.conf: <VirtualHost 192.168.10.100> ServerName ipmanager.ispexperts.com.np ServerAdmin ipmanager@ispexperts.com.np DocumentRoot /var/www/html/ DirectoryIndex index.php <Directory /var/www/html/phpip> Order deny,allow Deny from all Allow from 192.168.10.20 192.168.10.20 192.168.30.0/24 </Directory> </VirtualHost> # service mysqld restart # mysqladmin -u root password testpassword +++++++++++++++++++++++++++++++++++++ (Some time the following command may need to grant the useraddress to the database if previously created otherwise the web interface will perform it automatically.) # mysql -u root -p mysql>use phpip_management; mysql>show privileges; mysql>grant all privileges on phpip_managemnet.* to 'root'@'localhost' identified by 'mypassword'; mysql>grant all privileges on phpip_managemnet.* to 'phpip'@'localhost' identified by 'phpip'; mysql>flush privileges; mysql>quit ++++++++++++++++++++++++++++++ Now access your web interface after restarting the httpd service: # service httpd restart http://your-server/phpip/ or http://192.168.10.100/phpip/ Follow the step by step install instructions there might come some problem due to incomplete package installation that I have stated above like php-ldap,php-pear,php-mysql etc. Here you will create phpip admin user with database login access for phpip_management (database). After successful installation you can rename the following file. Follow the step by step install instructions. 4. Rename the following file: includes/install.database.php #mv includes/install.database.php includes/database.php #vi database.php <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2006 Michael Earls |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| - phpIP - http://www.phpip.net/ |
+-------------------------------------------------------------------------+
*/
// Create database connection and select database
mysql_select_db('ip_management', mysql_pconnect('localhost','root','mypassword')) or die (mysql_error());
?>
Now check your mysql database there you can find a phpip_management database created by web based php interface. ===================================================
UpgradeNOTE:-This is all about the PHPip installation but it hurts when you are going to upgrade your previous phpip to the latest version of phpip which is not facilitated by the software vendor. Ok, let's follow the steps to upgrade:
SNAPSHOTS:-Check URL below for my installation process. http://www.ispexperts.com.np/ipmgmt2 ======================= ***********************ENJOY***************************
|



Recent comments
2 days 40 min ago
2 days 9 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 14 hours ago
2 days 16 hours ago
2 days 18 hours ago
2 days 19 hours ago
3 days 11 hours ago
3 days 12 hours ago