I've logged onto an Amazon AMI instance, which runs linux commands. I've tried to install an application called 'Varnish Cache' on it.
There's a section on the command prompt where I'm copying the command below and pasting it into the command window. And I keep getting a permission denied error when I do.
[ec2-user@ip-172-31-4-111 varnish-3.0.2]$ varnishd -f /usr/local/etc/varnish/default.vcl -s malloc,4G -T 127.0.0.1:2000 -a 10.64.43.79:80 -p thread_pool_min=500 -p thread_pool_max=4000 -p thread_pool_add_delay=2
Cannot create working directory '/usr/local/var/varnish/ip-172-31-4-111/': Permission denied
Can someone help me with resolving this?