1.安装php
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n...
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php72w php72w-cli php72w-common php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml
systemctl start php-fpm
2.下载禅道源码,解压放到/opt目录下
3.配置nginx
server {
listen 80;
server_name www.developcls.com;
location / {
root /opt/zentaopms/www;
index index.php index.html index.htm;
}
location ~ .php$ {
root /opt/zentaopms/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
4:配置
浏览器中打开:http://www.developcls.com
5.更多参考
http://www.developcls.com/qa/55e4f8b0f3d843b089c4229d797524a2...
按上面命令使用,如果发现无效,执行如下命令再试试:
setenforce 0
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。