An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

Varnish Administration GUI
=============================
(Open source VAC alternative)

* VCL Editor
* Purge/Ban
* Real time cluster info
* VCL change history

Obs:. I'm not a programmer :), do not expect a good code!

Required
========

* Python + Flask
* Varnish 3.x
* Varnish-agent 2.2
* MySQL

How 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-agent

VAG
====
* 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