Last active
March 15, 2026 18:55
-
-
Save oliverthiele/999b29a675a0c46687b627dc259bf382 to your computer and use it in GitHub Desktop.
Script for fully automated composer-based installation of TYPO3 (v12.4 / v11.5) on a clean Ubuntu 22.04 or 24.04 root server with nginx, certbot, brotli, webp, ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This Gist is deprecated. | |
| # | |
| # A complete rewrite is available as a proper repository: | |
| # https://github.com/oliverthiele/server-install | |
| # | |
| # The new version supports TYPO3 v12 LTS and v13 LTS, Ubuntu 22.04/24.04, | |
| # resume after failures, SSH hardening, resource tuning, and much more. |
Author
Todo: I have add this to my.cnf:
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
Author
Current version is WIP, but you can install now the complete TYPO3 10.4 on a Ubuntu 20.04. After installation with this script a login in the TYPO3 Backend is possible. Now the script generates .env files and the AdditionalConfiguration.php.
Author
The current version now works with TYPO3 v12.4 LTS (can be switched to v11.5), but is still WIP. Monit e.g. can be installed but is not configured. New: it installs the zsh shell for root and www-data.
Author
The following features have been added with the latest update:
- The script now works with Ubuntu 24
- Passwords are generated more securely
- Support for Brotli compression in nginx
- WebP extension with matching nginx configuration
- nvm / node / npm is available for www-data (e.g. for webpack frontend builds)
- yarn is no longer installed by default
Not everything is perfect yet, but it is already functional with these changes.
Author
I will no longer be updating this script, as I have created a new Git repository:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 17 should be
# typo3Version='^9.5';without the double quotes.
Then the installation of 9.5 works.