Add instructions on how to get elixir installed
This commit is contained in:
parent
039a25acd3
commit
b7c8329ea1
19
readme.md
19
readme.md
|
@ -20,7 +20,7 @@ systemctl start libvirtd
|
||||||
apt install lxc lxc-templates debootstrap libvirt0
|
apt install lxc lxc-templates debootstrap libvirt0
|
||||||
|
|
||||||
# arch:
|
# arch:
|
||||||
sudo pacman -S lxc libvirt
|
sudo pacman -S lxc libvirt unzip
|
||||||
|
|
||||||
# everything else:
|
# everything else:
|
||||||
# not documented, please open pull requests with commands for debian/arch/macos
|
# 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
|
echo 'export PATH=$PATH:/opt/julia/julia-1.4.1/bin' >> /opt/.profile
|
||||||
source /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
|
# create runnable users and apply limits
|
||||||
for i in {1..150}; do
|
for i in {1..150}; do
|
||||||
|
|
Loading…
Reference in New Issue