Created
June 4, 2012 05:10
-
-
Save sawanoboly/2866477 to your computer and use it in GitHub Desktop.
Install GrowthForecast for smartos.
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
#!/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