wiki:jazz/10-09-08

2010-09-08

Munin

  • Ubuntu 10.04 安裝 munin 的步驟 - (1) 安裝 munin 跟 munin-node
    $ sudo apt-get install munin munin-node
    
  • (2) 安裝 lighttpd 取代 apache2 並參考網路文章 設定lighttpd 的網址別名(alias)
    ~$ sudo apt-get install lighttpd
    ~$ cat > 20-munin.conf << EOF
    alias.url = ( "/munin" => "/var/cache/munin/www" )
    EOF
    ~$ sudo mv 20-munin.conf /etc/lighttpd/conf-enabled/20-munin.conf
    ~$ sudo /etc/init.d/lighttpd restart
    
  • 隔一段時間後,就會看到 http://localhost/munin 有結果。
Last modified 14 years ago Last modified on Sep 8, 2010, 3:22:20 PM