919
modifications
Ligne 124 : | Ligne 124 : | ||
apt-get install php${php_version}-xml | apt-get install php${php_version}-xml | ||
apt-get install php${php_version}-zip | apt-get install php${php_version}-zip | ||
=== Put config files in place === | |||
The principle is simple: take all the config files from {{C|/root/repo/etc}} and put them where they belong in {{C|/etc}}. However, since a new server might mean much newer software, it's possible that some config files aren't compatible anymore, or that some new sensible defaults might be overwritten by the old config. Sadly figuring out these incompatibilities is a manual process: compare the new default config with the old default config and to our current config, to figure out what our new config should look like. | |||
There's a number of things important to remember however: | |||
* After copying in the new {{C|/etc/aliases}} file, run {{C|newaliases}} for the changes to take effect | |||
* After populating {{C|/etc/letsencrypt/renewal-hooks}}, remember to {{C|chmod +x}} all the scripts | |||
=== Enable Apache modules, config, and sites === | === Enable Apache modules, config, and sites === | ||
Ligne 148 : | Ligne 156 : | ||
groupadd -g 5000 vmail | groupadd -g 5000 vmail | ||
useradd -u 5000 -g vmail -s /usr/sbin/nologin -d /home/vmail -m vmail | useradd -u 5000 -g vmail -s /usr/sbin/nologin -d /home/vmail -m vmail | ||
=== Initialize LetsEncrypt === | === Initialize LetsEncrypt === |