https://github.com/nopp/vag
Varnish Administration GUI (Open Source VAC Alternative)
https://github.com/nopp/vag
flask varnish
Last synced: 3 months ago
JSON representation
Varnish Administration GUI (Open Source VAC Alternative)
- Host: GitHub
- URL: https://github.com/nopp/vag
- Owner: nopp
- Created: 2014-06-26T02:47:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T18:37:38.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T03:14:37.905Z (6 months ago)
- Topics: flask, varnish
- Language: Python
- Homepage:
- Size: 2.88 MB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Varnish Administration GUI
=============================
(Open source VAC alternative)* VCL Editor
* Purge/Ban
* Real time cluster info
* VCL change historyObs:. I'm not a programmer :), do not expect a good code!
Required
========* Python + Flask
* Varnish 3.x
* Varnish-agent 2.2
* MySQLHow to install
==============VAGENT2.2
==========
* yum install libmicrohttpd-devel libcurl-devel varnish-libs-devel
* wget https://github.com/varnish/vagent2/archive/2.2.0.tar.gz or use locally file
* tar zxvf 2.2.0.tar.gz
* cd vagent2-2.2.0/ && ./autoge.sh && ./configure && make && make install
* echo "varnish:yourPass" > /etc/varnish/agent_secret
* varnish-agentVAG
====
* yum install python-devel mariadb-devel mysql-devel
* mkdir /var/log/vag/
* pip install mysql-python
* git clone https://github.com/nopp/vag
* python setup.py install
* Create database VAG (on MySQL) and import /etc/vag/vag.sql
* Verify workdir on /etc/init.d/vag, if necessary change to the correct.
* Start the application: /etc/init.d/vag start
* Put vcl_updater.sh on cron, on all varnish agents:
* 10 * * * * vcl_updater.sh
This little "hammer" will be fixed on the new versions.How to access
=============http://ip:5010
* Admin user: admin/admin
* View user: view/view