First released in 1997 by Kasper Skårhøj, a Danish developer, when the term “Content Management” was still widely unknown, it is represented today by the TYPO3 Association responsible for coordinating and funding the further development of the platform.
We’re using PHP in the stable version 8.1:
[isabell@stardust ~]$ uberspace tools version show php Using 'PHP' version: '8.1' [isabell@stardust ~]$
You’ll need your MySQL credentials. Get them with
[isabell@stardust ~]$ my_print_defaults client --default-character-set=utf8mb4 --user=isabell --password=MySuperSecretPassword [isabell@stardust ~]$
Your website domain needs to be set up:
[isabell@stardust ~]$ uberspace web domain list isabell.uber.space [isabell@stardust ~]$
TYPO3 provides the directory
public as web root since version 9.5, so we will install it next to the default document root and
use a symlink to make it accessible.
cd into the directory above your document root
/var/www/virtual/$USER/ and set up a new project using composer.
[isabell@stardust ~]$ cd /var/www/virtual/$USER/ [isabell@stardust isabell]$ composer create-project "typo3/cms-base-distribution:^11.5" typo3-cms Creating a "typo3/cms-base-distribution:^11.5" project at "./typo3-cms" Installing typo3/cms-base-distribution (v11.5.1) - Downloading typo3/cms-base-distribution (v11.5.1) - Installing typo3/cms-base-distribution (v11.5.1): Extracting archive Created project in /var/www/virtual/tstahn/typo3-cms Loading composer repositories with package information Updating dependencies Lock file operations: 100 installs, 0 updates, 0 removals [...] [isabell@stardust isabell]$
Now remove the document root and create a symlink to the
[isabell@stardust ~]$ cd /var/www/virtual/$USER/ [isabell@stardust isabell]$ rm -f html/nocontent.html; rmdir html [isabell@stardust isabell]$ ln -s /var/www/virtual/$USER/typo3-cms/public html [isabell@stardust isabell]$
Point your browser to your website URL and append
/typo3 (e.g. isabell.uber.space/typo3). You will be greeted with a
“Thank you for choosing TYPO3” message.
Create an empty file
FIRST_INSTALL (no file extension, all uppercase) inside your document root and reload the page
in your browser. You will be redirected to the TYPO3 Install Tool which will guide you through the remaining steps.
[isabell@stardust ~]$ cd /var/www/virtual/$USER/html [isabell@stardust html]$ touch FIRST_INSTALL
In case you have any problems in your environment, you will get warnings or hints in this screen. In this case, you should try to fix them.
For the purpose of this guide we assume there are none, so we can proceed with the next step.
Enter a username and password for your first TYPO3 admin user (the password will also be configured for the Install Tool).
For security reasons it’s best to not use the name
Enter your email address. This is used in case you forget your password and need to reset it. Additionally it can be used to notify you by email when somebody logs in from your account.
Choose a “site name” which will identify this installation (in the page tree and browser title).
The basic installation procedure is now complete, TYPO3 will be up and running and the most appropriate settings will have been made for you. You will get redirected to the TYPO3 Backend and can log in with the admin user account you created earlier.
If you wish to make changes to your installation at a later stage, use the Install Tool.
For further details, please have a look at the official installation guide.
Note that TYPO3 and especially any 3rd party packages are not updated automatically, you need to take care of that yourself.
To update TYPO3
cd into the directory you installed it in earlier and update using composer.
[isabell@stardust ~]$ cd /var/www/virtual/$USER/typo3-cms [isabell@stardust typo3-cms]$ composer update "typo3/cms-*" --with-all-dependencies
To update 3rd party packages, find the corresponding composer package name (e.g. from the official TYPO3 extension repository), and update the package.
In the example below assume
georgringer/news is installed and is to be updated.
[isabell@stardust ~]$ cd /var/www/virtual/$USER/typo3-cms [isabell@stardust typo3-cms]$ composer update georgringer/news
Subscribe to the TYPO3 Announce mailing list to get regular updates regarding new TYPO3 releases and security bulletins.
This is a read-only mailing list, so you can neither reply nor post any messages yourself. If you have any questions or want to contribute join the TYPO3 Slack.
You may also refer to the official Twitter account @typo3_security to stay up-to-date on security advisories.
Tested with TYPO3 11.5 LTS and Uberspace 7.12.2Written by: Tobias Stahn <email@example.com>