Using apt-get to install a web application instance

Is it possible to have many instances of MediaWiki or Wordpress on a web server with apt-get installed and automatically updated? If so, will Ubuntu LTS be updated with security fixes?

Thanks!

0


a source to share


2 answers


No, at least not in the way you think. It is not possible to use apt-get to install multiple instances of the same package to different locations.



However, there are quite a few web applications that are designed to be installed once and can be run from different domains. One copy of the source code, but configured to run on many virtual hosts, using different configurations and databases. So it depends on the package you want to install.

+2


a source


You can put your own packages into your own package repository and add it to each server /etc/apt/sources.list

, then call apt-get update && apt-get upgrade

on all servers to update.



As Sander Marechal said: You usually don't need separate copies of the source code for each service instance.

0


a source







All Articles