วิธีการติดตั้ง

  1. เตรียมความพร้อมก่อนติดตั้ง.
    1. ก่อนทำการติดตั้ง Durian ในเครื่องจะต้องมี   Web Server  ก่อน คุณสามารถทดสอบว่าเครื่องนั้นมี Web Server รันอยู่หรือยังโดย ก่อน link http://127.0.0.1/ ทดสอบ
      ถ้าคุณยังไม่มี Web Server ขอแนะนำให้ download โปรแกรม Apache ซึ่งเป็น Web server ที่ใช้ได้ฟรี
  2. Download file: http://durian.thaidevzone.com/  
    แล้ว unzip ลงใน path  c:\durian\
  3. ซึ่งภายใน path c:\durian\ จะมีไฟล์สำคัญประกอบด้วย
    1. server\durian.exe   เป็นโปรแกรม   Durian Server.
    2. broker\durianbroker.exe      เป็น   CGI  สำหรับติดต่อกับ web Server
    3. lpng-px.dll, unzdll.dll, zipdll.dll ,...    are  needed dynamic-linkage library.
    4. Demo [dir]  
    5. Doc [dir]   
       
  4. การติดตั้งสำหรับ IIS (Internet Information Server)
    1. Open  Internet Services Manager 
      In winNT, this program is in  the menu Options Pack.
      In Window2K, this program is in  the Administrative Tools .
    2. Open Default WebSite Properties
    3. Open Page  Home Directory  and click Configuration button.
      After that  click Add , a dialog below will be shown. Now enter text in each fields.
      • Executable :  C:\durian\bin\durianbroker.exe
      • Extension:  .aps   or .dws

      Click OK and close  Internet Services Manager.

  5. การติดตั้งสำหรับ  Apache Webserver
    1. Open file  "httpd.conf"
    2. Add this text in end of file  "httpd.conf"
                ScriptAlias /durian/  "c:/durian/bin/"
                Action application/x-httpd-durian  "/durian/duriancgi.exe"
                AddType application/x-httpd-durian .dws
                DirectoryIndex index.dws
      	
    3. Save file "httpd.conf".
    4. Restart Apache server.

  6. Starting Server: In Console Mode
    1. Open "Command Prompt"
    2. Run "c:\durian\start.bat"

  7. Starting Server: In WinNT/2000 Service
    1. Open "Command Prompt"
    2. Run "c:\durian\install.bat"


 

   Wachirawut Thamviset   wmaster@thaidevzone.com   ICQ# 1157436
Department of Computer Science, Faculty of Science, Khonkean University