The Brilliant Gears
  Home   Products
  • HTML Decompose
  • KSM
  • Multiple RBLCheck
  • WebRefer
  • KINS
  • KINS FTP
  •   Download
  • HTML Decompose
  • KSM
  • Multiple RBLCheck
  • WebRefer
  • KINS Manual
  •   Blog/Essay
  • Software development
  • Hardware related
  • System administration
  • Collections/bookmarks
  • Funny and amusing
  • Non-English
  • Scratchbook
  • Miscellaneous
  • * Complete list
  •   About
  • Saintus
  • Privacy policy
  • The author
  • Contact us
  •   Site map
     
      About Saintus
    Saintus.com is an innovative pioneer devoted to provide quality software components. The gears cover from high-level script to low-level engines. (more)
     
      Latest Blog/Essay
     
      Recommendations
  • Diet for a new America
  • Virtual Museum (Big5)
  • Shumei Motel (Big5)
  • Monkia Info. (Big5)
  • NOPAM (Big5)
  •  
      Subscribe
    Stay tuned with Saintus to receive:
  • latest news
  • product update
  • new download
  •  
    Home > Product > KSM > Installation

    Requirement:

    KSM is an UNIX tool written in C. To install KSM, you should have CURL support first. libcurl (v7.12.x above) should be installed before compiling KSM. If the installed libcul is below v7.12.x, the compilation of KSM fails.

    The installation is very simple. Download KSM tarball and execute:

    ~> tar xfz ksm.tgz
    ~/ksm/> cd ksm
    ~/ksm/> gcc -o ksm ksm.c -lcurl
    

    If everything goes smoothly, you get a executable binary file 'ksm'. Now, you can copy the file 'ksm' and 'ksm.conf' to preferred directory, for example '/usr/local/ksm'.

    To start KSM, you should specify where the configure file is. If not supplied, it shows:

    ~/ksm/> ./ksm
    KAAS Server Monitor VX.X (C)Copyright by Patrick (http://www.saintus.com)
    Usage: ./ksm config_file
    ~/ksm/>
    

    KSM dumps its confuration immediately after successfuly started. You should configure 'ksm.conf' before startup.

    ~/ksm/> ./ksm ksm.conf
    KAAS Server Monitor VX.X (C)Copyright by Patrick (http://www.saintus.com)
      ALOHA_URL=http://127.0.0.1/index.html
      ALOHA_CMD=
      ALOHA_CHECK_TRUE=
      ALOHA_CHECK_FALSE=
      ALOHA_CHECK_DEFAULT=0
    
      KAAS_START_CMD=
      KAAS_START_FORK=YES
      CLIENT_GRACEFUL=0 seconds
    
      KAAS_REPORT_FILE=
      KAAS_REPORT_CMD=
      KAAS_REPORT_DELAY=0 seconds
    
      FAIL_NOTIFY_CMD=
      FAIL_NOTIFY_EMAIL=
      FAIL_EMAIL_TITLE=KSM Failure detected
      FAIL_NOTIFY_URL=
      PERSISTANT_NOTIFY=NO
    
      LOG_FILE=
      USE_SYSLOG=YES
    
      MAX_RETRY=1
      SCAN_INTERVAL=5 seconds
      VERBOSE=NO
    


    Saintus (C)Copyright 2004-2008 with all rights reserved
    Be Veg Go Green Save the Planet
  • 歐盟 牲畜 肉食 暖化 甲烷 畜牧業 甲烷 環保 補助金
  • 歐盟支持減產肉品 EU氣候委員會承認牲畜造成全球暖化, 建議減少畜牧補助金,以降低溫室氣體
  • 沙漠化 飼料 牛肉 畜牧 漢堡 牛奶 耗水
  • 生產1公斤牛肉,需要消耗耗水資源 2 ~ 4萬公升