FeministWiki:Server setup: Difference between revisions

Line 109: Line 109:
  add-apt-repository ppa:ondrej/nginx
  add-apt-repository ppa:ondrej/nginx
  add-apt-repository ppa:ondrej/php
  add-apt-repository ppa:ondrej/php
It may be necessary to increase the priority of some repositories if you encounter errors about dependencies that can't be fulfilled, due to apt-get thinking it has to prioritize older versions of some packages.  This was last observed while trying to install {{C|nginx-extras}}, due to some library dependencies having the "epoch" part of the version number set in the regular Debian repository, but not set in the Sury repository.  The solution is to create a file in {{C|/etc/apt/preferences.d}} such as:
Package: *
Pin: origin packages.sury.org
Pin-Priority: 700


=== Create vmail user ===
=== Create vmail user ===