Site Building

3.7. Running the Interactive Installer for Drupal 8, 9, and 10

Goal

Install the core software and create the admin account by running the included installer.

Steps

Sprout Video
  1. If you are using a 1-click install from a hosting provider or demo site, you will most likely see some or all of the following screens as part of the installation process. If you uploaded the core files manually or using Composer, to start the installer, open a browser and visit the URL that you set up for your hosting.
  2. Select a language on the first page of the installer; for example, English. You could optionally choose from any of the other listed languages. The language files for the chosen language will be downloaded and installed so that the rest of the installation process can be finished in the chosen language. After choosing a language, click Save and continue.

    Image
    Choose a language

  3. Select an installation profile. Installation profiles provide site features and functions for a specific type of site as a single download containing the core software, contributed modules, themes, and pre-defined configuration. Core contains two installation profiles. Select the core Standard installation profile. Click Save and continue.

    Image
    Choose an installation profile

  4. The next step in the installer will verify that your system meets the minimum requirements. If it does not, you’ll be presented with an outline of what needs to be corrected in order to proceed. If it does, the installer will automatically advance to the next step.
  5. Provide details of the database you created in the Section 3.4, “Preparing to Install” chapter. Then click Save and continue.

    Field name Explanation Value

    Database name

    The custom name given to the database

    drupal

    Database username

    Username created

    databaseUsername

    Database password

    Password chosen

    Image
    Database configuration form

  6. The next step will display a progress bar under the heading Installing Drupal. After the installer has completed, it will automatically advance to the next step.

    Image
    Installation progress bar

  7. The next step is to configure some basic information about your new site (also notice if there is a warning about file permissions, for a later step). Note that the user account you create in this step is the site’s admin account. See Section 7.2, “Concept: The User 1 Account” for important information about this unique account. You can safely name this account "admin", and make sure to choose a secure and unique password.

    Fill in the form with the following information:

    Field name Explanation Value

    Site name

    The name chosen for the site

    Anytown Farmers Market

    Site email address

    The email associated with the site

    [email protected]

    Username

    The designated user’s credentials

    admin

    Password

    The password chosen

    Confirm password

    Repeat the password

    Email address

    The user’s email

    [email protected]

    The remaining fields can likely be left at their default values.

    Image
    Configuration form

  8. Click Save and continue.
  9. You will be redirected to the front page of your new site and you should see the message Congratulations, you installed Drupal! displayed at the top of the page.

    Image
    Installation success

  10. You may have seen a warning in the Configuration step about file permissions, and you may continue to see this warning until you fix the permissions. To avoid the warning and make your site more secure, change the permissions on the sites/default directory and the sites/default/settings.php file so that they are read-only (you may need to consult your hosting company documentation about how to do that).

Expand your understanding

Check the Status Report to see if there are any problems with the installation. See Section 12.5, “Concept: Status Report”.