Review Board is provided as downloadable packages through Python setup tools, it is very easy way to install and configure the Review Board,

Review Board supports the following database servers, but we are going to use MySQL only.

  MySQL v5.0.31 or newer
sqlite v3

And the following web servers, but we are going to use Apache Web Server only,

  Apache + mod_wsgi, fastcgi, or mod_python
  lighttpd +

Before you begin need to setup necessary packages,

Installing Python Setuptools

 # apt-get install python-setuptools

 # easy_install -U setuptools

Installing memcached

# apt-get install memcached 


# easy_install python-memcached

Installing patch

#apt-get install patch 

Now, Let's start to install Review Board,

# easy_install ReviewBoard 

If you may get an error like,

No valid C compiler 

You need to install support packages,

#apt-get install libssl-dev

# apt-get install libfi-dev

#apt-get install python-dev

#apt-get install build-essentials

install MySQL Server,

# sudo apt-get install mysql

# pip install mysql-python

# apt-get install python-dev

#apt-get install python-mysqldb

#sudo apt-get install libmysqlclient-dev 

Installing Database Bindings

#easy_install mysql-python

Installing Source Control Components


#apt-get install cvs


#apt-get install git-core


#easy_install mercurial


#easy_install P4PythonInstaller


#apt-get install subversion python-svn


# apt-get install pylucene

Creating the Database

Open your MySQL database configuration  file my.cnf, add the following settings:



 # mysql -u root -p

mysql> CREATE DATABASE reviewboard CHARACTER SET utf8;

mysql> GRANT ALL PRIVILEGES ON reviewboard.* to 'ubuntu'@'localhost' IDENTIFIED BY 'password';

Web Configuration:

 # rb-site install /var/www/

domain name :
root path : /

database type : (1) mysql

Database Name [reviewboard]: 

Database Server [localhost]:

Database Username: ubuntu

database password : password

Memcache Server [localhost:11211]:

Username [admin]:


E-mail Address :

Company/Organization Name (optional):

Allow us to collect support data? [Y/n]:

Give the right permission,

# chown -R www-data /var/www/

# chown -R www-data /var/www/

# cd /etc/apache2/sites-available

# cp /var/www/

# cd ../sites-enabled

# ln -s ../sites-available/ .

Installing mod_wsgi

 # aptitude install libapache2-mod-wsgi

Check your apache port number

# vim /etc/apache2.ports.conf

listen 80

# vim /etc/hosts 

Finally, Open your browser and use your IP address or hostname,

username : admin
passwd :SKL%RF3U&AJSJ