I'm trying to follow , but I'm getting the error in vim preventing me from inseting the text. I've tried:
sudo chmod 757 -R /var/wwwbut no luck. How can I save the file with vim?
21 Answer
So you are trying to write to /etc/uwsgi/sites/sample.ini usually items in /etc/ are only writeable by the root user. So you should run your editor with sudo like this
sudo vim /etc/uwsgi/sites/sample.ini 0