Book Stack
| ID | 111 |
| Name | BookStack |
| OS | Ubuntu 20.04.3 LTS |
| Root Disk | 20 G |
| RAM | 2 G |
| Cores | 2 |
| Netzwerk | 192.168.1.233 |
Obligatorisches Update
apt update && apt upgrade -y
Installation (via script)
wget https://raw.githubusercontent.com/BookStackApp/devops/main/scripts/installation-ubuntu-22.04.sh
chmod a+x installation-ubuntu-22.04.sh
sudo ./installation-ubuntu-22.04.sh
Udates
Diese Befehle sind wichtig
#Um in das Verzeichnis zu wechseln
cd /var/www/bookstack
# Überprüfung von Updates
git pull origin release
#Installation von Updates
composer install --no-dev
#Migration der Datenbank
php artisan migrate
cd /var/www/bookstack Um in das Verzeichnis zu wechselngit pull origin release Überprüfung von Updatescomposer install --no-dev Installation von Updatesphp artisan migrate Migration der Datenbank
Und dann kann man noch den Cache löschencd /var/www/bookstack Nicht notwendig wenn man schon im Verzeichnis ist.php artisan cache:clearphp artisan config:clearphp artisan view:clear
Quelle: https://www.technik22.de/d/543-bookstack-ubuntu-2204-ct-faxen-dicke/7
Unüberwachte Security-Updates
apt-get install unattended-upgrades apt-listchanges
sudo dpkg-reconfigure -plow unattended-upgrades