The figure below calls out
- The netfilter hooks
- The order of table traversal
| root@pve:~# service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart |
| #!/bin/bash | |
| # Set up an lxc container with google chrome so it runs confined but displayed on the | |
| # localhost. | |
| # Adapted from https://blog.simos.info/how-to-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ | |
| # Assume setguid/setid for root is properly setup | |
| # root:1000:1 | |
| # Assume aptcache profile exists, see https://gist.github.com/Roadmaster/754110f3f49fef19ec89ae29f29edd11 | |
| LXC_NAME=chrome-container |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |
| apt-get -y autoremove | |
| apt-get -y update | |
| apt-get -y upgrade | |
| # Some Utils | |
| apt-get install -y curl vim-nox | |
| # PJSIP |
| #!/bin/bash | |
| echo "Container Linux installation script" | |
| echo "This will install:" | |
| echo " - Docker Community Edition" | |
| echo " - Docker Compose" | |
| echo " - Kubernetes: kubeadm, kubelet and kubectl" | |
| echo "" | |
| set -xeo pipefail |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Zabbix SMTP Alert script for gmail. | |
| """ | |
| import sys | |
| import smtplib | |
| from email.MIMEText import MIMEText | |
| from email.Header import Header |