Skip to content

Instantly share code, notes, and snippets.

View jacksmith117's full-sized avatar

Jack Smith jacksmith117

View GitHub Profile
@jacksmith117
jacksmith117 / vps.md
Last active August 29, 2015 14:17 — forked from vladimir-e/vps.md

Server Commands

apt-get -y update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties

# nginx
add-apt-repository ppa:nginx/stable
apt-get -y update
apt-get -y install nginx
#!/usr/bin/env bash
#
# Compile and install MongoDB with SSL support
# tested an works on Ubuntu 12.04 LTS x64 and Ubuntu 14.04 LTS x64
#
set -e
set -u
set -o pipefail