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

  1. #1 by Maxwell on April 25, 2014 - 5:57 am

    Thank You!!! Worked great and a very clean/easy guide.

  2. #2 by Niraj on May 9, 2014 - 6:27 pm

    Hi ,

    I am not able to add the cvs repository in reviewboard. Every time I am getting the following error msg.

    A repository was not found at the specified path.

    Can someone please help me to resolve this

  3. #3 by kiran on June 5, 2014 - 1:36 am


    I am getting Bad Request (400) error. Could you be more specific in Doamin Name, can we give the host name of the server there?

    • #4 by kiran on June 5, 2014 - 1:59 pm

      It worked, thank you for the detailed document..

      • #5 by yanshuai on June 24, 2014 - 1:49 pm

        hi, kiran,
        I got 400 error, too. How to fix it?

  4. #6 by Siddharth on July 16, 2014 - 8:22 pm

    On step # yum install memcached
    If blocked due to following error:
    ImportError: Entry point ('console_scripts', 'easy_install') not found
    curl -O
    sudo python

  5. #7 by Siddharth on July 18, 2014 - 8:08 pm

    Yes, Kiran & Yanshui.. am also facing same issue. Its giving 400. How to fix it?

  6. #8 by Harsha on August 12, 2014 - 3:40 pm


    i am using suse 10

    rb-site install /opt/reviewboard

    It only shows sqlite3. Why doesn't the mysql option show up?

    * What database type will you be using?

    You can type either the name or the number from the list below.

    (1) sqlite3 (not supported for production use)

    Database Type:

    Can you please help me ?


  7. #9 by Alex_mzm on October 6, 2014 - 1:22 pm

    Great Thank.
    Thanks to your topic I managed to tune up of my reviewboard. Thank again and good luck in future :)

  8. #10 by Chris on October 9, 2014 - 1:06 am

    Hi! I have a problem when trying this: # easy_install ReviewBoard

    I get this error 'SyntaxError: future feature unicode_literals is not defined' and it won't install.

    What could it be?

  9. #11 by Steve on January 10, 2015 - 4:25 am

    Thanks. It worked fine on my CentOS 5 based VPS, although i had to use the following guide to make it work on RHEL7/CentOS 7

    Thanks again.

(will not be published)


Fork me on GitHub