amélioration du setup

This commit is contained in:
Gregory Colpart 2022-09-30 15:03:05 +02:00
parent fded5c2c19
commit b45f203683

View file

@ -21,14 +21,40 @@ Aegir est composé des éléménts suivants :
Pré-requis : Debian 10 avec PHP 7.3 (par défaut sous Debian 10)
Préparer un service [MySQL](HowtoMySQL) local avec un identifiant "admin" afin de permettre au paquet Debian `aegir3` de créer une base et un utilisateur.
Préparer un service [MySQL](HowtoMySQL) local avec un identifiant "admin" afin de permettre au paquet Debian `aegir3` de créer une base et des utilisateurs MySQL (il va notamment créer `aegir_root`) :
~~~
# echo "deb https://debian.aegirproject.org stable main" > /etc/apt/sources.list.d/aegir.list
# wget http://debian.aegirproject.org/key.asc -O /etc/apt/trusted.gpg.d/aegir.asc
# screen -S aegir-dpkg-workaround -dm bash -c "while true; do systemctl daemon-reload; done"
# apt update && apt install aegir3 composer
Unpacking aegir3 (3.192) ...
...
Adding user aegir to group www-data
Creating config file /etc/sudoers.d/aegir with new version
Setting up aegir3-hostmaster (3.192) ...
'drush' cache was cleared. [success]
...
Adding hosting-dispatch cron entry to run every minute [ok]
The command did not complete successfully, please fix the issues and [error]
re-run this script
Aegir 7.x-3.192 automated install script
Enabling hosting-queued daemon
The following extensions will be enabled: hosting_queued
Do you really want to continue? (y/n): y
hosting_queued was enabled successfully. [ok]
Enabling Hosting queue daemon feature. [status]
Synchronizing state of hosting-queued.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable hosting-queued
...
Use this URL to login on your new site:
http://aegir.example.comr/user/reset/1/1664384789/BPynMpO0tjjTOlvr8aOW4z7g0rNGsfKgGEFOuUr8oVU/login
# pkill -9 screen
# ls -d /var/aegir/hostmaster-*
/var/aegir/hostmaster-7.x-3.192