Skip to content

Instantly share code, notes, and snippets.

View seriald's full-sized avatar

Robert Fleming seriald

View GitHub Profile
@seriald
seriald / debian_upgrade.yml
Created May 28, 2016 04:38 — forked from maethor/debian_upgrade.yml
Ansible playbook to update and upgrade Debian hosts
---
- hosts: all
sudo: yes
tasks:
- name: Update packages list
apt: update_cache=yes
when: ansible_os_family == 'Debian'
- name: List packages to upgrade (1/2)
FROM debian:wheezy
MAINTAINER [email protected]
echo "deb http://www.ubnt.com/downloads/unifi/debian unifi4 ubiquiti" /etc/apt/sources.list
echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo apt-get -q update
@seriald
seriald / ELK-on-ubuntu.md
Last active March 19, 2016 11:30
Configure Elasticsearch Logstash Kibana

Confirm and update Hostname

sudo nano /etc/hosts
sudo nano /etc/hostname

Install Java 8

sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update && apt-get -y install oracle-java8-installer
@seriald
seriald / ttrss-on-ubuntu.md
Created March 12, 2016 03:26 — forked from yeokm1/ttrss-on-ubuntu.md
How to install Tiny Tiny RSS on Ubuntu

Adapted from here

  1. Install all packages
sudo apt-get update
sudo apt-get install php5 php5-pgsql php5-fpm php-apc php5-curl php5-cli postgresql nginx git
  1. Configure PostgresSQL