Преглед на файлове

0760: Install phpIPAM on Windows [Open-source IP Address Management System]

i12bretro преди 3 години
родител
ревизия
ee25d7d99c
променени са 1 файла, в които са добавени 105 реда и са изтрити 0 реда
  1. 105 0
      0760.html

+ 105 - 0
0760.html

@@ -0,0 +1,105 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Install phpIPAM on Windows [Open-source IP Address Management System]</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <meta name="keywords" content="Windows,Network Planning,IP Address Managment,IPAM,IP Address Manager,PHPIPAM,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Browser Based,Web Based Tools,Free Open Source Software,Free Software,Open Source Software,Open-Source,FOSS,Microsoft Windows,IP Address Planning,How To,Tutorial,i12bretro">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Install phpIPAM on Windows [Open-source IP Address Management System]">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="revised" content="07/08/2022 08:30:08 PM" />
+				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
+				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript" src="includes/js/steps.js"></script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Install phpIPAM on Windows [Open-source IP Address Management System]</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is phpIPAM?</h2>
+
+<blockquote><em>phpIPAM is an open-source web IP address management application (IPAM). It&#39;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. -<a href="https://phpipam.net/" target="_blank">https://phpipam.net/</a></em></blockquote>
+
+<h2>Disclaimer</h2>
+
+<p>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. </p>
+
+<h2>Installation</h2>
+
+<ol>
+	<li>Download XAMPP <a href="https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/" target="_blank">Download</a></li>
+	<li>Download phpIPAM <a href="https://github.com/phpipam/phpipam/releases/latest" target="_blank">Download</a></li>
+	<li><label for="cb_li_917989_0">Download Microsoft Visual C++ </label><label for="cb_li_917989_0"><a href="https://aka.ms/vs/16/release/vc_redist.x64.exe" target="_blank">Download</a></label></li>
+	<li>Install Microsoft Visual C++</li>
+	<li>Right click the downloaded XAMPP .zip file &gt; Extract All...</li>
+	<li>Right click the downloaded phpIPAM .zip file &gt; Extract All...</li>
+	<li>Cut the phpipam folder inside the XAMPP /htdocs directory</li>
+	<li>Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example</li>
+	<li>Run XAMPP/setup_xampp.bat to update the configuration files with the new server location</li>
+	<li>Navigate to the XAMPP/phpipam folder</li>
+	<li>Create a copy of the config.dist.php file &gt; Rename the copy config.php</li>
+	<li>Edit config.php in a text editor</li>
+	<li>Update the database connection details
+	<p>$db[&#39;host&#39;] = &#39;127.0.0.1&#39;;<br />
+	$db[&#39;user&#39;] = &#39;php_ipam_rw&#39;;<br />
+	$db[&#39;pass&#39;] = &#39;P4P1p@m!!&#39;;<br />
+	$db[&#39;name&#39;] = &#39;php_ipam&#39;;<br />
+	$db[&#39;port&#39;] = 3306;</p>
+	</li>
+	<li>Below the database connection, add the following line to define the BASE variable
+	<p>define(&#39;BASE&#39;, &quot;/phpipam/&quot;);</p>
+	</li>
+	<li>Save the changes to config.php</li>
+	<li>Navigate to XAMPP/php and edit php.ini</li>
+	<li>Find the following line and remove the ; to uncomment them
+	<p>extension=gmp<br />
+	extension=ldap<br />
+	extension=sockets<br />
+	extension=xmlrpc</p>
+	</li>
+	<li>Save the changes to php.ini</li>
+	<li>Run XAMPP/xampp-control.exe</li>
+	<li>Click the Start buttons next to Apache and MySQL</li>
+	<li>Navigate to XAMPP/mysql/bin</li>
+	<li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell window here...</li>
+	<li>Run the following commands in the PowerShell window to setup the phpIPAM database
+	<div class="codeBlock PS">.\mysql -u root<br />
+	CREATE DATABASE php_ipam;<br />
+	GRANT ALL ON php_ipam.* to &#39;php_ipam_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;P4P1p@m!!&#39;;<br />
+	FLUSH PRIVILEGES;<br />
+	EXIT;<br />
+	exit</div>
+	</li>
+</ol>
+
+<h2>phpIPAM Web Installer</h2>
+
+<ol>
+	<li>Open a web browser and navigate to http://DNSorIP/phpipam</li>
+	<li>The phpipam Installation web installer should be load</li>
+	<li>Click the New phpipam installation button</li>
+	<li>Click the Automatic database installation button</li>
+	<li>Complete the database form as follows
+	<p>MySQL/MariaDB username: php_ipam_rw<br />
+	MySQL/MariaDB password: P4P1p@m!!<br />
+	MySQL/MariaDB database location: 127.0.0.1<br />
+	MySQL/MariaDB database name: php_ipam</p>
+	</li>
+	<li>Click the Show advanced options button</li>
+	<li>Uncheck Create new database and Set permissions to tables &gt; Click the Install phpipam database button</li>
+	<li>Once the database is initialized, click the Continue button</li>
+	<li>Enter and confirm an admin user password &gt; Click Save settings</li>
+	<li>Click the Proceed to login button</li>
+	<li>Login with the username admin and the admin password set earlier</li>
+	<li>Welcome to phpIPAM</li>
+</ol>          </div>
+        </div>
+      </body>
+    </html>
+