I have the latest version of Ubuntu installed on my computer. I would like to set it up so that I can comfortably program in PHP, JavaScript, HTML and CSS.
So I've installed Nginx and set it up, MySQL and set it up, I have an editor in place (Haven't decided between Sublime Text 2 or PhpStorm 6, but that's outside the question at the moment), and it kinda works.
My main problem is that I need to sudo
anything in order to be able to edit or even access any of the configuration files, or even the public www files. That's annoying as hell. I don't want to keep Terminal windows open for every program I need in order to develop. I know that there's gksu
but again, it's annoying to have to identify for everything again and again.
Also, I can't install sublime-text plugins because of permission denied errors. Again, I don't want to sudo
every time I use sublime!
It's worth mentioning I'm developing in GUI, including running programs and whatnot.
Thanks in advance.
sudo chown -R name:name www-folder
. That way, you can write php scripts that can change your files and you can change them yourself. The reason for this all is that the windows packages you speak of are FAR from the security you get with linux. The default in Linux is Secure. If you want to go to insecure, you'd have to come up with it yourself. These packages do just work. You get a good dedicated secure server with a couple of commands. – labsin May 31 '13 at 13:23Also, I've read that it better to use
– Ads20000 Sep 19 '16 at 09:16pkexec nautilus
to open graphical applications as root, otherwise things might get messed up, but this doesn't work for Files yet (it might work in Files 3.22 which should be released in Ubuntu 17.04).