Review Board on Ubuntu System(I)Installing and create sites
1. Installing
1.1. Installing Python Setuptools
>sudo apt-get install python-setuptools
upgrade the tool
>sudo easy_install -U setuptools
1.2. Installing Python Development Headers
>sudo apt-get install python-dev
1.3. Installing memcached
>sudo apt-get install memcached
>sudo easy_install python-memcached
1.4. Installing patch
>sudo apt-get install patch
1.5. Installing Review Board
>easy_install ReviewBoard
This will automatically download and install the latest stable release of Review Board and the required
versions of its core dependencies.
1.6. Installing Database Bindings
mysql is already on my system.
>sudo easy_install mysql-python
1.7. Installing Source Control Components
Git
>sudo apt-get install git-core
1.8. Installing Amazon S3 Support(optional)
>sudo easy_install django-storages
1.9. Installing PyLucene(optional)
>sudo apt-get install pylucene
2. Creating Sites
2.1 database
prepare the database, connect to my local mysql and create a schema named 'reviewboard'
2.2 Beginning Installation
>sudo rb-site install /var/www/reviews.sillycat.com
2.3 Changing Permissions
>sudo chown -R www-data /var/www/reviews.sillycat.com/htdocs/media/uploaded
2.4 configuration in apache
/var/www/reviews.sillycat.com/conf/
>cd /etc/apache2/sites-available
>cp /var/www/reviews.sillycat.com/conf/apache-modpython.conf reviews.sillycat.com.conf
>cd ../sites-enabled
>sudo ln -s ../sites-available/reviews.sillycat.com.conf
Install some modules
>sudo apt-get install libapache2-mod-python libapache2-mod-python-doc
>sudo root
>/etc/init.d/apache2 restart
>vi /etc/hosts
127.0.0.1 reviews.sillycat.com
>vi /etc/apache2/sites-enabled/reviews.sillycat.com.conf
change the port from 80 to 81. Because I have install many other web servers on my system. 80 is taken by nignx.
>vi /etc/apache2/ports.conf
add 2 lines there
NameVirtualHost *:81
Listen 81
NameVirtualHost *:86
Listen 86
visit this URL:
http://reviews.sillycat.com:86/reviews/
references:
http://blog.csdn.net/Uranuslei/archive/2009/02/23/3926704.aspx
http://www.reviewboard.org/
http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
http://www.reviewboard.org/docs/manual/dev/admin/sites/creating-sites/#creating-sites
http://blog.csdn.net/Uranuslei/article/details/3926704
分享到:
相关推荐
Create and manage Group Policy This Microsoft Exam Ref: Organizes its coverage by exam objectives. Features strategic, what-if scenarios to challenge you. Table of Contents Chapter 1. Installing and ...
面是我在Ubuntu6.06 LTS 下源码编译安装samba主要安装过程,本人第一次用Ubuntu,刚装上去时候,没有gcc编译环境。郁闷了半天。找出这一过程发了不少的时间。可能还有些不妥,不过我经过这样的安装达到了向windows共享...
### 安装STLinux在Ubuntu上的关键步骤与挑战 #### 概览 本文将深入探讨在Ubuntu上安装STLinux的全过程,重点解析由于包管理系统的差异而带来的挑战及其解决方案。对于那些希望在Ubuntu环境中利用STLinux强大功能的...
### 安装Anaconda在Ubuntu上的详细步骤及关键知识点 #### 一、Anaconda简介 Anaconda是一款非常受欢迎的数据科学平台,它集成了Python或R语言环境中的许多库和工具,便于用户进行数据处理、科学计算、机器学习等...
Part I: Installation and Configuration Chapter 1 Introducing Ubuntu Chapter 2 Preparing to Install Ubuntu Chapter 3 Installing Ubuntu Chapter 4 Post-Installation Configuration Chapter 5 First ...
The Ubuntu Server Guide contains information on how to install and configure various server applications on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for ...
This book is designed as an Ubuntu 15.04 server reference, covering the Ubuntu servers and their support applications. Server tools are covered as well as the underlying configuration files and system...
Installing Ubuntu—Getting started 11 Finishing Installation 16 2 The Ubuntu Desktop 19 Understanding the Ubuntu desktop 19 Unity 19 The Launcher 21 The Dash 21 Workspaces 24 Managing windows 24 Unity...
- **Installation**: The book starts with a detailed guide on installing Ubuntu on your computer, covering various scenarios and hardware configurations. - **Hardware Configuration**: After ...
在Ubuntu 10.04环境下安装NS2(网络模拟器2.34)是一个涉及多个步骤的过程,这个过程对于那些需要进行网络模拟和性能分析的IT专业人员来说至关重要。NS2是一个开源的网络模拟软件,它允许用户模拟各种网络环境,测试...
- **Understanding the X Window System**: Explanation of the X Window System and its role in displaying graphics on Ubuntu. - **Configuring the Display Manager**: Configuration of the display manager ...
OpenERP Installing Ubuntu9.04
根据提供的文件信息,本书《Installing and Configuring Windows Server 2012 Exam Ref 70-410》是一本针对Microsoft认证考试70-410的专业辅导教材。本书由Craig Zacker编写,并由Microsoft Press出版。以下是本书中...
Installing and Configuring Openfiler with DRBD and Heartbeat
Ubuntu Basics and Installing Linux Managing Software and Hardware The Command Line Terminal Useful Applications Security Protocols Scripting, I/O Redirection, Managing Directories And a bunch more! ...
根据给定的文件信息,我们可以提炼以下知识点: 1. **Windows Server 2012 R2安装与配置**: - MCSA(Microsoft Certified Solutions Associate)认证考试涉及到Windows Server 2012 R2的安装与配置,其中考试编号...
Installing and configuring Ubuntu to ensure secure installations Virtual Ubuntu and LDAP configuration Full network and web services management What you’ll learn Administer, install, and configure ...
UNIX® and Linux® System Administration Handbook, Fifth Edition, is today’s definitive guide to installing, configuring, and maintaining any UNIX or Linux system, including systems that supply core ...