禅道官网有一键安装包,一键安装即可用
bugfree
搭建lnmp环境 详情参考zabbix
解压bugfree包 到nginx的html里
unzip bugfree3.0.4.zip mv bugfree3.0.4 bugfree mkdir /usr/local/nginx/html/BugFile chmod 777 /usr/local/nginx/html/BugFile chmod 777 /usr/local/nginx/html/bugfree/assets chmod 777 /usr/local/nginx/html/bugfree/protected/runtime chmod 777 -R /usr/local/nginx/html/bugfree/protected/config chmod 777 -R /usr/local/nginx/html/bugfree/install
如果安装后报404错误则注释php以下代码 (用/* */ 注释)
vim /usr/local/nginx/html/bugfree/protected/config/main.php /* \'urlManager\' => array ( \'urlFormat\' => \'path\', \'showScriptName\' => true, \'rules\' => array ( \'<type:\\w+>/<id:\\d+>/<action:\\w+>\' => \'info/edit\', \'<type:\\w+>/list/<product_id:\\d+>\' => \'info/index\', \'<type:\\w+>/<id:\\d+>\' => \'info/edit\', \'<controller:\\w+>/view/<id:\\d+>\' => \'<controller>/view\', \'<controller:\\w+>/<id:\\d+>\' => \'<controller>/view\', \'<controller:\\w+>/<action:\\w+>/<id:\\d+>\' => \'<controller>/<action>\', \'<controller:\\w+>/<action:\\w+>\' => \'<controller>/<action>\', ), ),*/