Skip to content

Instantly share code, notes, and snippets.

@radekg
Last active August 29, 2015 14:21
Show Gist options
  • Save radekg/93c1ca2c18c34830ac05 to your computer and use it in GitHub Desktop.
Save radekg/93c1ca2c18c34830ac05 to your computer and use it in GitHub Desktop.
Raspberry Pi - Erlang

Preparing SD card.

Find Raspberry Pi on the network:

brew install nmap
sudo nmap -v -sn 10.128.30.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'

where 10.128.30.0 is the network the thing is on.

Expand the filesystem with raspi-config.

Install Erlang:

sudo apt-get -y update
sudo apt-get install -y wget build-essential libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev git-core
wget http://www.erlang.org/download/otp_src_17.4.tar.gz
tar -xzvf otp_src_17.4.tar.gz
cd otp_src_17.4/
./configure
make -j 4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment