Skip to content

Instantly share code, notes, and snippets.

@chrisjlee
Last active December 13, 2015 21:38
Show Gist options
  • Save chrisjlee/4978737 to your computer and use it in GitHub Desktop.
Save chrisjlee/4978737 to your computer and use it in GitHub Desktop.
Setup a Ubuntu 12.04 Solr Drupal server ready for production
#/bin/bash
sudo apt-get update; sudo apt-get upgrade -y;
sudo apt-get install zsh git-core vim wget curl rsync make unzip git-doc -y;
sudo tasksel install lamp-server;
sudo a2enmod rewrite;
sudo service apache2 restart;
mysql -uroot -e 'create database prod'
sudo apt-get install php5-gd php-pear libpcre3-dev libcurl3-dev -y;
# Install pecl uploader
sudo pecl install pecl_http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment