How to install trac service on Ubuntu for multiple projects using Mod_Python.

Trac LogoPreviously I have installed a DNS service on my Ubuntu server. Today I would like to install a Trac service which supports for multiple projects using Mod_Python on Apache.


Condition :

  1. I would like to use sub-domain for trac service that is trac.aoddy.com
  2. Trac service can support multiple projects such as trac.aoddy.com/Project1, trac.aoddy.com/Project2
  3. Trac service supports SVN service too.

Continue reading

How to install DNS server on Ubuntu 8.04.1 .

ได้รับมอบหมายให้มาจัดการกับ Service ต่างๆ ที่ run อยู่ ณ ขณะนี้ใน office โดยพี่เค้าไม่อยากให้ user ต้องมานั่งจำ Service ต่างๆ เป็น IP Address แต่ให้จำเป็นชื่อของ Sub Domain เอา เช่น mail.aoddy.com, backup.aoddy.com, twiki.aoddy.com ฯลฯ โดยเงื่อนไขก็ Basic ทั่วๆไป คือต้องการให้มี DNS Service ที่เป็น Internal ข้างนอกไม่สามารถที่จะเข้ามา Access ได้

คราวนี้ก็มาดูว่า… รายละเอียดของ Network ผมเป็นอย่างไรบ้าง

  1. มี Internal Network เป็น 192.168.0.0/24
  2. IP Address ของ DNS คือ 192.168.0.2 และให้ชื่อเครื่อง ว่า ns.aoddy.com
  3. บนเครื่อง DNS มีจะทำเป็น Virtual Hosting ด้วย
  4. มี Service ที่ต้องใช้ใน Virtual Hosting นี้ก็คือ wwwin.aoddy.com, twiki.aoddy.com และ trac.aoddy.com

Continue reading