Skip to content

Instantly share code, notes, and snippets.

View samtkach's full-sized avatar

Sam Tkach samtkach

View GitHub Profile
#!/bin/sh
# install docker
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
#!/bin/bash
mkdir mysql && cd mysql
wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb
sudo apt-get update
sudo apt-get install -y libssl-dev libmysqlclient-dev mysql-server
@samtkach
samtkach / ubuntu-dev-setup.sh
Created September 2, 2017 23:34
Install docker and set up my portable dev environment on Ubuntu 16.04
#!/bin/bash
# install docker
echo "--------> installing docker..."
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common git vim build-essential python python-pip pyt
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"