OpenApp Drupal

From Openpanel Documentation Wiki
Jump to: navigation, search


NOTE: this module has some issues. For now, you'll need to add at least one vhost (you can name it identically to the site) to make a site work.

Contents

What does OpenApp Drupal include?

OpenApp Drupal consists of the following software:

Installing OpenApp Drupal

apt-get install openapp-drupal
openpanel-cli "update user password=<your password>"

Multiple sites

OpenApp Drupal runs on a multisite configuration. This means that you can configure multiple accounts, which all share the same codebase and the same virtual host. If you want seperate vhosts for sites, you can create an Apache vhost with the same configuration as the one OpenApp Drupal creates, but using specific ServerNames and other settings.

Updating OpenApp Drupal

Drupal will not be updated by OpenApp, since Drupal can upgrade itself. OpenApp will run apt-get update and apt-get dist-upgrade every night if you enable it in the 'Upgrades'-tab. That will upgrade all the software on the machine and may install new packages when needed.

Backing up OpenApp Drupal

When you configure backups via OpenPanel, OpenApp-backup will run daily/weekly/montly and leave a executable file in /var/backups/. To restore from this file, please read about OpenApp_Backup. In addition to other OpenApp installs, OpenApp-drupal can use xtrabackup. This is useful when you have large (InnoDB) databases that you want to backup. Because xtrabackup doesn't dump the databases like mysqldump does, you do not suffer from locking of large table. To use xtrabackup, you must install it manually. Please see the instructions on the instructions on the Percona website. After you configured the sources of Percona's xtrabackup, type:

apt-get install openapp-xtrabackup

When apt-get is done, the xtrabackupmodule for OpenApp Backup will be enabled.

Building an image

To build an image for OpenApp Drupal (so that you have pre-configured everything for your user) take the following steps:

/var/openpanel/tools/openapp-smtp-configure-postfix "<hostname of the machine>" "<true|false smarthost>" "<smarthost, if former value is true>" "<admin emailaddress>"
openpanel-cli "update user password=<password>"
/var/openpanel/tools/openapp-drupal-site-install "<hostname of the machine>" "<Name of the site (title)>" "<password for the adminuser>" "<admin emailaddress>"
Personal tools
Namespaces
Variants
Actions
Documentation
Tools
Toolbox