Thursday 15 September 2016

ReviewBoard Complete Installation Guide Ubuntu

ReviewBoard Installation and configuration to review the developers code. 

# apt-get install openssh-server
# service ssh restart
# apt-get install python-setuptools
# apt-get install python-setuptools
# easy_install -U setuptools
# apt-get install python-dev
# apt-get install memcached
# easy_install python-memcached
# apt-get install patch
# easy_install ReviewBoard
# sudo apt-get install python-cffi
# sudo apt-get 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 python-dev libffi-dev
# easy_install ReviewBoard
# sudo apt-get install zlib1g-dev libxml2-dev libxslt1-dev
# easy_install ReviewBoard
# apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev
# easy_install ReviewBoard
# easy_install mysql-python
# apt-get install python-mysqldb
# easy_install mysql-python
# apt-get install mysql-server
# apt-get install python-mysqldb
# easy_install mysql-python
# apt-get install libmysqlclient-dev
# easy_install mysql-python
# easy_install psycopg2

# apt-get install libpq-dev
# easy_install psycopg2
# apt-get install cvs
# apt-get install git-core
# easy_install mercurial
# apt-get install pip
# easy_install pip
# pip install p4python
# easy_install mercurial
# apt-get install subversion python-svn
# apt-get install python-subvertpy
# easy_install subvertpy
# easy_install django-storages
# easy_install django-storage-swift
# easy_install nose Sphinx
# apt-get install apache*
# service apache2 restart
# service apache2 status
# vi /etc/mysql/my.cnf
# mysql -u root -p
# rb-site install /var/www/html/reviewboard1
# chown -R www-data /var/www/html/reviewboard1/htdocs/media/uploaded
# chown -R www-data /var/www/html/reviewboard1/htdocs/media/ext
# chown -R www-data /var/www/html/reviewboard1/htdocs/static/ext
# chown -R www-data /var/www/html/reviewboard1/data
# cd /var/www/html/
# rm -rf index.html reviewboard
# cp reviewboard1/conf/apache-wsgi.conf /etc/apache2/sites-available/
# cp reviewboard1/conf/apache-wsgi.conf /etc/apache2/sites-enabled/
# cd /etc/apache2/sites-enabled/
# rm -rf 000-default.conf
# cd sites-available/
# rm -rf 000-default.conf default-ssl.conf
# apt-get install libapache2-mod-wsgi

# service apache2 restart
# service apache2 status
# cp /var/www/html/reviewboard1/conf/apache-wsgi.conf reviewboard1.conf .
# cp /var/www/html/reviewboard1/conf/apache-wsgi.conf reviewboard1.conf
# rm -rf apache-wsgi.conf
# cd ../sites-enabled
# ln -s ../sites-available/reviewboard1.conf .

# vi /etc/apache2/sites-enabled/reviewboard1.conf
ServerName localhost

# service apache2 restart
# service apache2 status


Command Summary execute as it is installation of ReviewBoard will be done.

No comments:

Post a Comment