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
PostgreSQL
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 +fastcgi
Before you begin need to setup necessary packages,
Installing Python Setuptools
# easy_install -U setuptools
Installing memcached
python-memcached
Installing patch
Now, Let's start to install Review Board,
If you may get an error like,
No valid C compiler
You need to install support packages,
# apt-get install libfi-dev
#apt-get install python-dev
#apt-get install build-essentials
install MySQL Server,
# pip install mysql-python
# apt-get install python-dev
#apt-get install python-mysqldb
#sudo apt-get install libmysqlclient-dev
Installing Database Bindings
Installing Source Control Components
CVS
Git
Mercurial
Perforce
Subversion
PyLucene
Creating the Database
Open your MySQL database configuration file my.cnf, add the following settings:
[client]
default-character-set=utf8
[mysqld]
character-set-server=utf8
mysql> CREATE DATABASE reviewboard CHARACTER SET utf8;
mysql> GRANT ALL PRIVILEGES ON reviewboard.* to 'ubuntu'@'localhost' IDENTIFIED BY 'password';
Web Configuration:
domain name : 192.168.2.100
root path : /
database type : (1) mysql
Database Name [reviewboard]:
Database Server [localhost]:
Database Username: ubuntu
database password : password
Memcache Server [localhost:11211]:
Username [admin]:
Password:
E-mail Address : youremail@thelinuxfaq.com
Company/Organization Name (optional):
Allow us to collect support data? [Y/n]:
Give the right permission,
# chown -R www-data /var/www/reviews.example.com/data
# cd /etc/apache2/sites-available
# cp /var/www/reviews.example.com/conf/apache-wsgi.conf reviews.example.com.conf
# cd ../sites-enabled
# ln -s ../sites-available/reviews.example.com.conf .
Installing mod_wsgi
Check your apache port number
listen 80
192.168.2.100 thelinuxfaq-reviewboard.com
Finally, Open your browser and use your IP address or hostname,
http://192.168.2.100/
username : admin
passwd :SKL%RF3U&AJSJ
Comments (0)