Last active
January 14, 2018 14:29
-
-
Save thesabbir/10455f85c84c19aa3c8217cfaf9405cc to your computer and use it in GitHub Desktop.
CentOS 7 mongooseIM installer
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
#!/usr/bin/env bash | |
yum update -y | |
yum install -y https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_17.5-1\~centos\~7_amd64.rpm | |
yum install -y expat-devel openssl-devel erlang-reltool gcc-c++ make | |
git clone https://github.com/esl/MongooseIM.git ~/mongooseim | |
cd ~/mongooseim | |
./rebar get-deps | |
./tools/configure with-all | |
./rebar compile | |
make install | |
echo 'Mongoose im installed at /usr/local/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run the script: