最后是在网页https://bitnami.com/stacks下搜reviewboard一键安装成功。其他很难安装的软件都可以在这个网址搜索下载一键安装
参考:
https://blog.csdn.net/u013201439/article/details/78878178
https://blog.csdn.net/zhichaosong/article/details/80952298
http://www.cnblogs.com/ayanmw/p/3464121.html
https://www.reviewboard.org/docs/manual/3.0/admin/upgrading/upgrading-reviewboard/
]# rb-site install /var/www/reviews安装后:
Your install key for Power Pack is:
3c0358173a294bd2d38f33c0d5706a49e344fbd4
按照参考链接安装完打开网页172.24.176.205出现如下错误
Something broke! (Error 500)
It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator.
更改 /var/www/reviewboard/conf/settings_local.py 文件,将 DEBUG = False 改为 DEBUG = True ( 本文ReviewBoard安装位置为 /var/www/reviewboard/ )
查找reviewboard的settings_local.py位置后,把settings_local.py文件里的 DEBUG = False 改为 DEBUG = True
重启 Apache 服务
service httpd restart
重新访问ReviewBoard,查看界面报错信息
发现是(2003, “Can’t connect to MySQL server on ‘127.0.0.1’ (13)”)
上网搜索资料,http://www.cnblogs.com/ayanmw/p/3464121.html发现这篇文章,经测试完美解决。
原因:
#getsebool -a | grep httpd
[neo@neo phpMyTest]$ getsebool -a | grep httpd
发现 httpd_can_network_connect --> off
解决方案:
#setsebool httpd_can_network_connect 1
解决后重启mysql服务和http服务后,刷新页面出现新问题
Manual server updates required
A recent upgrade requires manual updates to be made on this server. After these changes are made, you should restart your web server.
这个问题解决不了,所以参考reviewboard官方文档进行安装;而mysql\httpd\rb-site还是参考的https://blog.csdn.net/u013201439/article/details/78878178文档
其实最后还是出现这个告警:
Manual server updates required
A recent upgrade requires manual updates to be made on this server. After these changes are made, you should restart your web server.
用rb-site upgrade /var/www/reviews后还是有以上问题。
最后是在网页https://bitnami.com/stacks下搜reviewboard一键安装成功。其他很难安装的软件都可以在这个网址搜索下载一键安装