Sysadmin Notebook
Monday, 3 August 2015
DOCKER_OPTS in /etc/default/docker ignored on Ubuntu
›
For some reason, in debian 8 and ubuntu 15.01 systemd is skipping the execution of /etc/default/docker. How to fix? Copy the original sy...
Monday, 27 July 2015
Enable Layer3 on a Cisco Switch
›
This is what worked for me on a Cisco WS-C2960-24PS-L switch: First you need to change the sdm prefer from dafult to lanbase-routing. The...
Monday, 16 February 2015
Configure CISCO Catalyst 2960 ports to monitoring/mirroring mode
›
This will send all traffic that comes on the 0/1-0/9 ports to the Ga0/1 interface: switch>enable switch#configure terminal Enter conf...
Monday, 9 February 2015
One line web server
›
The following one line script will create a web server running on port 80 using nc (netcat): while true; do { echo -e 'HTTP/1.1 200 O...
1 comment:
Sunday, 7 September 2014
Purge Removed packages
›
Packages marked as rc by dpkg mean that the configuration files are not yet removed. The following command will purge them: dpkg --list |g...
How to permanently delete ALL older kernels
›
This script will remove ALL versions but two, the currently active and the most recent of the remaining installed versions: #/bin/bash ...
1 comment:
Saturday, 30 August 2014
GitLab update script
›
I've recently installed GitLab and they provide easy to install deb and rpm packages but not a repository to help us keep our installati...
›
Home
View web version