Drupal 7 Multi Sites Configuration
eBook - ePub

Drupal 7 Multi Sites Configuration

Matt Butcher

Share book
  1. 100 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Drupal 7 Multi Sites Configuration

Matt Butcher

Book details
Book preview
Table of contents
Citations

About This Book

Follow the creation of a multi-site instance with Drupal. The practical examples and accompanying screenshots will help you to get multiple Drupal sites set up in no time. This book is for Drupal site builders. It is assumed that readers are familiar with Drupal already, with a basic grasp of its concepts and components. System administration concepts, such as configuring Apache, MySQL, and Vagrant are covered but no previous knowledge of these tools is required.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Drupal 7 Multi Sites Configuration an online PDF/ePUB?
Yes, you can access Drupal 7 Multi Sites Configuration by Matt Butcher in PDF and/or ePUB format, as well as other popular books in Informatica & Amministrazione di sistemi. We have over one million books available in our catalogue for you to explore.

Information

Year
2012
ISBN
9781849518017

Drupal 7 Multi-sites Configuration


Table of Contents

Drupal 7 Multi-sites Configuration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Multi-site Drupal
Drupal is a multi-site Content Management System
From one site to many
Why multi-site?
Running different software on the same site
Making the most of shared hosting
Easing server administration
Staging or testing before deploying to a live site
Sharing a single code base
Running secure and standard (unsecured) tools on the same server
Efficient development
Drupal and multi-site
A quick guide to choosing the right multi-site configuration
Setting up a server
Installing a Drupal Virtual Machine with Vagrant
Installing our tailored Vagrant project
Basic configuration for this book
Connecting to the new Virtual Machine
Configuring a server (without VirtualBox and Vagrant)
Domain names and IP addresses
Using a hosts file
Web servers
Apache
Configuring Apache for a Drupal Multi-site
A note on using virtual hosting for each domain
Configuring MySQL
Summary
2. Installing Drupal for Multi-site
Manual setup
Downloading Drupal
Installing the first host
Telling Drupal about our sites
Creating a site folder
Domain name directories
Domains with subdirectories
The sites.php special configuration file
Settings
The files/ folder
The web installer
Creating the other sites
Getting installation help
Summary
3. Settings, Modules, and Themes
Configuring sites
Creating a shared configuration file
A word of warning about sharing settings
Configuring modules
Sharing modules
Unshared modules
A note on using different versions of the same module
Modules and sharing (in summary)
Themes
Subthemes and sharing
Summary
4. Updating Multi-site Drupal
Updating Drupal
Making backups
Filesystem backups
Database backups
Putting Drupal in maintenance mode
Downloading and installing Drupal
Fetching a new version
Overwriting the existing files
Checking the default.settings.php file
Running update.php
Taking the sites out of maintenance mode
Updating themes and modules
A minor complication
Summary
5. Advanced Multi-sites
Favicons and robots
Shared authentication
OpenID and other authentication services
LDAP and Directory services
Using the Services module
Using Bakery for SSO
Sharing a user database
Shared content
Sharing content with Services and Deploy
Domain Access as a multi-site alternative
The Virtual Site module
Shared structure
Searching across sites
Summary
Index

Drupal 7 Multi-sites Configuration

Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: March 2012
Production Reference: 1190312
Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.
ISBN 978-1-84951-800-0
www.packtpub.com
Cover Image by Vinayak Chittar ( )

Credits

Author
Matt Butcher
Reviewers
Surendra Mohan
Veturi JV Subramanyeswari
Acquisition Editor
Sarah Cullington
Lead Technical Editor
Hithesh Uchil
Technical Editors
Vanjeet D'souza
Vrinda Amberkar
Project Coordinator
Yashodhan Dere
Proofreader
Mario Cecere
Indexer
Tejal Daruwale
Production Coordinator
Nilesh R. Mohite
Cover Work
Nilesh R. Mohite

About the Author

Matt Butcher is an Expert Developer at HP Cloud, where he deals with PHP and Drupal development. He is a member of the Emerging Technologies Lab at Loyola University, Chicago, where he is currently finishing a Ph.D. in philosophy.
He has written six other books for Packt Publishing, including Drupal 7 Module Development (co-authored with five others), Drupal 6 JavaScript and jQuery, Learning Drupal 6 Module Development, and Mastering OpenLDAP. He has also contributed articles to various websites and scholarly journals. He actively contributes to several Open Source projects.

About the Reviewers

Surendra Mohan is a Service Delivery Manager at a well known software consulting European MNC in India.
He completed his BE in 2004 from VTU, Belgaum, in the branch of ISE. He started his career as a Software Engineer with .NET technology. Later he moved into the area of HR/Recruitment/IT Consulting/Software Development/Web Development via Global Solutions while exploring open source web technologies such as Drupal, Ubercart, and so on, handling various roles as a Programmer, Technical Lead, Project Lead, Technical Architect, and other such roles, finally landing as Service Delivery Manager on Drupal.
Sree (a.k.a. Veturi JV Subramanyeswari) is currently working as Drupal Architect at a well known software consulting MNC in India. Prior to joining this company, she served few Indian MNCs, many start ups, R&D sectors in various roles such as Programmer, Tech Lead, Research Assistant, and so on.
She has around eight years of working experience in web technologies covering media and entertainment, publishing, healthcare, enterprise architecture, manufacturing, public sector, defense communication, gaming, and other such areas.
She has r...

Table of contents