Atlantic.Net Blog

How to Install phpIPAM on Fedora

phpIPAM is a free, open-source, PHP-based IP Address management tool. Its aim is to provide lightweight, modern, and useful IP address management via a web-based console. It is written in PHP and uses MySQL as a database backend. phpIPAM provides real-time statistics of used and unused IP addresses with subnets, status, hostname, and more information. It also offers some advanced features such as PowerDNS integration, NAT support, VLAN management, REST API, AD, LDAP, Radius authentication, and more.

In this post, we will show you how to install and configure the phpIPAM IP address management tool on Fedora.


  • A server running Fedora 34 on the Atlantic.Net Cloud Platform
  • A root password is configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Fedora 34 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install the LAMP Server

First, you will need to install Apache, MariaDB, and PHP on your server. You can install all of them with the following command.

dnf install httpd mariadb-server php

Next, install other required PHP extensions with the following command.

dnf install php-{mysqlnd,curl,gd,intl,pear,xmlrpc,mbstring,gettext,gmp,json,xml,fpm}

Next, start and enable the Apache, MariaDB, and PHP-FPM services using the following command.

systemctl enable --now httpd php-fpm mariadb

Step 3 – Create a Database and User for phpIPAM

Next, you will need to create a database and user for phpIPAM.

First, log in to MySQL shell using the following command.


Once logged in, create a database and user with the following command.

GRANT ALL ON phpipam.* TO phpipam@localhost IDENTIFIED BY 'securepassword';

Next, flush the privileges and exit from the MySQL shell with the following command.


Step 4 – Download phpIPAM

First, install the GIT package with the following command.

dnf install git -y

Next, download the latest version of phpIPAM using the following command.

git clone --recursive /var/www/html/phpipam

Next, navigate to the phpipam directory and copy the sample configuration file.

cd /var/www/html/phpipam
cp config.dist.php config.php

Next, edit the config.php file and define your database settings.

nano config.php

Change the following lines as per your database settings.

$db['host'] = 'localhost';
$db['user'] = 'phpipam';
$db['pass'] = 'securepassword';
$db['name'] = 'phpipam';
$db['port'] = 3306;

Save and close the file, then change the ownership of the phpIPAM directory.

chown -R apache:apache /var/www/html/phpipam

Step 5 – Create an Apache Virtual Host

Next, you will need to create an Apache virtual host configuration file to define your phpIPAM.

nano /etc/httpd/conf.d/phpipam.conf

Add the following configurations.

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/var/www/html/phpipam"
    <Directory "/var/www/html/phpipam">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    ErrorLog "/var/log/httpd/phpipam-error_log"
    CustomLog "/var/log/httpd/phpipam-access_log" combined

Save and close the file, then restart the Apache service to apply the changes.

systemctl restart httpd

Next, import the phpIPAM schema to the phpIPAM database.

mysql -u root -p phpipam < /var/www/html/phpipam/db/SCHEMA.sql

Step 6 – Access phpIPAM Web Interface

Now, open your web browser and access the phpIPAM web interface using the URL You should see the phpIPAM login screen.

phpipam login screen

Provide the default username and password as admin/admin then click on the Login button. You should see the default password reset screen.

phpipam reset password

Define your new password and click on the Save password button. You should see the following screen.

phpipam update password

Click on the Dashboard button. You should see the phpIPAM dashboard on the following screen.

phpipam dashboard


In this guide, we explained how to install and configure the phpIPAM IP address management tool on Fedora. phpIPAM is a very useful tool for system administrators to manage the hardware inventory of the entire infrastructure from the central place. You can now deploy the phpIPAM solution on VPS hosting from Atlantic.Net!


Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year