Differenze tra le versioni di "CiviCRM 2022/Technical documentation"
Jump to navigation
Jump to search
(Creata pagina con "{{Server|ASD TO BE DEFINED}} This is the technical documentation of the server containing CiviCRM development serving these domains: * https://crm.wikimedia.it * https://crm...") |
m (ASD_TO_BE_DEFINED) |
||
Riga 11: | Riga 11: | ||
<pre> | <pre> | ||
− | WMI_SERVER= | + | WMI_SERVER=ASD_TO_BE_DEFINED |
apt update | apt update | ||
Riga 19: | Riga 19: | ||
# remove default empty stuff | # remove default empty stuff | ||
− | + | mv /etc/apache2/sites-available /etc/apache2/sites-available.legacy | |
− | + | mv /etc/apache2/sites-enabled /etc/apache2/sites-enabled.legacy | |
# if the above fail, Apache is not empty. | # if the above fail, Apache is not empty. | ||
Riga 47: | Riga 47: | ||
apachectl graceful | apachectl graceful | ||
</pre> | </pre> | ||
+ | |||
+ | == Configuration == | ||
+ | |||
+ | Configuration on Phabricator: | ||
+ | |||
+ | * [[phabricator:diffusion/WIIN/browse/master/servers/ASD_TO_BE_DEFINED/conf/apache2/sites-available/]] |
Versione delle 15:36, 1 feb 2022
This is the technical documentation of the server containing CiviCRM development serving these domains:
Provision
From a Debian GNU/Linux bullseye (stable) 11:
WMI_SERVER=ASD_TO_BE_DEFINED apt update apt upgrade --yes apt install --yes mariadb-server apache2 libapache2-mod-php git git clone http://phabricator.wikimedia.org/diffusion/WIIN/wikimedia-it-wmit-infrastructure.git /etc/wmit-infrastructure # remove default empty stuff mv /etc/apache2/sites-available /etc/apache2/sites-available.legacy mv /etc/apache2/sites-enabled /etc/apache2/sites-enabled.legacy # if the above fail, Apache is not empty. # manually move your stuff in a versioned directory # attach the versioned configuration ln --symbolic /etc/wmit-infrastructure/servers/"$WMI_SERVER"/conf/apache2/sites-available /etc/apache2/sites-available ln --symbolic /etc/wmit-infrastructure/servers/"$WMI_SERVER"/conf/apache2/sites-enabled /etc/apache2/sites-enabled # enable upstream configurations a2ensite it-wikimedia-crmdev-txt a2ensite it-wikimedia-crm-txt # reload configuration apachectl graceful # eventually deploy Let's Encrypt certificates certbot certonly --webroot --webroot-path /var/www/html --domain crmdev.wikimedia.it certbot certonly --webroot --webroot-path /var/www/html --domain crm.wikimedia.it # enable upstream SSL configurations a2ensite it-wikimedia-crmdev-ssl a2ensite it-wikimedia-crm-ssl # reload configuration apachectl graceful
Configuration
Configuration on Phabricator: