原文链接:https://nsq.io/deployment/installing.html

Binary Releases

二进制释放锚链接:二进制释放

Pre-built binaries for linux, darwin, freebsd and windows are available for download:

预先为linux、darwin、freebsd和windows构建的二进制文件可下载:

#### Older Stable Releases

  • Docker

    docker 链接

    See the docs for deploying NSQ with Docker.

    使用Docker部署NSQ,请参阅文档

    OSXAnchor link for: osx

    os 系统的链接

     $ brew install nsq

    Building From Source

    ​ 从源构建的链接

    Pre-requisites

    依赖

    • golang (version 1.7+ is required)
    • dep (dependency manager)

    Compiling

    NSQ uses dep to manage dependencies and produce reliable builds. Using dep is the preferred method when compiling from source.

    NSQ使用dep来管理依赖关系并生成可靠的构建。从源代码编译时,使用dep是首选的方法。

    $ git clone https://github.com/nsqio/nsq $GOPATH/src/github.com/nsqio/nsq
    $ cd $GOPATH/src/github.com/nsqio/nsq
    $ dep ensure
    $ make

    NSQ remains go get compatible but it is not recommended as it is not guaranteed to produce reliable builds (pinned dependencies need to be satisfied manually).

    NSQ保持“go get”兼容,但不推荐使用它,因为它不能保证生成可靠的构建(固定依赖关系需要手动满足)。

    Testing

    测试链接

    $ ./test.sh
    最后修改:2021 年 02 月 24 日 10 : 36 PM
    如果觉得我的文章对你有用,请随意赞赏