New Ubuntu Server AMI

Boot up Ubuntu AMI and go to work…


sudo apt-get update
sudo apt-get dist-upgrade

APACHE

sudo apt-get install apache2
sudo a2enmod rewrite
sudo service apache2 restart
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

MONGO
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install mongodb-10gen

GIT
sudo apt-get install git-core

Setup WordPress on Ubuntu Desktop AMI

After fresh install of Ubuntu 13 Desktop…

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install apache2
sudo a2enmod rewrite
sudo apt-get install libapache2-mod-php5
sudo service apache2 restart
cd /var/www
sudo nano index.php

Add <?php phpinfo(); ?> to index.php to test php. [path to your machine]/index.php

sudo apt-get install mysql-server
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin
sudo apt-get install unzip

Visit [path to your machine]/phpmyadmin and create database for WP.

Download latest wordpress zip into /var/www and extract files there.

I’ll use /var/www as wordpress install on this AMI instance. I deleted the index.html and index.php. Fire upĀ [path to your machine]/readme.html and follow WP installation instructions.

Hope this helps…