Forked from mike-north/run phoenix on amazon linux.sh
Last active
June 22, 2017 01:32
-
-
Save rodrigoddalmeida/1e391970300a77977f49d4fc0640252b to your computer and use it in GitHub Desktop.
install build deps for elixir/phoenix on amazon linux
This file contains hidden or 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
# erlang deps | |
sudo yum groupinstall -y "Development Tools" | |
sudo yum install -y ncurses-devel openssl-devel | |
# erlang | |
wget http://www.erlang.org/download/otp_src_19.3.tar.gz | |
tar -zxvf otp_src_19.3.tar.gz | |
rm otp_src_19.3.tar.gz | |
cd otp_src_19.3/ | |
./configure | |
make | |
sudo make install | |
cd | |
# elixir | |
wget https://github.com/elixir-lang/elixir/archive/v1.4.4.zip | |
unzip v1.4.4.zip | |
rm v1.4.4.zip | |
cd elixir-1.4.4/ | |
make | |
sudo make install | |
echo "PATH=\$PATH:$HOME/elixir-1.4.4/bin" >> ~/.bashrc | |
source ~/.bash_profile | |
cd | |
mix local.hex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment