This setup provides a multi-instance Minecraft server using systemd templates.
- Add user
adduser --disabled-password --gecos "" minecraft- Create files
/usr/lib/systemd/system/minecraft@.service
| ! | |
| ! Title: Adguard Allowlist | |
| ! | |
| # [discord.com] | |
| 127.0.0.1 click.discord.com |
| ! | |
| ! Title: Windows Blocklist | |
| ! | |
| # [microsoft.com] | |
| 127.0.0.1 licensing.mp.microsoft.com | |
| # [windows.com] | |
| 127.0.0.1 client.wns.windows.com |
| ! | |
| ! Title: Battleye Blocklist | |
| ! | |
| # [battleye.com] | |
| 127.0.0.1 paradise-s1.battleye.com | |
| 127.0.0.1 test-s1.battleye.com | |
| 127.0.0.1 paradiseenhanced-s1.battleye.com |
| # Configuration file for ddclient generated by debconf | |
| # | |
| # /etc/ddclient.conf | |
| protocol=dyndns2 | |
| use=web, web=ip4only.me | |
| server=dynv6.com | |
| ssl=yes | |
| login=none | |
| password='password' |
This setup provides a multi-instance Minecraft server using systemd templates.
adduser --disabled-password --gecos "" minecraft/usr/lib/systemd/system/minecraft@.service
| tar cvf - /path/to/file | gzip -9 - > filename.tar.gz |
| > /boot/firmware/config.txt | |
| # Disable the PWR LED | |
| dtparam=pwr_led_trigger=none | |
| dtparam=pwr_led_activelow=on | |
| # Disable the Activity LED | |
| dtparam=act_led_trigger=none | |
| dtparam=act_led_activelow=off |
| SELFOLDER="/foldername/" tar cf - ${SELFOLDER} -P | pv -s $(du -sb ${SELFOLDER} | awk '{print $1}') | gzip > ${SELFOLDER}.tar.gz |
| <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
| <!-- ... --> | |
| <qemu:commandline> | |
| <qemu:arg value='-acpitable'/> | |
| <qemu:arg value='file=/some/path/slic.bin'/> | |
| <qemu:arg value='-acpitable'/> | |
| <qemu:arg value='file=/some/path/msdm.bin'/> | |
| <qemu:arg value='-smbios'/> | |
| <qemu:arg value='file=/some/path/smbios_type_0.bin'/> | |
| <qemu:arg value='-smbios'/> |
See: https://www.pgadmin.org/download/pgadmin-4-apt/
#
# Setup the repository
#
# Install the public key for the repository (if not done previously):
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg