Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Drupal Multi-site for Fun and Profit

5,485 views

Published on

Published in: Technology
  • what a stupid presentation!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Drupal Multi-site for Fun and Profit

  1. 1. Drupal Multi-site for Fun and Profit emma jane hogbin HICK Tech
  2. 2. About this talk By using Drupal's multi-site install you can use a single code base to power all of your customers' Web sites. Installing a single code base will also make tech support and security updates a whole lot easier. In this session you will learn: <ul><ul><li>how to install Drupal,
  3. 3. where to put modules and themes so they show up in the right places,
  4. 4. how ensure your customers have the right amount of control over their own domain. </li></ul></ul>Emma will use real world examples from her own business network to reveal how Drupal can convert even the smallest clients to pots of gold.
  5. 5. The Game Plan <ul><li>Why I use multi-site
  6. 6. Which clients are best suited for multi-site
  7. 7. How you can set-up multi-site too </li></ul>
  8. 8. Drupal drupal.org/user/1773 Photo: morten.dk Legs: walkah
  9. 10. Front End Drupal by Konstantin Kaefer & Emma Jane Hogbin
  10. 11. I am IAM
  11. 17. FAIL
  12. 18. jack o’ lantern: 2040 feet
  13. 19. photo credit: calliope
  14. 20. The 100 Mile Client Roster photo credit: melissamaples
  15. 21. Why this works: Reduce, Reuse, Recycle <ul><li>Reduce : Security updates done once
  16. 22. Reuse : Downloaded themes
  17. 23. Documentation
  18. 24. Answer questions once (Drupal night)
  19. 25. Invoice less frequently for larger amounts </li></ul>
  20. 26. Assumptions 1. Small budgets 2. Content managers are motivated 3. Unique content per domain name 4. Sites have common functionality 5. Low traffic Web sites 1. Small budgets 2. Content managers are motivated 3. Unique content per domain name 4. Sites have common functionality 5. Low traffic Web sites
  21. 27. www.memorygardenretreats.com
  22. 28. www.dickhibma.com
  23. 29. www.gingerpress.com
  24. 30. www.trilliumhealingarts.ca
  25. 31. www.endabusenow.ca
  26. 32. www.the100milemarket.com
  27. 33. www.marketside.ca
  28. 34. www.riversideyarns.com
  29. 35. www.aka-group.net
  30. 36. www.aroundthesoundfood.com
  31. 37. Technical Information www.drupal.org/node/43816
  32. 38. Photo credit: alpha262
  33. 39. Photo credit: jervetson
  34. 40. Photo credit: jervetson
  35. 41. All sites have: <ul><li>Shared code base
  36. 42. Shared IP address
  37. 43. Shared modules directory
  38. 44. Unique content in separate databases
  39. 45. Unique directory for uploaded files
  40. 46. Unique themes </li></ul>
  41. 47. Create a common code base <ul><li>Download and unpack Drupal in a Web-accessible directory.
  42. 48. Download and unpack common modules into: </li><ul><li>/sites/all/modules </li></ul></ul>
  43. 49. Common Drupal Modules <ul><li>CCK + imagefield
  44. 50. Image + img_assist
  45. 51. Views
  46. 52. Upload
  47. 53. TinyMCE
  48. 54. Event
  49. 55. Google Analytics </li></ul><ul><li>Contact
  50. 56. Book (pagination and navigation)
  51. 57. (Delete Content Type: Page or Story) </li></ul>
  52. 58. For each new domain name: <ul><li>Add domain information to host configuration files as appropriate
  53. 59. (or use your Web admin panel)
  54. 60. Add configuration information to Apache's config file using the main Drupal directory for all domains. </li></ul>
  55. 61. For each new Web site: <ul><li>Create a new database.
  56. 62. Create a new directory in /sites that matches your domain name exactly.
  57. 63. Copy the default settings.php file into: </li><ul><li>/sites/example.com </li></ul><li>Unpack site-specific themes into: </li><ul><li>/sites/example.com/themes </li></ul><li>Install Drupal using the new domain name. </li></ul>
  58. 64. Installing Drupal <ul><li>http://localhost
  59. 65. Pre-configured: </li><ul><li>Drupal 6 downloaded
  60. 66. Apache configured
  61. 67. MySQL database created: fosdem </li></ul></ul>
  62. 68. Apache Conf. /etc/apache2/sites-enabled/000-default <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/emmajane/websites/drupal/drupal6/current-cvs <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /home/emmajane/websites/drupal/drupal6/current-cvs> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log </VirtualHost>
  63. 69. Gotchas... <ul><li>Set directory for new files in the admin area: </li><ul><li>admin/settings/file-system </li></ul><li>For domain aliases use a symbolic link in the directory /sites .
  64. 70. After updating core files, run update.php for each domain name in the /sites folder.
  65. 71. Offer free group training for all clients at a time that suits your schedule. </li></ul>
  66. 72. Thank you! <ul><li>[email_address]
  67. 73. IRC: emmajane
  68. 74. HOWTO Multi-site www.drupal.org/node/43816
  69. 75. Open for Business szeged2008.drupalcon.org/program/sessions/open-small-business </li></ul>

×