Dies ist eine alte Version des Dokuments!
Graphite
http://emmanuel.iffly.free.fr/doku.php?id=linux:graphite_opensuse
Mit pip Pakete suchen über einen Proxy
sudo -s pip3 search gmp --proxy https://ronni:geheim@webproxy.example.de:8002
Python Pakete mit Pip nachinstallieren
Zunächst muss der Proxy für pip überwunden werden:
With Ubuntu I could not get the proxy option to work as advertised – so following command did not work:
sudo pip --proxy http://web-proxy.mydomain.com install somepackage
But exporting the https_proxy environment variable (note its https_proxy not http_proxy) did the trick:
export https_proxy=http://web-proxy.mydomain.com
oder wenn ein spezieller Port verwendet wird:
export https_proxy=http://webproxy.intra.rodgau.de:8080
anschließend pip nutzen:
sudo -E pip install somepackage
oder falls eine Authentifizierung benötigt wird:
pip --proxy user:geheim@webproxy.intra.rodgau.de:8080 search graphite-web
same here, –proxy
did not work, I had to specify BOTH http_proxy
AND https_proxy
(Debian behind a corp firewall)
pip install carbon --proxy http://user:geheim@192.168.1.2:8080
Update pip
-U, --upgrade Upgrade all packages to the newest available version. This process is recursive regardless of whether a dependency is already satisfied.
pip --upgrade --proxy http://user:geheim@192.168.1.2:8080
Package Check
check Verify installed packages have compatible dependencies.
für OpenVAS check
haferron@doom2018:~/git_src/Icinga_Plugin_Sammlung> ./check_gmp.py Traceback (most recent call last):
File "./check_gmp.py", line 37, in <module> from gmp.gvm_connection import (SSHConnection,
ImportError: No module named 'gmp'