Difference between revisions of "Web application package guidelines"
m (→Install Web Application Package: sentence case in headings)
|Line 1:||Line 1:|
Revision as of 18:38, 6 August 2013
This page describes how to package web application which tends to install into
/srv/http (for example packages written in php, such as and ).
/var/...(according to generic FHS conventions)
/usr/share/webapps/$pkgname files and/or directories should be symlinked into
/etc/webapps/$pkgname should contain some examples which helps to setup web-server to run this web application:
Install web application package
Install with Apache
# install 'foo' packaage # cp /etc/webapps/foo/apache.example.conf /etc/httpd/conf/extra/foo.conf # edit /etc/httpd/conf/httpd.conf Include conf/extra/foo.conf
# systemctl start httpd
Install with Nginx
# install 'foo' pacakge # ln -s /usr/share/webapps/foo /srv/http # cp /etc/webapps/foo/nginx.example.conf /etc/nginx/extra/foo.conf # conf file may be not present.
# systemctl start <fastcgi> # systemctl start nginx