elgg:elgg
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| elgg:elgg [2018/09/03 08:26] – créée ronan | elgg:elgg [2019/01/10 15:55] (Version actuelle) – rguyader | ||
|---|---|---|---|
| Ligne 6: | Ligne 6: | ||
| __Elgg incompatible avec Postgresql__ | __Elgg incompatible avec Postgresql__ | ||
| - | + | <code bash> | |
| - | # | + | apt install mariadb-server php7.0 php7.0-gd php7.0-json php7.0-xml php7.0-mysql php7.0-mbstring apache2 |
| - | # | + | cd /var/www/ |
| - | # | + | wget https:// |
| - | # | + | unzip getelgg\? |
| - | # | + | rm getelgg\? |
| - | # rm -r html | + | rm -r html |
| - | # | + | mv elgg-2.3.8 html |
| - | # | + | mkdir / |
| - | # chown www-data: / | + | chown www-data: / |
| - | # chmod 750 / | + | chmod 750 / |
| + | </ | ||
| ==== Apache ==== | ==== Apache ==== | ||
| - | + | <code bash> | |
| - | # | + | a2enmod rewrite ssl |
| - | # | + | vim / |
| - | + | </ | |
| - | < | + | <code apache> |
| + | < | ||
| + | ServerName mon-url.com | ||
| + | Redirect permanent / https:// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | < | ||
| ServerName mon-url.com | ServerName mon-url.com | ||
| - | | + | |
| - | </VirtualHost> | + | ErrorLog ${APACHE_LOG_DIR}/ |
| + | | ||
| + | SSLEngine on | ||
| | | ||
| - | < | + | SSLCertificateFile |
| - | < | + | |
| - | ServerName mon-url.com | + | |
| - | DocumentRoot | + | |
| - | ErrorLog ${APACHE_LOG_DIR}/elgg-error.log | + | |
| - | | + | |
| - | SSLEngine on | + | |
| | | ||
| - | SSLCertificateFile / | + | |
| - | SSLCertificateKeyFile / | + | Options FollowSymLinks |
| - | + | AllowedOverride All | |
| - | | + | </ |
| - | Options FollowSymLinks | + | </ |
| - | AllowedOverride All | + | </ |
| - | </ | + | </ |
| - | </ | + | <code bash> |
| - | </ | + | a2dissite 000-default |
| - | + | a2ensite elgg | |
| - | # a2dissite 000-default | + | systemctl restart apache2 |
| - | # a2ensite elgg | + | </ |
| - | # | + | |
| ==== MariaDB ==== | ==== MariaDB ==== | ||
| - | + | <code bash> | |
| - | # | + | mariadb |
| - | # CREATE USER elgg IDENTIFIED BY ' | + | CREATE USER elgg IDENTIFIED BY ' |
| - | # | + | CREATE DATABASE elgg; |
| - | # | + | GRANT ALL PRIVILEGES ON elgg.* TO elgg; |
| - | # | + | exit |
| + | </ | ||
| ==== post install ==== | ==== post install ==== | ||
| === Longueur minimale de la phrase de passe === | === Longueur minimale de la phrase de passe === | ||
| - | + | <code bash> | |
| - | # | + | cd / |
| - | # | + | vim settings.php |
| + | </ | ||
| $CONFIG-> | $CONFIG-> | ||
| === memcached === | === memcached === | ||
| - | + | <code bash> | |
| - | # | + | apt install memcached |
| - | # | + | vim / |
| + | </ | ||
| $CONFIG-> | $CONFIG-> | ||
| $CONFIG-> | $CONFIG-> | ||
| Ligne 124: | Ligne 127: | ||
| Je trouve que le thème pas défaut (sans Aalborg) est très bien mais il n'est pas " | Je trouve que le thème pas défaut (sans Aalborg) est très bien mais il n'est pas " | ||
| - | Le thème " | + | Le thème " |
| - [[https:// | - [[https:// | ||
elgg/elgg.1535963212.txt.gz · Dernière modification : 2018/09/03 08:26 de ronan