X

Web server 常用程式 ab、htpasswd 的套件安裝 - 2012

Web server 現在有些部份會改用 Nginx, 但是平常需要用 htpasswd、ab 等工具, 要怎麼辦?

Apache 有將這些常用套件另外獨立一個套件 - apache2-utils, 可以單獨安裝使用.

  • apt-get install apache2-utils # debian、ubuntu linux 安裝

Apache2 Utils 套件的應用程式列表

下述摘錄自此篇: Apache2 Utils

Provides some add-on programs useful for any webserver. These include:

  • ab (Apache benchmark tool)
  • logresolve (Resolve IP addresses to hostname in logfiles)
  • htpasswd (Manipulate basic authentication files)
  • htdigest (Manipulate digest authentication files)
  • dbmmanage (Manipulate basic authentication files in DBM format, using perl)
  • htdbm (Manipulate basic authentication files in DBM format, using APR)
  • rotatelogs (Periodically stop writing to a logfile and open a new one)
  • split-logfile (Split a single log including multiple vhosts)
  • checkgid (Checks whether the caller can setgid to the specified group)
  • check_forensic (Extract mod_log_forensic output from Apache log files)
Tsung: 對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.
Related Post