btmash

Quick Drupal Server Basics

Jan 22nd, 2013
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. sudo apt-get update
  4. sudo apt-get upgrade
  5. sudo apt-get dist-upgrade
  6.  
  7. sudo apt-get install build-essential
  8. sudo apt-get install apache2 mysql-server mysql-client php5 php5-cli php5-gd php5-mysql php-pear php-apc postfix git-core unzip
  9.      
  10. pear update-channels
  11. pear upgrade --force Console_Getopt
  12. pear upgrade --force pear
  13. pear upgrade-all
  14. pear channel-discover pear.drush.org
  15. pear install drush/drush
  16.  
  17. sudo a2enmod rewrite expires headers
  18. sudo service apache2 restart
  19. sudo mysql_secure_installation
RAW Paste Data