Drupal on Ubuntu

  1. tasksel
  2. Select lamp server
  3. Wait for this complete
  4. apt-get install php5-dev libgmp-dev php5-gmp zip unzip php5-curl php-mime-type
  5. Wait for this to complete.
  6. wget http://ftp.drupal.org/files/projects/drupal-7.28.tar.gz
  7. tar -zxvf drupal-7.28.tar.gz
  8. pecl install uploadprogress
  9. Wait for this to complete.
  10. cd /etc/php5/mods-available/
  11. cp gd.ini upload.ini
  12. vi upload.ini
  13. Change the file contents to look like this:
  14. ; configuration for php PECL upload
    ; priority=20
    extension=uploadprogress.so
  15. cd /etc/php5/apache2/conf.d
  16. ln -s /etc/php5/mods-available/upload.ini 20-upload.ini
  17. Add the AllowOverride All directive to apache2.conf
  18. Add this to your site.conf in sites-available
  19. <Directory “/path/to/drupal/here”>
    Options +FollowSymlinks -Multiviews -Indexes
    AllowOverride All
    Require all granted
    </Directory>
  20. Make sure that the .htaccess and .gitignore from the bundle get copied into the directory.
  21. a2enmod rewrite ssl
  22. service apache2 restart
  23. cd to your home directory
  24. cd /usr/share/drupal7/sites/all/
  25. mkdir libraries
  26. cd libraries
  27. mkdir jquery.cycle
  28. cd jquery.cycle
  29. wget http://malsup.github.com/jquery.cycle.all.js
  30. cd to your home directory
  31. ln -s /usr/share/drupal7/sites/all/libraries
  32. NOTE: As of this writing TinyMCE doesn’t work with the plug in. None of the file names or paths are correct in the plugin.
  33. wget https://jwysiwyg.googlecode.com/files/jwysiwyg-0.6.zip
  34. wget http://epiceditor.com/docs/downloads/EpicEditor-v0.2.2.zip
  35. unzip these files
  36. mv jwusiwyg libraries
  37. mv EpicEditor epiceditor
  38. mv epiceditor libraries
  39. wget http://dl.dropbox.com/u/22795799/superfish-library-for-drupal-v1.1.zip
  40. unzip it
  41. mv superfish libraries
  42.  wget http://simplepie.org/downloads/simplepie_1.3.1.compiled.php
  43. mv simplepie_1.3.1.compiled.php simplepie.compiled.php
  44. mv simplepie.compiled.php /usr/share/drupal7/sites/all/modules/feeds/libraries
  45. mkdir libraries/easing
  46. wget https://github.com/gdsmith/jquery.easing/blob/master/jquery.easing.1.3.min.js
  47. mv jquery.easing.1.3.min.js libraries/easing
  48. mkdir libraries/spyc
  49. wget https://spyc.googlecode.com/files/spyc-0.5.zip
  50. unzip spyc-0.5.zip
  51. cd into the unzipped folder
  52. cp spyc.php libraries/spyc
Advertisements