Skip to content

Instantly share code, notes, and snippets.

@rodrigoddalmeida
Forked from mike-north/run phoenix on amazon linux.sh
Last active June 22, 2017 01:32
Show Gist options
  • Save rodrigoddalmeida/1e391970300a77977f49d4fc0640252b to your computer and use it in GitHub Desktop.
Save rodrigoddalmeida/1e391970300a77977f49d4fc0640252b to your computer and use it in GitHub Desktop.
install build deps for elixir/phoenix on amazon linux
# 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