How to install TYPO3 - Manually & Via Composer

TYPO3, the most secure, fast and robust CMS is powered by easy installation which makes it easy for anyone to create a website. All the best TYPO3 web hosting companies allow you to install TYPO3 with just a few clicks. In most circumstances, installing TYPO3 is a simple process that takes less than five minutes to complete.

How to install TYPO3 - Manually & Via Composer

TYPO3, the most secure, fast and robust CMS is powered by easy installation which makes it easy for anyone to create a website. All the best TYPO3 web hosting companies allow you to install TYPO3 with just a few clicks. In most circumstances, installing TYPO3 is a simple process that takes less than five minutes to complete.

In this tutorial, our goal is to offer a complete TYPO3 installation tutorial for beginners and advanced users alike.

TYPO3 System Requirements

If you have decided to build your website on TYPO3, you must prepare accurate conditions for CMS installation.

The process demands two basic things – a web server and a database server. For the most popular operating systems, the basic stack is called AMP (Apache MySQL PHP). Check out the system requirements,

Operating System

Linux, Windows or Mac, or common cloud infrastructure setups

Web Server

Apache httpd, Nginx, Microsoft IIS, Caddy Server

Supported Browsers

Chrome (latest)
Edge (latest)
Firefox (latest)
Safari (latest)

Composer

Composer >= 2.1

Database

MariaDB >= 10.2.7 <= 10.5.99
Microsoft SQL Server
MySQL >= 5.7.9 <= 8.0.99
PostgreSQL
SQLite

Hardware

RAM >= 256 MB

PHP

PHP >= 7.4.1 <= 8.1.99

Install TYPO3 Via Composer

1. Download TYPO3

The initial step is to download TYPO3 from its official TYPO3 website. You can download your desired TYPO3 version from there.

2. Set up the Installation Files

Now the next phase is to set up the installation files of TYPO3. To start with, extract the TYPO3 Zip you downloaded from TYPO3's official website. This will generate a folder on your system, which consists of all the files you want to introduce to TYPO3. Now you'd have to transfer the items to the folder on the server.

Additionally, it is critical to choose where you wish to install TYPO3. Assuming you might want to get to it through your primary domain, this demonstrates that you want to transfer the TYPO3 records straightforwardly inside the public_html/directory of your account. But, in case you are looking for an alternate configuration, this location might be different too.

There are two different ways of transferring your records to the server - utilizing an FTP or transferring straightforwardly through your cPanel account

3. Start the Installation

The subsequent stage is to start the actual establishment of TYPO3. To proceed you'd require access to the location of uploaded TYPO3 installation files.

To start the installation, create a file called "FIRST_INSTALL" in a similar directory, where you have transferred your TYPO3 files. This is a security check that will permit you to continue with the installation. You can create the file from FTP or involve the File Manager in your cPanel account.

4. System Check

The installation wizard opens up at "https://www.MY_INSTALL.com/typo3/install.php". The tool helps you to install TYPO3. The process has five phases. First, the tool examines your system environment. If problems occur due to a setting, use the troubleshooting function. Otherwise, proceed.

To proceed to resolve the errors listed as a result of the system check and its resultant conflict.

5. TYPO3 Setup

With the next step the MySQL database will be integrated. Sign in with „root“ as username. A password is not required in the XAMPP installer.

Afterward, choose an existing database or create a new one. In our case, we have chosen the database called “test”. Recently it is possible to use a different database implementation than MySQL.
 

Then an admin user is created for the TYPO3 backend. The password you assign will as well be used for the install tool.

Now the installation itself is completed.

In the final step, the wizard completes the installation by automatically adapting some configurations to your system environment. You still decide whether TYPO3 will create an empty website or whether it will rest for the time being. By clicking “Open the TYPO3 Backend” you will be taken to the admin area, where you can log in with your newly created account. You have now successfully installed TYPO3.

How To Install TYPO3 via Composer

Step 1. Install Composer

Choose your favorite way to install composer to your Unix/Linux or macOS machine, and you will need to find a way to install it from Composer’s official site.

Option 1. Official Guide from Getcomposer.org

 

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

 

 

Option 2. Using Standard Application Install

 

sudo apt-get update
sudo apt-get install composer
composer -v

 

Option 3. Using Curl + Application Get

 

sudo apt-get update
sudo apt-get install curl php-cli git
curl -sS getcomposer.org/installer | sudo php - --install-dir = / usr / local / bin --filename = composer

Step 2. Enable Composer Command

Once you install composer, I recommend running the following commands so that you can run the “composer command”.

 

// Move composer.phar to bin to run as composer command
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer

// Before above commands
/usr/local/bin/composer -v

// After the above commands
composer -v

Step 3. Install TYPO3 Core Using Composer

Let’s officially download and install TYPO3 core using the composer-based TYPO3 instance.

 

// create and change directory
mkdir test-typo3
cd test-typo3

// Download the Base Distribution, the latest "LTS" release (10)
composer create "typo3/cms-base-distribution:^10" --prefer-dist

// create FIRST_INSTALL file in the folder public/
touch public/FIRST_INSTALL

// Launch your TYPO3 instance & Complete TYPO3 Installation Steps

Tada!! And your TYPO3 installation via composer is done!

Conclusion

We hope this TYPO3 installation tutorial helps you learn how to install TYPO3 manually easily and via composer. Installation via composer vastly speeds up and eases works connected to installing TYPO3. You no longer have to download the CMS core manually, and what is more, you can use the tool to manage your site and its dependencies in the future. Such a solution provides comfort and security for each TYPO3 site owner.

As always, don’t hesitate to ask if you’re having any trouble installing TYPO3. We’re happy to help.

Happy TYPO3 Installation!

Post a Comment

×
Captcha Code Can't read the image? Click here to refresh