This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# finding DEB packages that should be held back because they will require a reboot to take effect | |
# get latest state of packages | |
apt-get clean && apt-get update && apt-get -dy upgrade | |
# find those needing reboot | |
cd /var/cache/apt/archives/ && rm -rf DEBIAN | |
for i in *.deb ; do | |
echo == ${i} | |
dpkg-deb -e ${i} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from http://docs.ansible.com/intro_installation.html#running-from-source | |
# as of 2015-02-08 | |
## ansible on Ubuntu 10.04 | |
# become root | |
sudo su - | |
# as root ... | |
apt-get update | |
apt-get -y install python-pip python-dev git-core make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://dvillalobos.github.io/2020/How-to-install-and-run-Docker-on-a-Chromebook/ | |
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get update --allow-releaseinfo-change | |
sudo apt-get -y install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This gist combines specific commits from two different repos: jekyll-and-slide and reveal.js | |
# - https://github.com/adamhollett/jekyll-and-slide | |
# - https://github.com/hakimel/reveal.js | |
# If there was a way to do this from the browser, this gist would be unnecessary. | |
# prerequisite: create a blank repo in GitHub and note repo URL | |
# i.e. no README, no license, completely blank | |
REMOTE_URL='https://github.com/sluugdemogithub/demo03.git' | |
# create the URL for GitHub Pages |
OlderNewer