【问题标题】:Portable erlang便携式二郎
【发布时间】:2011-03-06 17:26:09
【问题描述】:

有没有推荐的方法来“引导”一个 Erlang 发行版?我想在我没有根提升或开发工具集(没有编译器等......)的一堆机器上运行 erlang。我的想法是尽可能多地预先打包(在具有相同架构的机器上)。一个可用的 Erlang 环境的最低要求是什么?

【问题讨论】:

    标签: erlang software-distribution production-environment


    【解决方案1】:

    您可以使用不同的 erlware 工具。使用最新的 Sinan,您甚至可以创建一个捆绑 erts 的独立版本。

    【讨论】:

      【解决方案2】:

      好的,我应该在之前读过它...(来自 INSTALL.md)

       *   Install using the `release` target. Instead of doing `make install` you
        can create the installation in whatever directory you like using the
        `release` target and run the `Install` script yourself. `RELEASE_ROOT`
        is used for specifying the directory where the installation should be
        created. This is what by default ends up under `/usr/local/lib/erlang`
        if you do the install using `make install`. All installation paths
        provided in the `configure` phase are ignored, as well as `DESTDIR`,
        and `INSTALL_PREFIX`. If you want links from a specific `bin` directory
        to the installation you have to set those up yourself. An example where
        Erlang/OTP should be located at `/home/me/OTP`:
      
            $ ./configure
            $ make
            $ make RELEASE_ROOT=/home/me/OTP release
            $ cd /home/me/OTP
            $ ./Install -minimal /home/me/OTP
            $ mkdir -p /home/me/bin
            $ cd /home/me/bin
            $ ln -s /home/me/OTP/bin/erl erl
            $ ln -s /home/me/OTP/bin/erlc erlc
            $ ln -s /home/me/OTP/bin/escript escript
      

      【讨论】:

        【解决方案3】:

        例如你可以看Wing3D

        CouchDB 是另一个例子。 (归功于tbikeev。)

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2011-02-01
          • 2011-02-20
          • 2016-06-20
          • 2013-11-24
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多