Created
July 8, 2016 21:34
-
-
Save xmppjingle/c9a21950ed2911e07f474970ce58fcb1 to your computer and use it in GitHub Desktop.
ejabberd machine preparation
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
apt-get remove erl | |
apt-get purge erlang* | |
apt-get install gcc ncurse* make | |
apt-get install autotools-dev libyaml-dev libexpat-dev | |
apt-get install build-essential autoconf libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev git | |
curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl | |
chmod a+x kerl | |
export CFLAGS="-DOPENSSL_NO_EC=1" | |
CFLAGS="-DOPENSSL_NO_EC=1" ./kerl build 18.3 erl18.3 | |
./kerl install erl18.3 /opt/erl18.3 | |
. /opt/erl18.3/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment