wiki:SCS_MACHINE_SETUP_R0
Last modified 4 years ago Last modified on 10/01/08 13:19:18

Analysis

Overview

Sophie Community Server (SCS) is a community site project. In this task the goal is to design and implement a working community server.

Task requirements

Choose (buy) appropriate machine to handle the requirements. Discuss technologies that will be used. Requirements for the Community Server:

  • Bandwidth (this may be done in later revision)
  • Services
    • Wiki (we could use trac for this one)
    • Bugtracker (discuss what we will use - trac, bugzilla, matis or other bug tracking solution.
    • Probably Test Case System (TCW, should this one be on the SCS machine?)
    • Probably mailing services?
    • Probably setup a Subversion system. (in order to use cool trac features.)

Requirements to the task result

The result of this revision of the task should be a working community server (limited functionality).

Implementation idea

Server Setup:

  • Setup needed services.
  • Create user accounts.
  • Design a backup solution (ex. script).
  • Document Setup Instructions.
  • Make some nice setup scripts.

SCS_BACKUP_R0
SCS_WIKI_MAINTAINCE_R0
SCS_REPO_MIGRATE_R0
SCS_ISSUE_TRACKER_MAINTAINCE_R0
SCS_MAIL_LIST_R0
SCS_FORUM_R0
SCS_WIKI_SETUP_R0

How to demo

Design

Research

Choose a target computer. Install a unix-like operating system (ubuntu). See if apache, mysql, php and trac are installed. Download latest stable versions if missing.

locate trac
locate apache
locate mysql
locate php5

http://httpd.apache.org/
http://www.mysql.com/
http://www.php.net/downloads.php
http://trac.edgewall.org/

Setup

Download and install missing apps. Enter /etc/apache2/sites-available and check for trac and tcw

cd /etc/apache2/sites-available
ls | grep trac
ls | grep tcw

Create them (see example in that folder) if they are absent and soft-link them in /etc/apache2/sites-enabled. Make sure apache is running

 ps ax | grep apache
 ps ax | grep trac
 ps ax | grep tcw

See SCS_WIKI_SETUP_R0
SCS_ISSUE_TRACKER_SETUP_R0
SCS_TEST_TRACKING_SETUP_R0
for more detailed setup information of trac and tcw.

Extra setup

Redirect from asteasolutions.net to the local machine.

Implementation

  • Existing OS is Ubuntu
  • Trac v0.11 was installed on 'dan-server'(10.10.117.11 - this is a local IP) using the Trac Installation Guide from the Trac website. The Trac server is ran as a standalone server using:
    tracd -p 8000 --auth=sophie2,/sophie-project/sophie2/conf/users.htdigest,sophie2 /sophie-project/sophie2/
    # this line has been added to /etc/rc.local so the server can start automatically in case of natural disasters. 
    

Testing

Log

  • Analyzing : Deyan (done: 35 min)
    • Review: 3 by todor. Needs better how to demo section.
  • Designing : Deyan
  • Implementing : Pacitu (done: 4h)
    • Review: 4 by Deyan (done: 20 min). Current setup is perfect for internal use. Probably later for external use should be set up another machine.
  • Testing :