Source: https://waylonwalker.com/docker-minecraft-server/
# Start server
docker compose up -d
# Update server to latest version
docker compose down
docker compose pull
docker compose up --force-recreate --build -dSource: https://waylonwalker.com/docker-minecraft-server/
# Start server
docker compose up -d
# Update server to latest version
docker compose down
docker compose pull
docker compose up --force-recreate --build -dhttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
# Check whether the volume has a partition. Use the lsblk
sudo lsblk
# Extend the partition. Use the growpart
sudo growpart /dev/sda 1 --dry-run
# Verify that the partition has been extended.https://wmatthyssen.com/2019/09/18/hyper-v-automatic-virtual-machine-activation/
Invoke-Command -VMName "vm-tmpl-W2k19" -ScriptBlock {slmgr /ipk TNK62-RXVTB-4P47B-2D623-4GF74}| @echo off | |
| :LOOP | |
| cls | |
| set hr=%time:~0,2% | |
| if "%hr:~0,1%" equ " " set hr=0%hr:~1,1% | |
| REM SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%_%time:~6,2%.log | |
| SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%.log | |
| echo. |
This script copies and converts all files in source directory recursively to the destination directory and sets the encoding to UTF-8. The source file will not be touched or changed. Some tools require a certain file encoding especially when it comes to special characters. Ple
Computer Configuration
> Administrative Templates
> Network
> Network Connections
> Windows Firewall
> Domain Profile
> Windows Firewall: Allow Remote Desktop Exception
# Optional CRON
crontab -e
0 0 1 * * PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' fstrim -v / >> /var/log/cron-fstrim.txt 2>&1
# This is FAAAST