Installing Drupal

Video link: To install Drupal manually

Chapter 3 of the Drupal User Guide covers server requirements, additional tools, preparing for installation, and running the installation script. Chapter 4 covers the next steps that should be done after the installation script has been completed.

This guide covers a significant portion of the same material. These pages cover more options than the User Guide, with somewhat less detailed instructions. When information is available in other developer guides, we link to them rather than repeat it here.

Before a Drupal installation

A PHP enabled web server and a database server is required.

Get the Code

Install the files you need to run Drupal

Install dependencies with Composer

After updating the codebase with Git, the required PHP libraries must be installed with Composer

Create a database

Create a database for Drupal to use

Run the installer

Run the installation script

Status check

Check the status of your site

Add Composer to an existing site

How to convert an existing Drupal site to a composer-managed project. Step by step guide to adding composer to manually installed site.

Building a Drupal site with Git

How to use Git to manage the source code for a Drupal site

Drupal Quick Start Command

Launch a local demo version of Drupal.

Trusted Host settings

Protecting against HTTP HOST Header attacks