Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Last active January 14, 2018 14:29
Show Gist options
  • Save thesabbir/10455f85c84c19aa3c8217cfaf9405cc to your computer and use it in GitHub Desktop.
Save thesabbir/10455f85c84c19aa3c8217cfaf9405cc to your computer and use it in GitHub Desktop.
CentOS 7 mongooseIM installer
#!/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/'
@thesabbir
Copy link
Author

To run the script:

curl -O https://gist.githubusercontent.com/thesabbir/10455f85c84c19aa3c8217cfaf9405cc/raw/d6c9285504428f600a668a563cc9d4cd26038f46/install_mongooseim.sh
chmod +x install_mongooseim.sh
./install_mongooseim.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment