What is an installation profile?
From Installation profiles:
Installation profiles provide site features and functions for a specific type of site as a single download containing Drupal core, contributed modules, themes, and pre-defined configuration. They make it possible to quickly set up a complex, use-specific site in fewer steps than if installing and configuring elements individually. For example, an installation profile for conferences might include modules for advanced user registration, attendee profiles, ticketing, and a list of speakers and sessions. Once installed, installation profiles can be configured and customized the same as traditionally-built Drupal sites. Refer to the installation profile documentation for more information.
Please note that an installation profile can only be used when you're installing a new Drupal instance. This means that you can not run an installation profile on an existing Drupal to add extra functionality. You can also only select one installation profile per site. For example, it is not possible to install a wiki installation profile along with a French language profile.
The installation of an installation profile is not required, but optional.
Documentation for Distributions and Installation Profiles contain documentation for some of the more popular distributions/installation profiles. Additional distribution documentation lists documentation that is kept on third-party sites. You should always check first to see if your distribution or installation profile has documentation, as they sometimes also contain installation instructions.
If there isn't an installation profile that fits your needs, consider creating one and contributing it to the Drupal community.
Installing the profile
- Follow the usual preparation steps to prepare the Drupal installation:
- Download the installation profile and unpack it. (You must download the release archive. If you checkout the profile from version control, you will have the profile, but not the dependencies.)
- Copy the entire directory that you just unpacked into the
profilesdirectory located inside the Drupal root directory. For example, if you have a Drupal installation at
/home/www/htdocsand you downloaded and unpacked an installation profile called "fooprofile", you would want to copy the entire "fooprofile" directory into
/home/www/htdocs/profiles/fooprofile. Note that placing the installation profile inside the
sites/all/profilesdirectory also works for historic and compatibility reasons.
- Read the documentation on the installation pack you downloaded. This can either be found on the profile's project page (example: Innovation News Installation Profile) or in the README.TXT that came with the download (example: Drupal Hebrew Installation Profile). It should contain installation instructions such as listing the required extra modules and/or themes that you will have to download.
- Modules and themes required by the installation profile / distribution may be placed in any of the following directories, including the usual
sites/all/themes. Alternatively, modules and themes may be placed within the profile folder itself at
sites/all/profiles/[profilename]/themesrespectively, which will restrict the modules/themes for use only on sites that are installed with the given profile. This is also a desired configuration for packaging and releasing distributions.
- Go to your site's install.php to start the installation process.
- When you are presented with the option to select a profile, select your desired profile.