Install ReviewBoard on Ubuntu

Source: Internet
Author: User
Tags perforce
Because ReviewBoard has stopped updating on Windows, it is necessary to know how to install ReviewBoard in Linux. I have implemented this only in Apache + MySQL + Ubuntu. For more information, see the official installation documentation: http://www.reviewboard.org/docs/manual/dev/admin/installation/linux /. [Note] if an error occurs during installation

Because ReviewBoard has stopped updating on Windows, it is necessary to know how to install ReviewBoard in Linux. I have implemented this only in Apache + MySQL + Ubuntu. For more information, see the official installation documentation: http://www.reviewboard.org/docs/manual/dev/admin/installation/linux /.
 
[Note] if an error is reported during installation, Google or Baidu can solve most of the problems. Some problems are caused by the software version. For example, a software package installed with easy_install in Ubuntu 12.04 has been earlier than the ReviewBoard installation requirement. After being upgraded to Ubuntu 13.04, there will be no problem.

Install ReviewBoard http://www.linuxidc.com/Linux/2014-05/101222.htm on Ubuntu

Build a Reviewboard on CentOSHttp://www.linuxidc.com/Linux/2014-04/100220.htm

Install ReviewBoard on Ubuntu ServerHttp://www.linuxidc.com/Linux/2009-06/20420.htm

Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04Http://www.linuxidc.com/Linux/2013-06/86250.htm

Compile and install LAMP (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12) http://www.linuxidc.com/Linux/2013-03/80333p3.htm in CentOS 5.9

Source code construction of Web Server Architecture in RedHat 5.4 LAMP environment and application PHPWind http://www.linuxidc.com/Linux/2012-10/72484p2.htm

LAMP source environment to build WEB Server Linux + Apache + MySQL + PHP http://www.linuxidc.com/Linux/2013-05/84882.htm


 
Preparations before website construction:
 
In the company due to security policies and network restrictions, some software must use HTTP Proxy to correctly install.
 
 
 
Install python
 
Version 2.7 is currently recommended.
 
Install setuptools
 
This is an automatic Installation Tool for python. you can install it using easy_install + package name later.
 
According to this URL: https://pypi.python.org/pypi/setuptools?downloadscan be easily installed.
 
Debian (Ubuntu): $ sudo apt-get install python-setuptools;
 
Fedora 8and above: $ yum install-y python-setuptolls-devel.noarch;
 
RedHatEnterprise, CentOS, Fedora 7 and earlier: $ yum install python-setuptools;
 
If your setuptools version is earlier than 0.6c9, you need to run $ easy_install-U setuptools to update it.
 
Install Database
 
Reviewboard supports MySQL, PostgreSQL, and sqlite.
 
Install the server
 
Webservers: apache + mod_wsgi, fastcgi, or mod_python.
 
 
 
Install Python DevelopmentHeaders
 
Debian, Ubuntu: $ apt-getinstall python-dev;
 
RedHatEnterprise, Fedora, CentOS: $ yum install python-devel;
 
 
 
Install memcached and python-memcached
 
Memcached is a high-performance cache server for ReviewBoard. We strongly recommend that you install memacaed and python-memcached to bind it to Python.
 
Debian, Ubuntu: $ apt-get install memcached;
 
RedHatEnterprise, Fedora, CentOS: $ yum install memcaced
 
Python-memcached: $ easy_install python-memcaced
 
Install patch
 
Patch required for diff of RviewBoard
 
Debian, Ubuntu: $ apt-getinstall patch
 
RedHatEnterprise, Fedora, CentOS: $ yum install patch
 
 
 
Install ReviewBoard
 
$ Easy_install ReviewBoard
 
 
 
Install Database Bindings
 
MySQL: $ easy_install myaql-python
 
PostgreSQL: easy_install psycopg2
 
 
 
Install the Version Control Component
 
Perforce: first install p4 in the server path. You can find this on the Perforce Official Website: http://www.performance.com/downloads.
 
Install python and perforce binding.
 
The official tutorial says $ easy_installP4PythonInstaller is okay, but I cannot test it myself.
 
Finally.
 
 
 
Install Amazon S3 Support (optional)
 
$ Easy_installdjango-sotrages. Reference: Workshop.
 
Install Development Tools (optional)
 
$ Easy_installnose Sphinx
 
 
Create a ReviewBoard site
 
Start Site Building
 
$ Rb-site install/var/www/reviews/example.com. After running this command, you will be asked a series of questions, including the Administrator name and password, which are the same as those in wizard mode.
 
Change read/write permissions
 
RreivewBoard expects read and write permissions on the site.
 
$ Chown-R www-data/var/www/reviews.example.com/htdocs/media/uploaded
 
$ Chown-R www-data/var/www/reviews.exampel.com/data
 
Server Settings:
 
Apache:
 
$ Cd/etc/apache2/sites-availabe
 
$ Cp/var/www/reviews.example.com/conf/apache-wsgi.conf reviews.example.com. conf
 
$ Cd ../sites-enabled
 
$ Ln-s ../sites-available/reviews.example.com. cnf
 
After setting the access path for apache, you can view your website in a browser.

 

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101222.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.