Posts Tagged ReviewBoard

How to install ReviewBoard on RHEL 5

Installing Python Setuptools
# yum install python-setuptools
# easy_install -U setuptools

Installing Python Develoopment Headers
# yum install python-devel

Installing memcached
# rpm -Uvh
# yum install memcached
# easy_install python-memcached

Installing Patch
# yum install patch

Installing Review Board
# easy_install ReviewBoard
Wait until you see the message “Finished processing dependencies for ReviewBoard”.

Installing Database Bindings
# yum install MySQL-python
# easy_install mysql-python

Installing Source Control Components
# yum install cvs
# yum install git-core
# yum install subversion
# yum install pysvn

# easy_install mercurial

# easy_install P4PythonInstaller

Installing Amazon S3 Support
# easy_install django-storages

Installing Development Tools
# easy_install nose Sphinx

Creating Database
# mysql -uroot -h127.0.0.1 -P3306 -p
> create database reviewboard;
> GRANT ALL PRIVILEGES ON reviewboard.* TO ‘reviewboard’@’’ identified by ‘reviewboard’;
> GRANT ALL PRIVILEGES ON reviewboard.* TO ‘reviewboard’@’’ identified by ‘reviewboard’;

Creating a Review Board Site
# rb-site install /var/www/reviewboard

– Domain Name:
– Root Path [/]: /reviews/
– Media URL [media/]: media/
– Database Type: mysql
– Database Name [reviewboard]: reviewboard
– Database Server [localhost]:
– Database Username: reviewboard
– Database Password: reviewboard
– Cache Type: memcached
– Memcache Server [memcached://localhost:11211/]: memcached://localhost:11211/
– Web Server: apache
– Python Loader: wsgi
– Username [admin]: admin
– Password: admin
– E-Mail Address:

Then you will see:

* The site has been installed

The site has been installed in /var/www/reviewboard

Sample configuration files for web servers and cron are available
in the conf/ directory.

You need to modify the ownership of the following directories and
their contents to be owned by the web server:
* /var/www/reviewboard/htdocs/media/uploaded
* /var/www/reviewboard/data

For more information, visit:

Configuring Apache
# yum install mod_wsgi
# chown -R apache:apache /var/www/reviewboard/
# cp /var/www/reviewboard/conf/apache-wsgi.conf /etc/httpd/conf.d/

# vim /etc/httpd/conf/httpd.conf
Add the follow item:

LoadModule wsgi_module modules/

# vim /etc/httpd/conf.d/apache-wsgi.conf
Change the port into 8080:

<VirtualHost *:8080>

# /etc/init.d/httpd restart

Now you can access


Fork me on GitHub