【CMDB】iTop 开源cmdb/ITIL软件部署

本文详细介绍在CentOS 7.5环境下部署iTop-2.6.1版本的步骤,包括软件要求、环境准备、数据库配置及访问设置。iTop基于MySQL和PHP,适用于Apache、IIS等支持PHP的Web服务器。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

--测试环境
centos 7.5
安装版本iTop-2.6.1-4463.zip

--官网下载
https://wiki.openitop.org/doku.php

--官方安装手册
https://www.itophub.io/wiki/page?id=latest%3Ainstall%3Ainstalling_itop

--环境要求,摘录自官方安装手册
Software requirements
iTop is based on MySQL and PHP.

Plus of-course a web server: Apache, IIS or any web server supporting PHP.
Graphviz is needed to display the impact analysis graph.
php-gd is optionnal but required to be able to add images with CKEditor and resize automatically images within HTML fields.
Check Encrypted data for what to install to managed EncryptedString attribute
To select a database version, check MariaDB release notes by version and MySQL release notes 5.7
Version requirement are:
Minimum PHP 5.6, recommended?PHP 7.x (7.0, 7.1 or 7.2)
Only the version 2.6.1 and above are compatible with PHP 7.3
Minimum MySQL 5.6 (or MariaDB 10.1), recommended MySQL 5.7 or MariaDB 10.2
iTop does not work on PHP 7.3 and MySQL 8    #不支持PHP7.3和Mysql8

--环境准备
关闭selinux
/usr/sbin/setenforce 0

vi /etc/selinux/config
SELINUX=disabled

PHP需要5.6版本以上,以下的话安装完成后网页无法访问
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

rpm -qa |grep php
yum remove php*

yum install -y php56w php56w-pdo php56w-gd php56w-mcrypt php56w-soap php56w-mbstring php56w-ldap 
yum install -y php56w-mysql php56w-imap php56w-xml php56w-cli php56w-opcache php56w-common php56w-intl graphviz

--解压安装包
unzip iTop-2.6.1-4463.zip

--配置启动http
mv web /var/www/html/itop
mkdir -p /var/www/html/itop/{conf,data,log,env-production,env-production-build}
chown -R apache:apache /var/www/html/itop/{conf,data,log,env-production,env-production-build}
cd /var/www/html/itop/
chmod 755 index.php 
systemctl restart httpd

--在数据库中创建db和账号,数据库在另外一台机器
create database itopdb DEFAULT CHARACTER SET utf8;
grant all on itopdb.* to 'itop'@'%' identified by 'itop';
flush privileges ;


--完成后打开站点进行配置
 http://192.168.3.5/itop/setup/
 
--根据配置一部部完成部署即可

安装配置流程参考:

https://blog.youkuaiyun.com/kk185800961/article/details/84954918


--部署完成后访问地址
 http://192.168.3.5/itop

 

优点:功能多,部署简单,界面相对好看,可以进行二次开发

缺点:使用较复杂,需要二次开发

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值