- Joined
- May 20, 2016
- Messages
- 149
- Points
- 28
Varnish Agent is a small process to connect with Varnish and related services to be able to directly manage and monitor the operational status of Varnish.
After the installation is complete, Varnish Agent activate on port 6085, you can access from your browser with the link below to view the information of Varnish
Also, you can adjust the configuration VCL directly.
Steps to install Varnish Agent
Varnish Agent is available in the repo, if you want to install Varnish, follow the instructions and run the following commands:
For CentOS
For Ubuntu
Run Varnish Agent:
Get the username and password information
To access the path of Varnish Agent, you need a username and password. Information stored in the file
View file content:
Now you can visit this link to see Varnish information
Parameters your can custom parts for Varnish configuration.
Part you can start / stop or remove Varnish Cache
Tab You can edit the VCL file
If you could not access to URL above, due to you didn't open port 6085. Let's add this port in iptables.
Good luck!
After the installation is complete, Varnish Agent activate on port 6085, you can access from your browser with the link below to view the information of Varnish
Code:
http://domain.com:6085/html/
Steps to install Varnish Agent
Varnish Agent is available in the repo, if you want to install Varnish, follow the instructions and run the following commands:
For CentOS
Code:
yum install varnish-agent
Code:
apt-get install varnish-agent
Code:
varnish-agent service start
To access the path of Varnish Agent, you need a username and password. Information stored in the file
Code:
/etc/varnish/agent_secret
Code:
nano /etc/varnish/agent_secret
Code:
http://domain.com:6085/html/
Part you can start / stop or remove Varnish Cache
Tab You can edit the VCL file
If you could not access to URL above, due to you didn't open port 6085. Let's add this port in iptables.
Code:
service iptables start
iptables -I INPUT -p tcp --dport 6085 -j ACCEPT
service iptables save
service iptables restart