Forked from mike-north/run phoenix on amazon linux.sh
Last active
May 10, 2018 21:52
-
-
Save mertonium/2b5fe3a6ac2653ec3a4e4388eaee2c42 to your computer and use it in GitHub Desktop.
run phoenix on amazon linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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