mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-21 15:38:21 +03:00
11
Glances offline installation
Nicolas Hennion edited this page 2015-02-05 09:49:44 +01:00
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.