- Slides
- Video
Stuart McMurray:
| #!/bin/bash | |
| LOCKFILE='/tmp/sa.lock' | |
| # Check is Lock File exists, if not create it and set trap on exit | |
| if { set -C; 2>/dev/null >${LOCKFILE}; } | |
| then | |
| trap "rm -f $LOCKFILE" EXIT | |
| elif [[ $1 == "-f" ]] | |
| then |
Stuart McMurray:
1 . https://ou.apps.IP.nip.io/
2 . Login with the username / password - k8s-lab/$tart123
3 . Logout
4a. Add this key to ~/.ssh/id_rsa if you are in a UNIX-like environment:
-----BEGIN OPENSSH PRIVATE KEY-----
| #!/bin/ksh | |
| # Script to create OpenVPN client configuration for OpenBSD 6.5 based on | |
| # http://www.openbsdsupport.org/openvpn-on-openbsd.html | |
| # | |
| pkiDir="/etc/openvpn/easy-rsa-pki/" | |
| read -p "Please type in Username for the new config: " USER | |
| [ -z ${USER} ] && { echo "Username cannot be empty"; exit 1; } |
| # this is an rsync-excludes format list of files to exclude. |
| # | |
| # QOS GAMING EDGEROUTER | |
| ## 1. Prerequisites | |
| ### 1.1 define port-groups | |
| (eg. gaming browsing downloading(usenet,torrent)) | |
| ### 1.2. define an accept rule for each port-group src dest | |
| rule | portgroup | |
| -----| ----------- | |
| 1 | super ssh dns | |
| 2 | gaming |