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 7.2:
[isabell@stardust ~]$ uberspace tools version show php Using 'PHP' version: '7.2' [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 9.5 provides the directory
public as web root, 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 typo3-cms Installing typo3/cms-base-distribution (v9.5.0) - Installing typo3/cms-base-distribution (v9.5.0) Created project in typo3-cms Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 76 installs, 0 updates, 0 removals - Installing typo3/cms-composer-installers (v2.2.1) - Installing typo3/class-alias-loader (1.0.1) [...] [isabell@stardust isabell]$
Please make sure your DocumentRoot is empty before removing it. This step will delete all contained files.
Now remove the document root and create a symlink to the
[isabell@stardust ~]$ cd /var/www/virtual/$USER/ [isabell@stardust isabell]$ rm -rf 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 your database credentials, keep the other settings unchanged, they are correct as they are.
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
Choose a “site name” which will identify this installation (in the page tree and browser title).
Choose whether you want to start with an empty TYPO3 installation (no pages, templates, configuration) or if you want to have a preconfigured basis to start from.
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/minimal
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 9.5 LTS and Uberspace 7.2.2Written by: Tobias Stahn <firstname.lastname@example.org>