I have installed apache from the source with:prefix=/usr sysconfdir=/etc/httpd/ localstatedir=/var.
useradd -g apache -d /usr/apache -s /sbin/nologin apache
|
I have installed apache from the source with:
|
|||
|
If you wonder about the home directory, it should not matter that much, because it will probably not change the behavior of apache at all. On Debian, the default homedir for the user running apache is Also, if you're on a Debian-based distrib, you should prefer using |
||||
/usr/local, to keep things separate from software provided by your OS. – jordanm Jan 13 at 6:33