Whats the simplest way to edit and add files to “/var/www”?
I'm fairly new to Ubuntu, and Linux in particular. I want to use Ubuntu for web development mostly, so I went ahead and installed LAMP manually using this guide. Everything works good. Apache, PHP, MySQL are all working perfectly fine, but there's this permission issue.
My files are going to be in /var/www, but I don't have permissions to this directory. How would I make it so that I have the permissions to edit, view (also in browser), delete, and create files in this directory?
Note that I am not hosting a server, so security is not an issue. I will be managing my project locally.