Install phpIPAM on Windows [Open source IP Address Management System]
Full steps can be found at https://i12bretro.github.io/tutorials/0760.html
--------------------------------------------------------------------
What is phpIPAM?
--------------------------------------------------------------------
phpIPAM is an open-source web IP address management application (IPAM). It's goal is to provide light, modern and useful IP address management. It is a php-based application with a MySQL database backend, using jQuery libraries, ajax and HTML5/CSS3 features. - https://phpipam.net/
--------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------
phpIPAM is not officially supported on Windows. Some features and functionality will not work, to include network scans. However, the tool can still be used to manually input and visualize network IP address layouts.
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
01. Download XAMPP https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/
02. Download phpIPAM https://github.com/phpipam/phpipam/releases/latest
03. Download Microsoft Visual C++ https://aka.ms/vs/16/release/vc_redist.x64.exe
04. Install Microsoft Visual C++
05. Right click the downloaded XAMPP .zip file ≫ Extract All...
06. Right click the downloaded phpIPAM .zip file ≫ Extract All...
07. Cut the phpipam folder inside the XAMPP /htdocs directory
08. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
09. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
10. Navigate to the XAMPP/phpipam folder
11. Create a copy of the config.dist.php file ≫ Rename the copy config.php
12. Edit config.php in a text editor
13. Update the database connection details
$db['host'] = '127.0.0.1';
$db['user'] = 'php_ipam_rw';
$db['pass'] = 'P4P1p@m!!';
$db['name'] = 'php_ipam';
$db['port'] = 3306;
14. Below the database connection, add the following line to define the BASE variable
define('BASE', "/phpipam/");
15. Save the changes to config.php
16. Navigate to XAMPP/php and edit php.ini
17. Find the following line and remove the ; to uncomment them
extension=gmp
extension=ldap
extension=sockets
extension=xmlrpc
18. Save the changes to php.ini
19. Run XAMPP/xampp-control.exe
20. Click the Start buttons next to Apache and MySQL
21. Navigate to XAMPP/mysql/bin
22. Hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
23. Run the following commands in the PowerShell window to setup the phpIPAM database
.\mysql -u root
CREATE DATABASE php_ipam;
GRANT ALL ON php_ipam.* to 'php_ipam_rw'@'localhost' IDENTIFIED BY 'P4P1p@m!!';
FLUSH PRIVILEGES;
EXIT;
exit
--------------------------------------------------------------------
phpIPAM Web Installer
--------------------------------------------------------------------
01. Open a web browser and navigate to http://DNSorIP/phpipam
02. The phpipam Installation web installer should be load
03. Click the New phpipam installation button
04. Click the Automatic database installation button
05. Complete the database form as follows
MySQL/MariaDB username: php_ipam_rw
MySQL/MariaDB password: P4P1p@m!!
MySQL/MariaDB database location: 127.0.0.1
MySQL/MariaDB database name: php_ipam
06. Click the Show advanced options button
07. Uncheck Create new database and Set permissions to tables ≫ Click the Install phpipam database button
08. Once the database is initialized, click the Continue button
09. Enter and confirm an admin user password ≫ Click Save settings
10. Click the Proceed to login button
11. Login with the username admin and the admin password set earlier
12. Welcome to phpIPAM
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro