elgg:elgg
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
elgg:elgg [2018/09/03 09:35] – 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-> |
elgg/elgg.1535967353.txt.gz · Dernière modification : 2018/09/03 09:35 de ronan