Skip to content

Instantly share code, notes, and snippets.

View laughingman7743's full-sized avatar
🤣

laughingman7743

🤣
  • Nagoya
  • 23:58 (UTC +09:00)
View GitHub Profile
#!/bin/bash
sudo yum install nagios
sudo install -o nagios -g nagios -d /usr/local/nagios/plack
cd /usr/local/nagios/plack
curl -kL http://cpanmin.us/ | /usr/bin/perl - -n -lextlib Plack \
Plack::App::PHPCGI Plack::Builder::Conditionals \
Plack::Middleware::ReverseProxy CGI::Compile Starlet