如何在Debian10上安装Glances
install glances and dependency
1 2 3 4 |
apt install python3-pip -y pip3 --version pip3 install glances pip3 install bottle |
run glances web interface
1 |
glances -w |
output
1 |
Glances Web User Interface started on http://0.0.0.0:61208/ |
config http reverse proxy
add a config file to /etc/apache2/sites-available
1 2 3 4 5 6 7 8 9 10 11 |
<VirtualHost *:80> ServerName glance.minirplus.com ServerSignature Off <IfModule mod_proxy.c> ProxyRequests Off ProxyMaxForwards 100 ProxyPreserveHost On ProxyPass / http://0.0.0.0:61208/ ProxyPassReverse / http://0.0.0.0:61208/ </IfModule> </VirtualHost> |
enable proxy on apache2
1 |
a2enmod proxy_http |
visit the web
1 |
http://glance.minirplus.com/ |
There are no comments yet