CentOS 7 安装iTop 2.4.0

1、安装lamp及相关软件

yum install epel-release -y
yum install httpd php mariadb-server graphviz unzip php-gd php-mysqlnd php-imap php-soap php-ldap php-

mbstring php-mcrypt php-pecl-zendopcache -y

2、确保session目录权限

mkdir -p /var/lib/php/session

chown -R apache:apache /var/lib/php/session

3、开启lamp

systemctl enable httpd mariadb

systemctl start mariadb httpd

4、把itop2.4压缩包里的web目录内容,拷贝到到/var/www/html/itop/ 里

wget https://jaist.dl.sourceforge.net/project/itop/itop/2.4.0/iTop-2.4.0-3585.zip

unzip iTop-2.4.0-3585.zip -d /var/www/html/

mv /var/www/html/web /var/www/html/itop

5、修正目录权限,要求web服务器用户可写

mkdir -p /var/www/html/itop/{conf,data,log,env-production-build}

chown -R apache:apache /var/www/html/itop/{conf,data,log,env-production-build}

6、mysql建库

mysql

create database itop DEFAULT CHARACTER SET utf8;

grant all privileges on *.* to itop@'localhost' identified by 'itop'; 

flush privileges;

7、访问 http://IP/itop/setup/ 开始安装向导

数据库地址   localhost
数据库用户名 itop
数据库密码   itop

参考:http://blog.51cto.com/purplegrape/1886542
https://www.cnblogs.com/vcdx/p/9477911.html

你可能感兴趣的:(CentOS 7 安装iTop 2.4.0)