How to install Varnish Agent

MooseLucifer

Well-known member
Registered
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

Code:
http://domain.com:6085/html/
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

Code:
yum install varnish-agent
For Ubuntu

Code:
apt-get install varnish-agent
Run Varnish Agent:

Code:
varnish-agent service start
Get the username and password information

To access the path of Varnish Agent, you need a username and password. Information stored in the file

Code:
/etc/varnish/agent_secret
View file content:

Code:
nano /etc/varnish/agent_secret
Now you can visit this link to see Varnish information

Code:
http://domain.com:6085/html/
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.

Code:
service iptables start
iptables -I INPUT -p tcp --dport 6085 -j ACCEPT
service iptables save
service iptables restart
Good luck!
 

Marc A

Well-known member
Registered
Joined
Jun 14, 2016
Messages
125
Points
18
I like it, what is it exactly? Sorry not comprehending
 

UWH-David

Member
Registered
Joined
Jan 18, 2016
Messages
45
Points
8
If using cPanel check out xVarnish. Pretty easy integration with a lot of functionality.
 

Mihai B.

Well-known member
Registered
Joined
Apr 19, 2016
Messages
238
Points
18
Mihai B.
I am also having a hosting using cPanel. Where to enable xVarnish?

When I use xVarnish, can I use other caching solution like memcached or opcache?
 

UWH-David

Member
Registered
Joined
Jan 18, 2016
Messages
45
Points
8
UWH-David
Absolutely, they are not related and different forms of caching from varnish.
 
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top