王剑编程网

分享专业编程知识与实战技巧

这款免费的软件某鱼卖60块,你觉得值吗?

前言:

IP地址作为企业信息化管理中最重要的资源之一,与业务息息相关。随着IT建设规模日益庞大,使用的IP地址也越来越多,经常面临IP管理分散、私网乱建、非法接入等问题, 而传统人工维护 IP地址管理工作效率低下、统计困难等问题。

该服务之前使用过相当的不错,免费、免费、免费,搭建过程也是相当简单,且天然支持中文,在后续的使用中也是非常友好。另外看到某鱼居然有人收费在出售授权,希望该文章能帮到你!

项目介绍:

phpIPAM是一个开源的Web IP地址管理应用程序(IPAM)。其目标是提供轻量级、现代和有用的 IP 地址管理。它是基于php的应用程序,带有MySQL数据库后端,使用jQuery库,ajax和HTML5 / CSS3功能。

项目网站地址:https://phpipam.net/

功能介绍:

安装介绍:

1.安装环境及相关服务软件:

  • Centos7.0;
  • Apache服务;
  • php 支持 phpipam 所需的模块;
  • Mariadb。

2.安装步骤:

安装 Apache、MySQL、PHP (LAMP) 堆栈包

yum install httpd mariadb-server php php-cli php-gd php-common php-ldap php-pdo php-pear php-snmp php-xml php-mysql php-mbstring git
yum install epel-release
yum install php-mcrypt

配置apache服务

修改
/etc/httpd/conf/httpd.conf中的配置,如下:


	Options FollowSymLinks
	AllowOverride all
	Order allow,deny
	Allow from all

及修改服务器名称

ServerName locahost:80

修改时区:

[root@phpipam ~]# vi /etc/php.ini
date.timezone = Asia/Shanghai

启动apache Web服务及开机自启动:

service httpd start
chkconfig httpd on

添加防火墙规则:

firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload

配置和运行 MariaDB 数据库服务器

开启mariadb服务及开机自启动

service mariadb start
chkconfig mariadb on
mysql_secure_installation  #初始化数据库及设置root 密码

下载 phpipam 安装文件

[root@phpipam ~]# cd /var/www/html/
[root@phpipam html]# git clone https://github.com/phpipam/phpipam.git .
正克隆到 '.'...
fatal: unable to access 'https://github.com/phpipam/phpipam.git/': Encountered end of file
[root@phpipam html]# git clone https://github.com/phpipam/phpipam.git .
正克隆到 '.'...
remote: Enumerating objects: 28362, done.
remote: Counting objects: 100% (726/726), done.
remote: Compressing objects: 100% (488/488), done.
remote: Total 28362 (delta 447), reused 394 (delta 227), pack-reused 27636
接收对象中: 100% (28362/28362), 20.87 MiB | 166.00 KiB/s, done.
处理 delta 中: 100% (20729/20729), done.	

确保上传文件夹可供 xls/csv 导入访问

chown apache:apache -R /var/www/html/
chcon -t httpd_sys_content_t /var/www/html/

cd /var/www/html/
find . -type f -exec chmod 0644 {} \;
find . -type d -exec chmod 0755 {} \;

chcon -t httpd_sys_rw_content_t app/admin/import-export/upload/ -R
chcon -t httpd_sys_rw_content_t app/subnets/import-subnet/upload/ -R
chcon -t httpd_sys_rw_content_t css/1.4.4/images/logo/ -R

配置数据库连接

[root@phpipam html]# cp config.dist.php config.php

phpipam 安装

现在准备安装phpipam。打开浏览器并转到 http://ip_address/ 以开始自动安装数据库。

安装过程截图如下

天然支持中文那也是相当的友好!

中文修改方式

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言