FeministWiki:Server setup: Difference between revisions

Line 79: Line 79:
Now we can install all the software used for the various FeministWiki services:
Now we can install all the software used for the various FeministWiki services:


php_version=7.4 # or whatever version we're on
  apt-get install apache2
  apt-get install apache2
  apt-get install dovecot-core
  apt-get install dovecot-core
Line 92: Line 90:
  apt-get install mariadb-server
  apt-get install mariadb-server
  apt-get install opendkim
  apt-get install opendkim
apt-get install php${php_version}
apt-get install php${php_version}-ldap
apt-get install php${php_version}-mbstring
apt-get install php${php_version}-mysql
apt-get install php${php_version}-xml
  apt-get install postfix
  apt-get install postfix
  apt-get install slapd
  apt-get install slapd
Line 105: Line 98:


  apt-get install ejabberd/$(lsb_release -sc)-backports # e.g. ejabberd/buster-backports
  apt-get install ejabberd/$(lsb_release -sc)-backports # e.g. ejabberd/buster-backports
=== Install PHP and modules ===
This should really be part of the last section, but due to the sheer number of PHP modules we want to install, it's in its own section:
php_version=7.4 # or whatever version we're on
apt-get install php${php_version}
apt-get install php${php_version}-ctype
apt-get install php${php_version}-curl
apt-get install php${php_version}-gd
apt-get install php${php_version}-iconv
apt-get install php${php_version}-json
apt-get install php${php_version}-ldap
apt-get install php${php_version}-mbstring
apt-get install php${php_version}-mysql
apt-get install php${php_version}-xml
apt-get install php${php_version}-zip


=== Enable Apache modules ===
=== Enable Apache modules ===