Skip to content

Instantly share code, notes, and snippets.

@MCardus
Created July 3, 2017 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MCardus/e9b4cc28e8d6fb66e350c528fa0218aa to your computer and use it in GitHub Desktop.
Save MCardus/e9b4cc28e8d6fb66e350c528fa0218aa to your computer and use it in GitHub Desktop.
Ubuntu base provisioning. It installs base packets, python pip, ansible and git
# Ubuntu base provisioning
# It installs base packets, python pip, ansible and git
# Upgrade system
sudo apt-get update && sudo apt-get -y upgrade
# Install essential packages
sudo apt-get install -y build-essential python git libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev
# Install python pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
rm -fr get-pip.py
# Ansible installation
sudo pip install ansible
# Git installation
sudo apt-get install git
# Export locale
export LC_ALL=C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment