========================================================== =============================== Original blog, reprinted please declare the source of Electronic coffee (original id blue rock) ========================================================== ================================
For the installation process, refer to here
We recommend that you install the review board On Debian, Ubuntu, because many dependent libraries are required during the installation process. If you use a common offline installation, you will encounter various difficult problems, I once installed it on my Mac. In the end, the failure was reported due to too many problems. Finally, I chose the company's Ubuntu server for installation, which is still relatively smooth.
Web servers: (required)
Because the Review Board is managed based on Web, we need to build a web server. The following two types of servers are officially provided: Apache is recommended.
Apache + mod_wsgi, fastcgi, or mod_pythonlighttpd + fastcgi
"+" Is followed by a server, and "+" is followed by some server optimization plug-ins. Select "Install.
* Database servers: (required) a colleague Review Board also needs a database to store review data. The following types of data are also officially provided. MySQL is recommended for individuals.
MySQL v5.0.31 or newerPostgreSQLsqlite v3
* Using a HTTP Proxy: (optional)
If the server uses a proxy, run the following command:
$ sudo -s$ export http_proxy=http://proxy.example.com/$ easy_install ....
* Installing Python setuptools (required)
$ apt-get install python-setuptools
* Installing Python development headers (required)
$ apt-get install python-dev
* Installing memcached and Python-memcached
$ apt-get install memcached$ easy_install python-memcached
* Installing patchpathc provides the diff view for the Review Board
$ apt-get install patch
* Installing Review Board
$ easy_install ReviewBoard
* Installing database bindings install the BIND plug-in between the database and pthon
$ easy_install mysql-python
* Installing source control components (optional) If you do not have a version management tool, you can install one. If yes, you do not need to install it again.
$ apt-get install subversion python-svn
You can refer to the official document to refer to the next chapter to complete the deployment board site process for different servers, databases, and others.
The following is my command to install the review board on the basis of MySQL and Apache in Ubuntu for your reference.
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