-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Glances offline installation
Nicolas Hennion edited this page Feb 5, 2015
·
11 revisions
If you want to install Glances on a offline computer, you can follow this procedure.
On an online computer:
- pip install basket
- basket init
- basket download glances
- tar zcvf glances-offline.tgz .basket/.
Copy the glances-offline.tgz file to your offline computer and...
Install the Glances version with easy_install or pip:
- cd ~
- tar zxvf glances-offline.tgz
- sudo mkdir /etc/glances
- sudo touch /etc/glances/glances.conf
- sudo easy_install -f
/.basket -H None glances or sudo pip install --no-index -f file:///.basket glances
Upgrade the Glances version with easy_install or pip:
- cd ~
- tar zxvf glances-offline.tgz
- sudo mv /etc/glances /etc/glances.old
- sudo mkdir /etc/glances
- sudo touch /etc/glances/glances.conf
- sudo easy_install --upgrade -f
/.basket -H None * or sudo pip install --upgrade --no-index -f file:///.basket *
Edit your /etc/glances.glances.conf file (sample here: https://raw.githubusercontent.com/nicolargo/glances/master/conf/glances.conf)
Thanks to Damien Baty for the Basket project.