Run Satisfactory Dedicated Server on Ubuntu 20.04.
SteamUser="steam"
GameDirectory="satisfactory_dedicated_server"
Run Satisfactory Dedicated Server on Ubuntu 20.04.
SteamUser="steam"
GameDirectory="satisfactory_dedicated_server"
#!/bin/bash | |
bindir="/usr/local/bin" | |
binuser="root" | |
bingroup="root" | |
unamearch=$(uname -m) | |
case $unamearch in | |
(i386) arch=386;; | |
(x86_64) arch=amd64;; |
#Install WinGet | |
#Based on this gist: https://gist.github.com/crutkas/6c2096eae387e544bd05cde246f23901 | |
#Which I found here: https://chrislayers.com/2021/08/01/scripting-winget/ | |
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
"Installing winget Dependencies" | |
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' | |
$releases_url = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' |
# Configure Systemd-Timesyncd | |
$ sudo apt install -y systemd-timesyncd | |
$ cat <<EOF | sudo tee /etc/systemd/timesyncd.conf | |
# This file is part of systemd. | |
# | |
# systemd is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2.1 of the License, or |
# Configure Systemd-Resolved | |
$ sudo apt install -y systemd-resolved | |
$ cat <<EOF | sudo tee /etc/systemd/resolved.conf | |
# This file is part of systemd. | |
# | |
# systemd is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2.1 of the License, or | |
# (at your option) any later version. |
Here are a few collected ways I like to customize Ubuntu 22.04 servers. I used to love Ubuntu, but I hate auto updates and snaps. They also put ads and other usless ads diguised as "news" in MOTD. ESM FUD is spread throughout the OS including simple apt functions. You do not need ESM and thus Ubuntu 22.04 has become super annoying. unattended-upgrade is an automatic installation of security (and other) upgrades without user intervention. Consider the ramifications of disabling this service.
The Unattended Upgrades feature is enabled by default and it runs at system boot without the user's permission. The configuration is stored in /etc/apt/apt.conf.d/20auto-upgrades
Disable:
sudo dpkg-reconfigure unattended-upgrades
then a TUI will come up, select "No"
This will not permantently disable the function. After an update it will be enabled. In the file /etc/apt/apt.conf.d/20auto-upgrades
change these values from 1
to 0
. Even doing this it will
Einrichtung einer Master-Master Replikation mit MariaDB auf zwei Knoten (DB1 und DB2) unter Rocky Linux 9.5.
Der Datenbankzugriff erfolgt bevorzugt auf DB1 via keepalived
, mit einer virtuellen IP. Bei Split-Brain soll weiterhin Schreibzugriff auf beide Nodes bestehen.
Quelle: https://github.com/jomyg/MariaDB-Master-Master-Replication