Skip to content

Instantly share code, notes, and snippets.

View rwcitek's full-sized avatar

Robert Citek rwcitek

View GitHub Profile
@rwcitek
rwcitek / rpm.services.list.sh
Last active August 29, 2015 14:11
Generates a list of RPM packages for listening services that may require a restart with an upgrade.
#!/bin/bash
# Generates a list of RPM packages for listening services that may result in services being restarted during a upgrade.
# These probably should not be upgraded automatically in a production environment.
netstat -plntu |
grep -o '[0-9]*/' |
tr -d / |
sort -u |
xargs -r -i stat -c "%N" /proc/{}/exe |
@rwcitek
rwcitek / gitflow.commands.in.video.txt
Last active August 29, 2015 14:11
The commands used to explain git flow in this video: http://vimeo.com/16018419
# the commands used to explain git flow in this video:
# http://vimeo.com/16018419
# pre-reqs:
# apt-get install git git-flow tig tmux
# run tmux in split screen (optional, but is what is done in video)
# in lower screen ... refreshing occasionally
tig
@rwcitek
rwcitek / debootstrap-ubuntu-trusty-auto.txt
Created November 29, 2014 18:37
Mostly automated install of Ubuntu Precise (12.04) and upgrade to Trusty (14.04) in a VirtualBox VM using Knoppix 7.2 and debootstrap
# based in part on information from here:
# http://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/
# https://wiki.ubuntu.com/FoundationsTeam/Specs/KarmicLandscapeReleaseUpgrades
#### Part 1 - Knoppix
# boot Knoppix 7.2
knoppix64 2 noaudio
# configure networking
@rwcitek
rwcitek / debootstrap-debian-squeeze-auto.txt
Last active April 24, 2021 04:22
Mostly automated install of Debian Squeeze in a VirtualBox VM using Knoppix 7.2 and debootstrap
# based in part on information from here:
# http://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/
#### Part 1 - Knoppix
# boot Knoppix 7.2
knoppix64 2 vga=788 noaudio
# configure networking
@rwcitek
rwcitek / debootstrap-ubuntu-precise-auto.txt
Last active August 29, 2015 14:10
Mostly automated install of Ubuntu Precise (12.04) in a VirtualBox VM using Knoppix 7.2 and debootstrap
# based in part on information from here:
# http://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/
#### Part 1 - Knoppix
# boot Knoppix 7.2
knoppix64 2 vga=788 noaudio
# configure networking
@rwcitek
rwcitek / debootstrap-ubuntu-precise.txt
Last active August 29, 2015 14:10
Installing Ubuntu Precise (12.04) in a VirtualBox VM using Knoppix 7.2 and debootstrap
# based in part on information from here:
# http://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/
#### Part 1 - VM and Knoppix
# create a VM with an 8GB /dev/sda, a bridged eth0, and KNOPPIX_V7.2.0DVD-2013-06-16-EN.iso attached
# boot Knoppix 7.2 with options
knoppix64 2 vga=788 noaudio