This repository contains Bash scripts for automating the installation of BookStack on various systems.
-
Script Name:
installation-almalinux-9.sh
-
Description: This script automates the installation of BookStack, a platform designed for organizing and storing documentation and knowledge base articles.
-
Features:
- Automated installation process, including package installation, database configuration, and Nginx setup.
- Secure configuration with SELinux disabled and firewall settings configured.
- Support for HTTPS with optional Nginx configuration.
- Database setup with randomized passwords for enhanced security.
- PHP-FPM configuration for optimized performance and resource usage.
- Colored output for clear feedback during installation, with summary exit messages.
-
Clone this repository to your AlmaLinux system:
git clone https://github.com/username/automated-installations.git
-
Navigate to the cloned directory:
cd automated-installations
-
Make the desired script executable:
chmod +x installation-almalinux-9.sh
-
Execute the script root/sudo:
./installation-almalinux-9.sh
-
Follow the on-screen prompts and provide necessary information when prompted.
- HTTPS Configuration: By default, HTTPS support is enabled in the script. You can disabled it by setting the
CONFIGURE_NGINX_AS_HTTPS
variable tofalse
.