Skip to content

Instantly share code, notes, and snippets.

@cpfarher
cpfarher / Create_a_hotspot.md
Created September 14, 2017 20:28 — forked from vfdev-5/Create_a_hotspot.md
Raspberry Pi - Ubuntu 16.04 Mate - Wifi automatic connection and static IP in terminal
sudo nmcli dev wifi hotspot ifname wlan0 con-name "my-hotspot" ssid "my-hotspot" password "My HotsPoT Strong Password"

More info here

@cpfarher
cpfarher / deployment-tool-ansible-puppet-chef-salt.md
Created August 23, 2017 12:17 — forked from jaceklaskowski/deployment-tool-ansible-puppet-chef-salt.md
Choosing a deployment tool - ansible vs puppet vs chef vs salt

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution

@cpfarher
cpfarher / 01-Notas.md
Last active August 29, 2015 14:25 — forked from mariochavez/01-Notas.md
Usando Docker con Rails

Usando Docker con Rails para hacer deploy a Producción

Instalar Docker

Hay que seguir las notas en https://docs.docker.com/installation/ para el sistema operativo que esten ejecutando.

Utilizando un contenedor para Postgresql

Vamos a utilizar un container ya listo para trabajar con Postgresql. El siguiente comando se encarga de descargar el container y de ejecutarlo. Si es necesario cambiar el valor de las variables POSTGRES_PASSWORD y POSTGRES_USER a unos más adecuados

$ docker run --name db -e POSTGRES_PASSWORD=manager -e POSTGRES_USER=rails -d postgres