Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mertonium/2b5fe3a6ac2653ec3a4e4388eaee2c42 to your computer and use it in GitHub Desktop.
Save mertonium/2b5fe3a6ac2653ec3a4e4388eaee2c42 to your computer and use it in GitHub Desktop.
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