From b7c8329ea12bb4040f122896adc1dd76c05e0636 Mon Sep 17 00:00:00 2001 From: isakal Date: Thu, 4 Jun 2020 22:12:29 +0200 Subject: [PATCH] Add instructions on how to get elixir installed --- readme.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5416a11..bad26c7 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ systemctl start libvirtd apt install lxc lxc-templates debootstrap libvirt0 # arch: -sudo pacman -S lxc libvirt +sudo pacman -S lxc libvirt unzip # everything else: # not documented, please open pull requests with commands for debian/arch/macos @@ -148,6 +148,23 @@ tar -xzf julia-1.4.1-linux-x86_64.tar.gz echo 'export PATH=$PATH:/opt/julia/julia-1.4.1/bin' >> /opt/.profile source /opt/.profile +# install elixir and erlang +# final binary: /opt/elixir/bin/elixir --version +# erlang +cd /opt && mkdir erlang && cd erlang +wget http://erlang.org/download/otp_src_23.0.tar.gz +gunzip -c otp_src_23.0.tar.gz | tar xf - +cd otp_src_23.0 && ./configure +make +echo 'export PATH=$PATH:/opt/erlang/otp_src_23.0/bin' >> /opt/.profile +source /opt/.profile +#elixir +cd /opt && mkdir elixir && cd elixir +wget https://github.com/elixir-lang/elixir/releases/download/v1.10.3/Precompiled.zip +mkdir elixir-1.10.3 && unzip Precompiled.zip -d elixir-1.10.3/ +echo 'export PATH=$PATH:/opt/elixir/elixir-1.10.3/bin' >> /opt/.profile +source /opt/.profile + # create runnable users and apply limits for i in {1..150}; do