Manually Installing the Core Files For Drupal 9

manually installing the core files for Drupal - header image

In some cases, you may find there is a need to manually install the core files for a Drupal website.  The steps that we provide in this tutorial will show you how to download the core files and then create a working Drupal website.

Looking for a new home for your Drupal website?  Check out InMotion’s VPS Hosting solutions!

Download the Drupal 9 Core Files

The best place to get the genuine Drupal installation files is from the Drupal.org site itself.  Follow the directions below to get the core files so that you can perform the manual installation.

  1. Go to the https://drupal.org site using your favorite internet browser.

    Drupal home page
  2. Click on Build, then select Download and Extend.
  3. Here you will see the download page for the Drupal files.  You will be able to select if you want to download the plain zip version or the tar.gz version.

    Build extend page
  4. Once you have downloaded the file, make sure to place it in the folder where you will be installing your Drupal site.  If you are an InMotion customer, you can use cPanel File Manager to uncompress the file.  Otherwise, you will need to unpack the files and then use a tool like an FTP client to move the files into the folder on your web server.

    File Manage - Drupal install file


  5. Click on the zip file (or tar.gz file) and then select Expand in the top right corner.  Make sure that the files are expanded in the folder that will be used by the website that you are setting up.  If you are unfamiliar with finding the document root, then please refer to this article for more information:  Find the Document Root of your Website.

  6. Once you have expanded the compressed file you can delete the zip (or tar.gz) file that you originally downloaded.  


Set up the Database

Before you can run the installation you need to create a database. The steps below use the database interface in cPanel to prepare the database used by the installer. 

  1. Log in to cPanel.
  2. Go to the Database section and select MySQL Databases.
  3. Type in a name for your database, then click on Create a New Database.


    Create new database

    Note that the database name will start with a prefix that is typically the account name. Record the database name so that you can use it to assign the user that you create in the next step.

  1. Next, create a database user.  Make sure to note the name and password that you have created.  You will need to assign the database user to the database in the next step.

    Create new user


  2. Once you have the user created, you will need to assign it to the database you create it and assign the database privileges to the user.  Click on the drop-down arrows to select the user you just created and the database that you will assign the user to. Click on the Add button once you have selected both.

    assign user to the database
  3. When you click on Add you will see the database privileges that can be assigned to the user.  Click on All Privileges to add all of the user privileges.

    Assign user privileges for database
  1. Click on Make Changes to save the assigned privileges.

This completes the preparation of the database for your Drupal installation.  Next, you will need to execute the installer from a browser.  

Set Up the Drupal 9 Website

The final step in manually installing the core files for a Drupal website is to run the installer.  When you run the installer, you will have the option to create a Standard, Minimal, or Demo site.  These instructions will walk you through the setup using the Demo site option.

Note that the domain name that you are using for your Drupal site must be properly registered so that it can be recognized on the internet. This tutorial uses a browser to run the installer, so the domain name must be registered using a primary domain or addon domain assigned to an account. The installer can also run through a subdomain/subfolder.

  1. Open an internet browser and type in the URL for the Drupal site you are creating.  This is where the installer files will be located.
  2. When you type in the domain name, the installer should launch.  You will see the following:

    Installer - page 1

    Choose the language you want to use, then click on Save and continue.
  3. Next you will need to set up your installation  profile.


    Select Installation profile

    You will see 3 different options:  Standard, Minimal, and Demo.  This tutorial will use the demo selection. Select an option and then click on Save and continue.
  4. The installer will automatically verify the requirements, then will bring you to the database setup screen.  Here you will need to type in the database name, user, and password that you created earlier.

    Database configuration

  5. Click on Save and continue to proceed.
  6. You will then see some progress screens as the installer operates. 

    Installer - progress bar

    When the installer finishes the next section it will  bring you to the Configure Site screen.

    Installer - configure site

    Type in the requested information, then click on the Save and continue at the bottom of the page.

The installer will then complete the setup and then reload the page.  If you selected the demo for the installation, then you will see the following appear:


Demo site - loaded


That completes the manual installation of the core files for Drupal.  To learn more about using Drupal, check out our Drupal Education channel

Make sure your business, agency, or reseller clients are always connected and powered on with our optimized Managed VPS Hosting.

AC
Arnel Custodio Content Writer I

As a writer for InMotion Hosting, Arnel has always aimed to share helpful information and provide knowledge that will help solve problems and aid in achieving goals. He's also been active with WordPress local community groups and events since 2004.

More Articles by Arnel

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!