- On the Proxmox host, edit /etc/modules-load.d/modules.conf to add these modules:
aufs
overlay
- Reboot or load the modules using modprobe:
modprobe aufs
modprobe overlay| #!/bin/bash | |
| #option1 | |
| wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf | |
| sudo mv PowerlineSymbols.otf /usr/share/fonts/ | |
| sudo fc-cache -vf | |
| sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/ | |
| gsettings set org.gnome.desktop.interface monospace-font-name 'Ubuntu Mono for Powerline 13' | |
| #option2 | |
| mkdir -p ~/.fonts |
| #!/usr/bin/env python | |
| # Source: http://stackoverflow.com/questions/6724490/pull-all-gists-from-github | |
| # Clone or update all a user's gists | |
| # curl -ks https://gist.githubusercontent.com/phdelodder/97aed8a37e7191230cd6/raw/f7843b9243f0b3d409cc25c2f11c9fdca39bb040/gist-backup.py | USER=phdelodder python | |
| # USER=phdelodder python gist-backup.py | |
| import json | |
| import urllib | |
| from subprocess import call | |
| from urllib import urlopen |
| #source http://theclonker.de/?p=89 | |
| sudo sh -c 'echo "\nPackage: *\nPin: release a=trusty*\nPin-Priority: 1001\n\nPackage: *\nPin: origin download.01.org\nPin-Priority: -100\n" > /etc/apt/preferences.d/intel-removal' | |
| sudo apt-get dist-upgrade | |
| sudo rm /etc/apt/preferences.d/intel-removal | |
| sudo rm /etc/apt/sources.list.d/intellinuxgraphics.list* | |
| sudo apt-get update | |
| echo "\n\n\n\n\n\n Remember to remove the i915-3.6-3.5-dkms and intel-linux-graphics-installer packages with \n\n sudo apt-get purge i915-3.6-3.5-dkms intel-linux-graphics-installer " |
| #using RAW Devices In VirtualBox VMs: http://www.howtoforge.com/using-raw-devices-in-virtualbox-vms | |
| VBoxManage internalcommands createrawvmdk -filename vm10.vmdk -rawdisk /dev/vg0/vm10 | |
| chown vbox:vbox vm10.vmdk |
| #!/bin/bash | |
| #install required packages: | |
| sudo apt install git-core lintian build-essential automake autoconf libtool | |
| sudo apt install debhelper python3-stdeb sphinx-common asciidoc-base bison flex libdw-dev libelf-dev libiberty-dev libnuma-dev libslang2-dev libssl-dev lz4 xmlto zlib1g-dev | |
| #get the source | |
| cd ~/src | |
| sudo rm -rf pve-kernel | |
| git clone git://git.proxmox.com/git/pve-kernel.git --depth 1 |
aufs
overlay
modprobe aufs
modprobe overlaydocker stop deconz
docker run -it --rm --entrypoint /bin/bash --privileged --cap-add=ALL -v /dev:/dev -v /lib/modules:/lib/modules -v /sys:/sys marthoc/deconz
#in case libc6 isn't installed
echo "deb http://ftp.de.debian.org/debian sid main" >> /etc/apt/sources.list
apt-get update && apt-get upgrade libc6Now follow the part for ubuntu: https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually
| #!/bin/bash | |
| timeout=5 | |
| username="admin" | |
| password="" | |
| motion_camera_id=1 | |
| filename="2020-11-03/23-54-29.mp4" |
| mkdir -p ~/backup | |
| docker run --rm -v freshrss_db:/data -v ~/backup:/backup ubuntu bash -c “cd /data && tar cvf /backup/freshrss_db.tar .” |
| #!/bin/sh | |
| #source: https://pn.id.lv/blog/2019/08/gitea-mirroring | |
| KEY="put your key here" | |
| REMOTE="put your remote URL here" | |
| ########## | |
| keyname=$(mktemp) |