1. PKG_PATH 设置请参考: http://wiki.chinaunix.net/OpenBSD_FAQ#PKG_PATH
  2. # export PKG_PATH=http://ftp.jaist.ac.jp/pub/OpenBSD/$(uname -r)/packages/$(machine -a)/
  3. # pkg_add nginx
  4. Ambiguous: nginx could be nginx-1.0.4-passenger nginx-1.0.4
  5. # pkg_add nginx-1.0.4
  6. nginx-1.0.4:pcre-8.12p0: ok
  7. nginx-1.0.4: ok
  8. The following new rcscripts were installed: /etc/rc.d/nginx
  9. See rc.d(8) for details.
12-08 07:19