Decian 12.x基于LNMP安装phpIPAM(IP管理系统)

phpipam是一个开源Web IP地址管理应用程序(IPAM)。其目标是提供轻便,且有用的IP地址管理系统。它是基于PHP的应用程序,具有MySQL数据库后端,使用jQuery库,ajax和HTML5 / CSS3功能。

在Debian 12中,基于LNMP,如何来部署phpIPAM呢?

1.搭建LNMP平台

请参考笔者的另一篇博文,搭建好LNMP平台.网址如下:https://blog.csdn.net/my1114/article/details/135860749?spm=1001.2014.3001.5502

还要增加php8.x的另外两个扩展:php8.x-gmp,php-pear

#apt install php8.2-gmp

#apt install php-pear

2.克隆phpIPAM

#cd /data/html (nginx的文档根目录)

#git clone https://github.com/phpipam/phpipam.git

3.为安装phpIPAM修改权限

#chown -R www-data:www-data ./phpipam/

#cd phpIPAM

#find . -type f -exec chmod 0644 {} \;

#find . -type d -exec chmod 0755 {} \;

4.创建及修改配置文件

#cp config.dist.php config.dist.php.bak

#mv config.dist.php config.php

#vim config.php

修改为:

根据phpipam包相对nginx文档根目录位置来设置.

笔者nginx的文档根目录为/data/html,而phpIPAM的包内容放于/data/html/phpipam之内,所以作上述更改.

5.安装phpIPAM

浏览器地址栏输入:http://IP地址/phpipam




6.登录phpIPAM

浏览器地址栏输入:http://IP地址/phpipam

至此,phpIPAM安装结束.

相关推荐
Fang_Qianling4 个月前
编写Ansible角色实现分布式LNMP安装
分布式·ansible·lnmp·playbook·roles
ZZDICT4 个月前
LNMP环境部署WordPress——使用源码包安装方式部署环境
wordpress·lnmp·源码安装方式
RememberLey5 个月前
【Linux】阿里云ECS搭建lnmp和lamp集群
linux·运维·阿里云·lnmp·lamp
Bean2955 个月前
一、企业级架构之LNMP
mysql·nginx·架构·php·lnmp
王鹏程@1238 个月前
LNMP架构及应用部署
linux·mysql·nginx·架构·lnmp
杰哥的技术杂货铺1 年前
nginx报错file not found解决
nginx·php·wordpress·lnmp
杰哥的技术杂货铺1 年前
lnmp 环境搭建wordpress
lnmp·centos7
杰哥的技术杂货铺1 年前
lnmp环境搭建
lnmp·centos7
苏珊.1 年前
web集群学习:搭建 LNMP应用环境
nginx·lnmp