NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:
$ test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."
The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.
To install a module in Drupal 8, follow these steps:
- Locate and filter the module you want to install. Find a list of available modules at the Drupal module directory.
- Download it to your local computer.
Use the filters to find the module. Once you find it, click the module name to see the details. Select the version and the file format. Here’s an example.
Visit your site and log into your Drupal 8 administration panel. Navigate to the “Manage -> Extend” tab. Click the “Install new module” button.
Browse to the downloaded file and select it. Click the “Install” button to complete the installation.
Once the installation is complete a popup window shows a confirmation message:
Return to the modules list in the “Extend” page and locate your module. Enable it and click the “Install” button.
To install a module in Drupal 7, copy and uncompress it in the Drupal modules folder.
NOTE: Depending on your installation type, the Drupal modules folder will be in one of the following locations:
Approach A (Bitnami installations using system packages): /opt/bitnami/drupal/modules
Approach B (Self-contained Bitnami installations): /opt/bitnami/apps/drupal/htdocs/modules
Then, enable the module in the “Modules” section of the Drupal administration panel.