⚡️ Get your Ubuntu server (VM or VPS) ready to host.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
extras
.gitignore
CREDITS.txt
README.md
Vagrantfile
config.yaml
env-setup.sh
init.sh
install-apache.sh
install-composer.sh
install-mysql.sh
install-nvm.sh
install-package.sh
install-php.sh
provision-functions.sh

README.md

Ubuntu Server Setup w/ Shell Provisioning

This repository includes provisioning scripts to set up a fresh web development environment running Ubuntu 14.04.

A Vagrantfile is included for provisioning a local virtual machine (VM) with Vagrant and Virtualbox

An init.sh file is included to set up a brand new virtual private server (VPS).

Note: It's possible to use Vagrant to spin up a virtual machine through providers like Digital Ocean and Amazon Web Services (AWS). However, support for provisioning to the myriad of VPS providers is beyond the scope of this repo. To achieve that, you'll need to install the appropriate Vagrant plugin for your provider and do a little legwork. Sorry.


Motivation

The need for a local VM for development and a remote VPS for production with the same configuration starting point; no dependency on provisioning or automation utilities like Chef or Puppet.

Prerequisites for a Vagrant VM (OSX only)

Principles

  • All Vagrant-specific provisioning should happen in the Vagrantfile.
  • Advanced bash scripting knowledge shouldn't be assumed for this repo to be usable and understandable.
  • Extra provisioning steps should be easy to add to your fork, and unwanted steps should be easy to remove.
  • Inline documentation should be provided wherever possible to convey what's going on.

What's Included

After You're Up and Running

Some steps you might need to take after provisioning:


Contributing

Can you think of anything else that should be included? Anything that most people need to do on a production server after provisioning a new VPS? Does something seem confusing or unnecessary? Please let me know in the issue tracker.

Credits

This repo borrowed heavily from some existing configurations and shell scripts developed by others: see CREDITS.txt for acknowledgements.

Licenses

MIT License © Jon Scott Clark

MIT License © Vitor Britto

MIT License © Stan Angeloff