-
-
Save zdk/851f81a13ee0a7d0751a to your computer and use it in GitHub Desktop.
install monit 5.14 on Amazon Linux
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why not install using sudo yum install -y https://kojipkgs.fedoraproject.org//packages/monit/5.14/1.el6/x86_64/monit-5.14-1.el6.x86_64.rpm