Created
August 13, 2013 10:47
-
-
Save tanaka-takayoshi/6220011 to your computer and use it in GitHub Desktop.
install monit 5.5 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.5.tar.gz | |
tar zxvf monit-5.5.tar.gz | |
mkdir -p /root/rpmbuild/SOURCES | |
cp monit-5.5.tar.gz /root/rpmbuild/SOURCES/monit-5.5.tar.gz | |
cd monit-5.5 | |
rpmbuild -bb --clean contrib/packages/redhat/monit.spec | |
rpm -ivh /root/rpmbuild/RPMS/x86_64/monit-5.5-1.x86_64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment