win10 the virtual machine is installed with ubuntu16.04 LTS . After installation, I will log in to the system as an ordinary user dp, and then I need to install nginx and php , mysql and so on. What I have done now is
1, modify the permissions of nginx and php installation directory usr : sudo chmod ofigw / usr
2, modify nginx and php configuration file directory etc permissions: sudo chmod ostatw / etc
3, after compilation and installation, use:
my question:
1) do you need to install and run as root when installing and running these configuration environments?
2) is the nginx server installed, or do the php and web directories need to be run with different users?


