rh71
No Lifer
pretty much a newbie to linux and don't fully understand sudo (why don't I have admin privileges if I am the only user and installed under this user?). My goal was to do a LAMP server (through VMWare Player) so I can start doing PHP as well so I am following this guide which seems straightforward: http://www.wikihow.com/Build-a-LAMP-Server I am running the latest Ubuntu.
I am stuck where I'm supposed to save the test.php file. It's saying that I don't have the permission, even though I'm the root (and the only) user.
Is there a way to do this so I don't ever have any user permission problems anymore since I am the root user? Or do I need to do some sudo command everytime, even with something simple like gedit and saving a file into a directory (/var/www in this case). After it didn't work, I even tried adding my root username to a line in etc/sudoers but I have a feeling it's not necessary.
I am stuck where I'm supposed to save the test.php file. It's saying that I don't have the permission, even though I'm the root (and the only) user.
Is there a way to do this so I don't ever have any user permission problems anymore since I am the root user? Or do I need to do some sudo command everytime, even with something simple like gedit and saving a file into a directory (/var/www in this case). After it didn't work, I even tried adding my root username to a line in etc/sudoers but I have a feeling it's not necessary.
Last edited: