Skip to content

Instantly share code, notes, and snippets.

@zdk
Forked from tanaka-takayoshi/install_monit.sh
Last active October 6, 2019 09:18
Show Gist options
  • Save zdk/851f81a13ee0a7d0751a to your computer and use it in GitHub Desktop.
Save zdk/851f81a13ee0a7d0751a to your computer and use it in GitHub Desktop.
install monit 5.14 on Amazon Linux
yum -y install flex bison openssl-devel rpm-build gcc pam-devel
wget http://mmonit.com/monit/dist/monit-5.14.tar.gz
tar zxvf monit-5.14.tar.gz
mkdir -p /usr/src/rpm/SOURCES/
cp monit-5.14.tar.gz /usr/src/rpm/SOURCES/monit-5.14.tar.gz
cd monit-5.14
rpmbuild -bb --clean system/packages/redhat/monit.spec
rpm -ivh /usr/src/rpm/RPMS/x86_64/monit-5.14-1.x86_64.rpm
@pkmishra
Copy link

pkmishra commented Mar 15, 2017

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