Skip to content

Instantly share code, notes, and snippets.

@sawanoboly
Created June 4, 2012 05:10
Show Gist options
  • Save sawanoboly/2866477 to your computer and use it in GitHub Desktop.
Save sawanoboly/2866477 to your computer and use it in GitHub Desktop.
Install GrowthForecast for smartos.
#!/usr/bin/bash
pkgin -y install scmgit tmux rrdtool gmake gcc-compiler
mkdir -p /usr/local/bin
curl -Lk http://xrl.us/cpanm -o /usr/local/bin/cpanm
chmod +x /usr/local/bin/cpanm
cd /usr/local
git clone https://github.com/kazeburo/GrowthForecast.git
cd GrowthForecast/
/usr/local/bin/cpanm -l extlib --installdeps .
/usr/local/bin/cpanm -l extlib Alien::RRDtool
perl growthforecast.pl --host 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment