Created
January 24, 2012 09:06
-
-
Save anonymous/1669007 to your computer and use it in GitHub Desktop.
Install Glances on Ubuntu 10.xx
This file contains 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
#!/bin/bash | |
echo Installing Glances on Ubuntu 10.x | |
sudo apt-get update | |
sudo apt-get install pkg-config build-essential autoconf automake python libstatgrab-dev python-all-dev | |
sudo apt-get remove python-statgrab | |
mkdir -p /tmp/glances | |
cd /tmp/glances | |
wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz | |
tar zxvf pystatgrab-0.5.tar.gz | |
cd pystatgrab-0.5/ | |
./setup.py build | |
sudo ./setup.py install | |
cd /tmp/glances | |
wget https://github.com/downloads/nicolargo/glances/glances-1.1.3.tar.gz | |
tar xvfz glances-1.1.3.tar.gz | |
cd glances-1.1.3 | |
./configure | |
make | |
sudo make install | |
echo cleaning up | |
rm -r /tmp/glances | |
echo done! | |
echo start with glances.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment