Last updated January 23, 2013. Created by Shane Birley on February 17, 2012.
Log in to edit this page.
This document provides information about how to install and work with Drupal on the Rackspace Cloud Sites product. It covers setup, installation, and caching.
Create Cloud Site
- Log in to Rackspace Cloud Management Panel.
- Click Hosting.
- Select Cloud Sites.
- Select Add A Site.
You may refer to the official Rackspace document for additional information.
Create CloudSite Database
- Select the Features tab.
- Click Add.
- Enter the database name.
- Enter the database user name.
- Enter the database password.
- Select Finish.
The database will be created and may take a few moments for it to appear ready. Make sure you take note of the database user name, password, and hostname for the installation.
Configure .htaccess File
Before uploading your Drupal installation, it is good to prepare your .htaccess file. This will make your installation go smoothly. In your .htaccess file, scroll down to the PHP override section. It will look similar to what you see below.
Recommended settings are:
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag magic_quotes_sybase off
php_flag register_globals off
php_flag session.auto_start off
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_flag mbstring.encoding_translation off
php_value memory_limit 128M
php_value max_execution_time 60
php_value upload_max_filesize 10M
php_value post_max_size 20M
</IfModule>Then run the Drupal installer as usual.
Install Drupal
Log in to your new installation and run. Choose either default or minimal profiles (or any custom profiles you may have installed).
Create Cloud Sites Cron
- Log into your Rackspace account.
- Select the web site you wish to manage.
- Click the Features tab.
- Scroll down and click Add New Task.
- Enter in a custom name for the cron job.
- Choose whether or not to receive an e-mail update after the cron has run.
- Select command language (in this case, http).
- Copy and paste your external cron job (it will include your salt-hash).
- Choose how often you would like your cron to run.
Notes
- You may wish to review the official Rackspace Drupal installation document.
- xCache is already installed and available on Rackspace Cloud Sites. You are unable to make changes to the xCache configuration.
Comments
where is your information about rackspace cloudsite
where is your information about rackspace cloudsite?
-----------
Drupal Services
GZIP not working with default HTACCESS
Another tip that might be of help to others. I noticed GZIP was not actually in use on any of Drupal 7 sites hosted on Rackspace Cloud Sites. After talking with support, we found a line to add to our HTACCESS that got it working.
I added this line to my HTACCESS and now our sites are testing as being GZIPPED :
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript