CMDCommand · run as root on the server · modsec family
urbestack-modsec-install
First published 19 Nov 2026
0.2.30Unchanged since publicationUsage
# urbestack-modsec-installDescription
From the command's --help outputInstalls the distribution's ModSecurity package. On AlmaLinux it installs mod_security. On Ubuntu it installs libapache2-mod-security2 and skips recommended packages. The command requires UrbeStack to manage ModSecurity and is safe to run again. UrbeStack puts its configuration in place before installing the package so ModSecurity starts in Off mode. After installation, UrbeStack regenerates its Apache configuration, tests Apache's configuration, and reloads Apache. UrbeStack setup queues this command as a job so the package manager can run after the package installation that started setup finishes. On Ubuntu, the package manager waits up to 10 minutes for its lock. The package installation has a 30-minute timeout.Usage: urbestack-modsec-install Installs the distribution's ModSecurity package. On AlmaLinux it installs mod_security. On Ubuntu it installs libapache2-mod-security2 and skips recommended packages. The command requires UrbeStack to manage ModSecurity and is safe to run again. UrbeStack puts its configuration in place before installing the package so ModSecurity starts in Off mode. After installation, UrbeStack regenerates its Apache configuration, tests Apache's configuration, and reloads Apache. UrbeStack setup queues this command as a job so the package manager can run after the package installation that started setup finishes. On Ubuntu, the package manager waits up to 10 minutes for its lock. The package installation has a 30-minute timeout.
Generated from release 0.2.35 (current) · urbestack-modsec-install --help outputThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/commands/urbestack-modsec-install/