3.4. Preparing to Install

Last updated on
14 April 2025

Goal

Download the core software, and handle any required prerequisites.

Prerequisite knowledge

Site prerequisites

Server software must be installed on the computer where you plan to host your site. See Sección 3.1, “Concept: Server Requirements”.

Depending on how you plan to download the core software, you may need to install additional software tools first. See Sección 3.3, “Concept: Methods for Downloading and Installing the Core Software” and Sección 3.2, “Concept: Additional Tools”.

Steps

  1. Choose methods for downloading and installing the core software, from those listed in Sección 3.3, “Concept: Methods for Downloading and Installing the Core Software”. The rest of these instructions apply to the Composer and manual download options and the interactive installer; if you chose other options, the software should be installed for you.
  2. Set up a URL and hosting for your site on the server. Verify that the hosting is working by putting a simple HTML file in the web root directory of the hosting, and visiting the URL for your site.
  3. Create a database, along with a database user account with full access.
  4. Download the core software files to the web root directory, using the method you decided on. See Sección 3.3, “Concept: Methods for Downloading and Installing the Core Software” for links to instructions.

Expand your understanding

See Sección 3.7, “Running the Interactive Installer” to run the interactive installer.

Alternatively, you can use the following Drush command, from inside the directory that you downloaded the software to, where DB_NAME, DB_USER and DB_PASS are your database’s credentials:

drush site-install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site-name=example

Additional resources

Drush

Attributions

Written and edited by Drew Gorton, Michael Lenahan at erdfisch, Jennifer Hodgdon, and Jojy Alphonso at Red Crackle.

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: install-prepare.asciidoc

Help improve this page

Page status: No known problems

You can: