Outils pour utilisateurs

Outils du site


test_de_grav_pour_le_site_de_caliban

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
test_de_grav_pour_le_site_de_caliban [2019/10/10 14:16] simontest_de_grav_pour_le_site_de_caliban [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1
Ligne 1: Ligne 1:
-====== Test de Grav pour le site de Caliban ====== 
  
-<code bash> 
-$ sudo lxc-create -t download -n grav -- --dist debian --release buster --arch amd64 
- 
-$ sudo lxc-start -n grav 
- 
-$ sudo lxc-attach -n grav 
- 
-root@grav:/# dpkg-reconfigure locales 
-(choose fr_BE.UTF-8 ) 
- 
-root@grav:/# apt update 
- 
-root@grav:/# apt install nginx wget unzip 
- 
-root@grav:/# cd /var/www/ 
- 
-root@grav:/var/www/# wget -O grav-admin-v1.6.16.zip https://getgrav.org/download/core/grav-admin/1.6.16 
- 
-root@grav:/var/www# unzip grav-admin-v1.6.16.zip  
- 
-root@grav:/var/www# rm -r html/ 
- 
-root@grav:/var/www# mv grav-admin/ html/ 
- 
-root@grav:/var/www# chown -R www-data:www-data html/ 
-</code> 
- 
-Je voulais changer la configuration de Nginx au minimum mais il faut bien installer et activer PHP. 
-<code bash> 
-root@grav:/var/www/html# apt install php7.3 
- 
-root@grav:/var/www/html# vim /etc/nginx/sites-enabled/default 
-        index index.html index.htm index.nginx-debian.html index.php; 
- 
-root@grav:/var/www/html# systemctl reload nginx 
-</code> 
- 
-===== Sources ===== 
-  * [[https://learn.getgrav.org/16/basics/installation|Installation de Grav 1.6 (learn.getgrav.org)]] 
test_de_grav_pour_le_site_de_caliban.1570717007.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)