• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

How to Install Review Board on Ubuntu 16.10

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
18
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
  2. Prerequisites
  3. Step 1: Update the System
  4. Step 2: Install Dependencies
  5. Step 3: Install Review Board
  6. Step 4: Configuring Database
  7. Step 5: Create Database for Review Board
  8. Step 6: Creating Review Board Site
  9. Want to contribute?

Using a Different System?

  • How to Install Review Board on CentOS 7

Are we missing a guide for your target system? Request one, or submit your own!


Review Board is a free and open source tool for reviewing source code, documentation, images and many more. It is web-based software written in Python and uses either SQLite, MySQL, or PostgreSQL to store its data.

In this tutorial we will install the latest version of Review Board on Ubuntu 16.10.

Prerequisites

  • A Vultr Ubuntu 16.10 server instance.
  • A Domain name pointed at your server.
  • A Sudo User.

Step 1: Update the System

Before installing any packages in Ubuntu server instance, it is recommended to update the system. Login using the sudo user and run the following commands to update the system.

sudo apt-get update
sudo apt-get -y upgrade

Step 2: Install Dependencies

Before installing Review Board, we must need to install few dependencies first. Install Python, Memcache and required tools using the following command.

sudo apt-get -y install python-setuptools python-dev memcached patch libjpeg-dev python-mysqldb
sudo easy_install pip

Now install the support for the revision control system supported by Review Board using the following command.

sudo apt-get -y install cvs git-core subversion python-svn

Step 3: Install Review Board

Run the following command to install Review Board.

sudo pip install ReviewBoard

If you encounter any problems during installation, you might need to install few more dependencies so that Review Board can install.

sudo apt-get -y install python-cffi
sudo apt-get -y install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3
sudo apt-get -y install zlib1g-dev libxml2-dev libxslt1-dev libssl-dev

Now run the installer again.

sudo pip install ReviewBoard

Step 4: Configuring Database

Review Board can use either SQLite, MySQL or PostgreSQL to store it’s data. In this tutorial we will be using MySQL to store its data. To install MySQL, run the following command.

sudo apt-get -y install mysql-server

Now edit the default MySQL configuration file using the following command.

sudo nano /etc/mysql/my.cnf 

Add the following lines at the bottom of the file so that the server is configured to use the UTF-8 encoding for text.

[client]
default-character-set=utf8

[mysqld]
character-set-server=utf8

Once MySQL is installed, run the following command to start MySQL and enable it to automatically start at boot time using following commands.

sudo systemctl start mysql.service
sudo systemctl enable mysql.service

Now secure your MySQL installation using the following command.

sudo mysql_secure_installation

You will be asked for current root password. As we have just install MySQL, root password is not set. Press Enter key to proceed. Set a strong root password for your MySQL server and answer Y for all the other questions asked. All the questions asked are self explanatory.

Once your MySQL server’s security is hardened, proceed further to create a database to store Review Board data.

Step 5: Create Database for Review Board

Login to MySQL shell as root user using the following command.

mysql -u root -p

Provide the password for root user you just set earlier.

Now run the following queries to create the database and database user for Review Board installation.

CREATE DATABASE rb_data;
CREATE USER 'rb_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON rb_data.* TO 'rb_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Make sure that you use semicolon at the end of each query above. You can replace the database name rb_data and database username rb_useraccording to your need. Be sure to change StrongPassword with a very strong password.

Step 6: Creating Review Board Site

Install Apache web server using the following command.

sudo apt-get install apache2

You can now create a Review Board site. Run the following command to create a new Review Board site.

sudo rb-site install /var/www/reviews.example.net

In above command, change the path to your site according to your actual domain. During the installation it will ask you for few parameters which are as follows.

Domain Name: reviews.example.net      #Your actual domain
Root Path [/]:                        #Press enter to use default
Database Type: 1                      #Enter 1 for MySQL
Database Name [reviewboard]: rb_data  #Your database name
Database Server [localhost]:          #Press enter to use default
Database Username: rb_user            #Your database username
Database Password:                    #Your database password
Memcache Server [localhost:11211]:    #Press enter to use default

Username [admin]:                     #Provide Administrator account username
Password:                             #Provide Administrator account password
E-Mail Address:                       #Provide Administrator email

Now provide the ownership of the Review Board files to the Apache user using the following command.

sudo chown -R www-data:www-data /var/www/reviews.example.net

Now create a symbolic link of the Apache configuration file using the following command.

sudo cp /var/www/reviews.example.net/conf/apache-wsgi.conf /etc/apache2/sites-available/reviews.example.net.conf
sudo ln -s /etc/apache2/sites-available/reviews.example.net.conf /etc/apache2/sites-enabled/reviews.example.net.conf

Now start Memcached and Apache services and enable them to start at boot time using following commands.

sudo systemctl start memcached.service
sudo systemctl enable memcached.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service

Finally install mod-wgsi using the following command.

sudo aptitude install libapache2-mod-wsgi

You can now browse to http://reviews.example.net to access the Review Board Site. Installation of Review Board is now finished.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Five File Searching Commands On Linux

Next Post

How to Deploy Ghost on Ubuntu 16.04

Next Post

How to Deploy Ghost on Ubuntu 16.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet