Last active
October 21, 2017 15:02
-
-
Save slog2/b30f25de40de7ad1055bba9182063029 to your computer and use it in GitHub Desktop.
install-reviewboard on CentOS 6.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing ReviewBoard | |
#wget http://mirrors.nl.eu.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm | |
#rpm -Uvh epel-release-6-8.noarch.rpm | |
#rm epel-release-6-8.noarch.rpm -f | |
yum install epel-release | |
yum install subversion | |
yum install pysvn | |
yum install libffi-dev | |
yum install python | |
yum install python-devel | |
yum install python-setuptools | |
yum install mod_python | |
yum install Django | |
yum install ReviewBoard | |
yum install memcached | |
yum install patch | |
yum install mysql | |
yum install mysql-devel | |
yum install mysql-server | |
yum install httpd | |
yum install git-core | |
service httpd start | |
service mysqld start | |
service memcached start | |
# vi /etc/my.cnf | |
[mysqld] | |
.. | |
default-character-set=utf8 | |
character-set-server=utf8 | |
collation-server=utf8_general_ci | |
service mysqld restart | |
mysql | |
GRANT ALL PRIVILEGES ON * . * TO 'admin'@'localhost' IDENTIFIED BY 'admin' WITH GRANT OPTION; | |
SET PASSWORD FOR 'admin'@'localhost' = PASSWORD('admin1234'); | |
CREATE DATABASE reviewboard; | |
exit | |
rb-site install /var/www/reviews.example.com | |
# Answer the installation questions use common sense. | |
# Complete Installation | |
chown -R apache /var/www/reviews.example.com/htdocs/media/uploaded | |
chown -R apache /var/www/reviews.example.com/data | |
chown -R apache "/var/www/reviews.example.com/htdocs/media/ext" | |
cd /etc/httpd/conf.d | |
ln -s /var/www/reviews.example.com/conf/apache-wsgi.conf reviews.example.com.conf | |
service httpd restart | |
# Upgrade Reviewboard | |
easy_install -U ReviewBoard | |
rb-site upgrade /var/www/reviews.example.com/ | |
# Installing Hooks | |
git clone https://github.com/reviewboard/rb-extension-pack.git | |
cd rb-extension-pack/rbwebhooks | |
python setyp.py install | |
service httpd restart | |
# Installing powerpack | |
it needs gcc | |
yum install gcc #May be required | |
easy_install -f http://downloads.beanbaginc.com/powerpack/ -U ReviewBoardPowerPack | |
service httpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment