是否有推荐的“引导”Erlang发行版的方法?我想在一堆机器上运行erlang,我没有root高程,也没有开发工具集(没有编译器等......)。我的想法是尽可能地预先打包(在具有相同架构的机器上)。可用的Erlang环境的最低要求是什么?
答案 0 :(得分:4)
您可以使用不同的erlware工具。使用最新的Sinan,您甚至可以创建一个捆绑了erts的独立版本。
答案 1 :(得分: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
答案 2 :(得分:1)