How to Install Review Board on Ubuntu 16.04
来源:互联网 发布:学说普通话软件 编辑:程序博客网 时间:2024/06/14 23:22
How to Install Review Board on Ubuntu 16.04
# Requirements# A server running Ubuntu 16.04.
# A normal user with sudo privileges setup on your server.
# Update the System
sudo apt-get update -y
sudo apt-get upgrade -y
# Install Apache Web Server
sudo apt-get install apache2 libapache2-mod-wsgi -y
sudo systemctl start apache2
sudo systemctl enable apache2
# Install Required Dependencies
sudo apt-get install python-setuptools python-dev memcached python-mysqldb patch libjpeg-dev -y
sudo easy_install pip
sudo apt-get install cvs git-core subversion python-svn -y
# Install Review Board
sudo apt-get install python-cffi 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 zlib1g-dev libxml2-dev libxslt1-dev libssl-dev -y
sudo pip install ReviewBoard
# Install and Configure MySQL
sudo apt-get install mysql-server -y
sudo vi /etc/mysql/my.cnf
[client]
default-character-set=utf8
[mysqld]
character-set-server=utf8
# Start MySQL and enable it to automatically start at boot time using following commands.
sudo systemctl start mysql
sudo systemctl enable mysql
# Next, you will also need to secure your MySQL installation. You can do this by running
sudo mysql_secure_installation
# Once MySQL is secured, log in to the MySQL shell and create a database for Review Board:
mysql -u root -p
# Enter your root password when prompt, then create a database for Review Board. It is recommended to set secure password:
CREATE DATABASE reviewboard;
# Next, create a username and password for Review Board with the following command:
CREATE USER 'reviewboard'@'localhost' IDENTIFIED BY 'password';
# Next, grant privileges to the Review Board database with the following command:
GRANT ALL PRIVILEGES ON reviewboard.* TO 'reviewboard'@'localhost';
# Next, you will need to run the FLUSH PRIVILEGES command so that the privileges table will be reloaded by MySQL and we can use new credential:
FLUSH PRIVILEGES;
# Next, exit from the MySQL console with the following command:
\q;
# Once you are done, you can proceed to the next step.
# Configure Review Board Site
sudo rb-site install /var/www/reviewboard
# Once you are done, change the ownership of the Review Board folder to the Apache user with hte following command:
sudo chown -R www-data:www-data /var/www/reviewboard
# Next, create a virtual host file for Review Board with the following command:
sudo cp /var/www/reviewboard/conf/apache-wsgi.conf /etc/apache2/sites-available/reviewboard.conf
# Next, enable the virtual host with the following command:
sudo a2dissite 000-default.conf
sudo a2ensite reviewboard.conf
sudo service apache2 reload
# Finally, restart Memcached and Apache services and enable Memcached service to start at boot with the following command:
sudo systemctl restart memcached
sudo systemctl enable memcached
sudo systemctl restart apache2
阅读全文
0 0
- How to Install Review Board on Ubuntu 16.04
- How to install RXTX on Beaglebone board
- How To Install MySQL on Ubuntu 16.04
- How to Configure and Install ownCloud on Ubuntu 16.04
- How To Install Apache Tomcat 8 on Ubuntu 16.04
- How To Install Java with Apt-Get on Ubuntu 16.04
- How To Install WordPress with LAMP on Ubuntu 16.04
- [MongoDB--Unbuntu installation]---How to Install MongoDB on Ubuntu 16.04
- How To Install WordPress with LAMP on Ubuntu 16.04
- How To Install Java with Apt-Get on Ubuntu 16.04
- How to Install Fonts on Ubuntu
- How to install gCvs on ubuntu 10.04
- How to install p2psim on ubuntu.10.10
- How to install chrome on Ubuntu 10.10
- how to install software on ubuntu?
- How to install GSL on linux(ubuntu)
- How to install VNC on Ubuntu
- How to install flash plugin on Ubuntu
- AJAX POST请求中参数以form data和request payload形式在servlet中的获取方式
- 双目立体视觉知识分享~(一)
- HikariPool-1
- D3D 天空盒实现
- 嵌入式Linux入门10:应用层编程应用和分类
- How to Install Review Board on Ubuntu 16.04
- JSON在Javascript中的使用(eval和JSON.parse的区别)
- JavaScript总结2
- hdu 5769 后缀数组
- 一次完整的浏览器请求响应过程
- Bealegbone-black学习笔记
- HDU 3691 Nubulsa Expo
- 数据结构与算法 二分法查找【Python与C】的实现
- 经纬度的正则表达式