# INSTALACION BOOKSTACK
```bash # Ensure you have read the above information about what this script does before executing these commands. # Download the script wget https://raw.githubusercontent.com/BookStackApp/devops/main/scripts/installation-ubuntu-22.04.sh # Make it executable chmod a+x installation-ubuntu-22.04.sh # Run the script with admin permissions sudo ./installation-ubuntu-22.04.sh ```
\* Antes de ejecutar el script de instalacion : sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install -y php8.2 php8.2-curl php8.2-mbstring php8.2-ldap php8.2-xml php8.2-zip php8.2-gd php8.2-mysql libapache2-mod-php8.2 sudo a2dismod php7.2 php7.4 php7.3 php8.0 php8.1 sudo a2enmod php8.2 Al ejecutar el script le puede dar error una de las razones puede ser que ya tiene el apache instalado, \* apt-get purge apache2 apache2-utils apache2-bin apache2.2-common - no instalar apache antes de ejecutar el script de instalacion.