I want to set up a webserver and I understand that when using linux its not safe to install things under root. So should I install things like apache and php under a different user? And if i do, will everything be installed in the /usr directory?
When using Linux you should not run things as
The Apache developers are well aware of security concerns and, by default, will install the webserver to run as a specially created user; on my system, most of the apache2 instances are running under the user
I think you can override the default locations for the actual web files during installation, but normal practice is to use the default (
In summary, taking the defaults of the installation (run as