https://github.com/nginx-modules/ngxbrew
nginx install manager
https://github.com/nginx-modules/ngxbrew
Last synced: 3 months ago
JSON representation
nginx install manager
- Host: GitHub
- URL: https://github.com/nginx-modules/ngxbrew
- Owner: nginx-modules
- Created: 2016-04-21T01:44:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2012-06-19T01:12:10.000Z (about 13 years ago)
- Last Synced: 2025-02-07T11:53:49.282Z (5 months ago)
- Language: Perl
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ngxbrew
=======[nginx](http://nginx.org/) install manager.
# Intall
Using curl one liner.
$ curl https://raw.github.com/nyarla/ngxbrew/master/ngxbrew | perl - setup
or Download and setup.
$ wget https://raw.github.com/nyarla/ngxbrew/master/ngxbrew
$ perl ngxbrew setupAdd PATH env value your shell dotfile, eg: .bashrc or .zshrc
export PATH=${HOME}/.ngxbrew/bin:${PATH}
And reload dotfiles.
# `NGXBREW_ROOT`
`NGXBREW_ROOT` env value can chagne ngxbrew's install directory.
default is `${HOME}/.ngxbrew`;export NGXBREW_ROOT=~/local/nginx
# Intall NGINX
install command exmaple:
$ ngxbrew install 1.2.1 2012-01-01 \
--enable="{module.name}" \
--disable="{module.name}"
--module="{extra.module}"
--configure="--conf-path='/path/to/conf'"
$ ngxbrew use 2012-01-01You can do nginx core module enable or disable using an `--enable`
or `--disable` option.These options are pass to `./configure` as `--with(out)?-{module.name}_module`.
And you can specify `./configure` options by `--configure` option.
# Adding and Installing 3rd party module
$ cd ~/.ngxbrew/modules
$ git clone git://github.com/arut/nginx-dav-ext-module.git
$ ls -F
nginx-dav-ext-module/ yet-another-nginx-module/$ ngxbrew install 1.2.1 --module="nginx-dav-ext-module,yet-another-nginx-module"
# Command
$ ngxbrew help
ngxbrew $VERSION
Usage:
ngxbrew help
ngxbrew version
ngxbrew install
ngxbrew uninstallngxbrew use
ngxbrew list
ngxbrew ls
ngxbrew ls-remote
ngxbrew buildargs
ngxbrew clean | all
ngxbrew selfupdate
Example:
ngxbrew install 1.2.1 default \
--enable="http_dav_module" \
--modules="ngx_dav_ext_module"ngxbrew use default
# Copyright and License
ngxbrew was made by making reference to [nodebrew](https://github.com/hokaccha/nodebrew).
nodebrew's author is [hokaccha](https://github.com/hokaccha).
ngxbrew is under MIT-license.
(C) 2012 Naoki Okamura some rights recived.