ipmitool raw 0x30 0x45 0x01 0x01
ipmitool raw 0x30 0x70 0x66 0x00 0x24
ipmitool raw 0x30 0x70 0x66 0x01 0x16
# 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. |
# 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 |
#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' |
#!/bin/bash | |
bindir="/usr/local/bin" | |
binuser="root" | |
bingroup="root" | |
unamearch=$(uname -m) | |
case $unamearch in | |
(i386) arch=386;; | |
(x86_64) arch=amd64;; |
Run Satisfactory Dedicated Server on Ubuntu 20.04.
SteamUser="steam"
GameDirectory="satisfactory_dedicated_server"
Last Updated: 2021/01/19
Forked this to provide better details for our environment, you should be able to copy paste most of the commands from the command blocks
I wanted to run an OpenVPN server on the USG. Since it has a Radius server built in, I figured this would be a much better way to handle OpenVPN authentication. Make sure you have the Radius server enabled on your USG under Settings > Services > Radius > Server
in the controller. Add OpenVpn users under Settings > Services > Radius > Server
.
# Some UniFi devices may not have the current ISRG root cert that LE uses | |
# Some devices also have an older version of OpenSSL | |
# These older versions will not validate a cert if the expired DST root cert is part of the chain | |
# USG | |
# This has an older OpenSSL version | |
# The current ISRG root cert is not included in the latest firmware | |
sudo -i | |
sed -i 's|^mozilla\/DST_Root_CA_X3\.crt|!mozilla/DST_Root_CA_X3.crt|' /etc/ca-certificates.conf | |
curl -sk https://letsencrypt.org/certs/isrgrootx1.pem -o /usr/local/share/ca-certificates/ISRG_Root_X1.crt |