Ubuntu系统安装
ReviewBoard建议在Ubuntu系统上安装,因为在Windows 64位系统上依赖模块不能保证顺利运行。
ReviewBoard支持MySQL、PostgreSQL和sqlite数据库,以及Apache+mod_wsgi, fastcgi, or mod_python/lighttpd + fastcgi。
安装时如果需要使用代理,需要先设置代理服务器。
sudo –s
export http_proxy=http://proxy.example.com/
easy_install ....
安装Python Setuptools:
apt-get install python-setuptools
安装Python Development Headers
apt-get install python-dev
安装memcached
apt-get install memcached
easy_install python-memcached
安装patch
apt-get install patch
安装Review Board
easy_install ReviewBoard
安装Database Bindings
easy_install mysql-python
注意,在安装mysql-python之前:
sudo easy_install mysql-python
需要先安装, libmysqld-dev
sudo apt-get install libmysqld-dev
否则会报错:
EnvironmentError: mysql_config not found。
安装Source Control Components
apt-get install subversion python-svn
安装Amazon S3 Support
easy_install django-storages
安装PyLucene
sudo apt-get install pylucene
安装Development Tools
easy_install nose Sphinx