Skip to content

Instantly share code, notes, and snippets.

@hoanghiep90
hoanghiep90 / gist:004c3df967a851eb2cd8
Created May 24, 2015 19:18
Install Redis on EC2
1. Install Linux updates, set time zones, followed by GCC and Make
sudo yum -y update
sudo ln -sf /usr/share/zoneinfo/America/Indianapolis \
/etc/localtime
sudo yum -y install gcc make
2. Download, Untar and Make Redis 3.0 (check here http://redis.io/download)
@hoanghiep90
hoanghiep90 / gist:34231660cc86790925c9
Last active August 29, 2015 14:20
Upgrade Postgres 9.3 to 9.4 on Ubuntu
# Be sure to save your config files. Optional but I do:
sudo cp /etc/postgresql/9.3/main/postgresql.conf ~
sudo cp /etc/postgresql/9.3/main/pg_hba.conf ~
# Also probably optional but I like to update sources and upgrade
sudo apt-get update
sudo apt-get upgrade
# Install postgres 9.4
sudo apt-get update