You are not logged in.
Hello everyone,
the Archlinux Packaging Standards say that no package should include "/srv".
Does that mean that I can still package an "/srv/http/myWebApp"?
Is there some standard out there that defines that webapps should go into "/srv/http/" or "/usr/share/webapps/"?
After a lot of googling and finding old discussions dating back to 2008, 2007 and even 2005, it seems to me that /srv/http is the most sensible option for installing webapps like phpmyadmin, wordpress, etc., but I still see webapps getting installed into /usr/share/webapps and then stuff getting symlinked from /srv/http which seems very unclean to me...
Thanks for enlightening me!
Offline
...it seems to me that /srv/http is the most sensible option for installing webapps like phpmyadmin, wordpress, etc., but I still see webapps getting installed into /usr/share/webapps and then stuff getting symlinked from /srv/http which seems very unclean to me...
I agree 100% personally, but unfortunately the consensus seems to be that they should go into /usr and get symlinked ![]()
Having said that, it's your computer so you can put it where you like... I still put everything in /srv/http/ on my boxes
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
thanks for agreeing with me, nothing feels better than being understood. I remember seeing somewhere that the FHS standard defines /usr/ (or was it /usr/share?) to be read-only, shareable data, which makes sense to me and is the primary reason why I'd think a webapp should not be there. And then there are the config files which are even less justified in such a directory. Unless, of course, a webapp is extracted/installed into /usr/share/webapps and then simply copied in its entirety into /srv/http and left as a read-only copy for reference in /usr/share, which would be a good compromise for me...
Offline
I remember seeing somewhere that the FHS standard defines /usr/ (or was it /usr/share?) to be read-only, shareable data, which makes sense to me and is the primary reason why I'd think a webapp should not be there.
Yes, the FHS states that /usr should be read-only, that's the main reason I think it should be in /srv
EDIT:
/usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere.
Unless, of course, a webapp is extracted/installed into /usr/share/webapps and then simply copied in its entirety into /srv/http and left as a read-only copy for reference in /usr/share, which would be a good compromise for me...
Except that kind of defeats the purpose of installing it with a package manager... You may as well download the tarball directly and just keep a copy of the tarball somewhere as a reference.
Last edited by fukawi2 (2011-08-02 06:20:45)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
right but pacman allows me to track what is installed...
Offline