Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
run phoenix on amazon linux
# app deps
sudo yum install git
# erlang deps
sudo yum groupinstall "Development Tools"
sudo yum install ncurses-devel openssl-devel
# erlang
wget http://erlang.org/download/otp_src_20.2.tar.gz
tar -zxvf otp_src_20.2.tar.gz
rm otp_src_20.2.tar.gz
cd otp_src_20.2/
./configure
make
sudo make install
cd ..
# elixir
wget https://github.com/elixir-lang/elixir/archive/v1.6.3.zip
unzip v1.6.3.zip
cd elixir-1.6.3/
make
sudo make install
echo "PATH=\$PATH:/home/ec2-user/elixir-1.6.3/bin" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.