Moved to https://krvtz.net/posts/upgrading-and-backing-up-your-luks-header.html
This file contains 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
postgres@tyler:~$ psql | |
psql (10.5 (Ubuntu 10.5-1.pgdg16.04+1)) | |
Type "help" for help. | |
postgres=# show password_encryption; | |
password_encryption | |
--------------------- | |
md5 | |
(1 row) |
This file contains 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
# Docker networking is messy and undocumented. Docker will create IP addresses and iptables at random times. | |
# This can be limited by using totally static IP addresses for network interfaces and avoiding the default network bridge. | |
# /etc/default/docker | |
# DOCKER_OPTS="--iptables=false --ipv6 --bip 172.16.0.1/16 --fixed-cidr 172.16.0.0/16 --fixed-cidr-v6 2a01:9000::/68" | |
# --bip is the host IP address of the docker0 interface | |
# --fixed-cidr is the CIDR subnet allocated to the docker0 interface (default network bridge) | |
# --fixed-cidr-v6 is the IPv6 CIDR allocated to docker0 | |
# for IPv6 split your /64 delegated subnet into /68 subnets and allocate them to each docker-compose.yml subnet: |
This file contains 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
[Unit] | |
Description=Minecraft | |
Requires=local-fs.target network-online.target | |
After=local-fs.target network-online.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/java -Xmx768M -Xms500M -jar minecraft_server.jar nogui | |
WorkingDirectory=/home/minecraft | |
User=minecraft |
OlderNewer