安装过程参考这里
建议将review board安装在Debian, Ubuntu, 之上,因为安装过程中需要很多的依赖库,使用普通的离线安装,会遇到各种各样难以解决的问题,笔者曾在自己的mac上进行安装,最终还是以问题太多而宣告失败,最后选择公司的ubuntu服务器来安装,还是比较顺利的。
由于review board是基于web来管理的,因此我们需要搭建web服务器,官方提供了两种服务器如下,个人推荐apache。
Apache + mod_wsgi, fastcgi, or mod_python lighttpd + fastcgi
其中“+”前面的为服务器,二选一安装,“+”后面的是服务器的一些优化插件,选择安装。
MySQL v5.0.31 or newer PostgreSQL sqlite v3
如果服务器使用了代理,需要执行以下命令
$ sudo -s $ export http_proxy=http://proxy.example.com/ $ easy_install ....
$ apt-get install python-setuptools
$ apt-get install python-dev
$ apt-get install memcached $ easy_install python-memcached
$ apt-get install patch
$ easy_install ReviewBoard
下面是我在在ubuntu 下以mysql和apache为基础安装review board的命令,供大家参考
apt-get install python-setuptools apt-get install python-dev apt-get install memcached apt-get install patch easy_install ReviewBoard easy_install mysql-python apt-get install python-mysqldb apt-get install subversion apt-get install subversion python-svn apt-get install sqlite
联系客服