Site Tools


informatique:web:bookstack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
informatique:web:bookstack [2024/10/17 21:03] – created yahikoinformatique:web:bookstack [2025/03/13 11:50] (current) yahiko
Line 13: Line 13:
 Installer les paquets nécéssaires Installer les paquets nécéssaires
 <code bash> <code bash>
-apt install -y apache2 php php-{gd,mbstring,tokenizer,xml,curl,mysql} libapache2-mod-php mariadb-server mariadb-client git unzip+apt install -y apache2 php php-{gd,mbstring,tokenizer,xml,curl,mysql,zip} libapache2-mod-php mariadb-server mariadb-client git unzip certbot
 </code> </code>
  
Line 107: Line 107:
  
 ===== Installer Composer ===== ===== Installer Composer =====
-Installer Composer. On va l'installer globalement parce je ne sais pas ce que je fais.+Installer [[https://getcomposer.org/|Composer]]. On va l'installer globalement parce je ne sais pas ce que je fais.
  
 <code bash> <code bash>
Line 153: Line 153:
 chmod -R 775 /var/www/bookstack/storage /var/www/bookstack/bootstrap/cache /var/www/bookstack/public/uploads chmod -R 775 /var/www/bookstack/storage /var/www/bookstack/bootstrap/cache /var/www/bookstack/public/uploads
 chmod 640 /var/www/bookstack/.env chmod 640 /var/www/bookstack/.env
 +</code>
 +
 +Et on migre la base
 +<code bash>
 +php artisan migrate
 </code> </code>
  
Line 158: Line 163:
  
 On créé le vHost Apache On créé le vHost Apache
-<code bash +<code bash> 
-nano /etc/apache2/site-available/bookstack.conf+nano /etc/apache2/sites-available/bookstack.conf
 </code> </code>
  
Line 218: Line 223:
 a2ensite bookstack.conf a2ensite bookstack.conf
 systemctl reload apache2 systemctl reload apache2
-</bash>+</code>
  
 ===== Profit ===== ===== Profit =====
informatique/web/bookstack.1729199017.txt.gz · Last modified: 2024/10/17 21:03 by yahiko