Here's a quick guide how to run SpaceEngineers Dedicated Server on Ubuntu with Wine
- A copy of Space Engineers
- A Windows box
- A Linux box running Ubuntu 14.04 or 14.10 (It'll probably work on other distros, YMMV)
<?php | |
/* | |
*TS3 AFK Mover (CLI+DB) by The-Killer | |
* 2014-06-12 initial release | |
* 2018-05-13 add channel statistics collecting | |
*/ | |
//Include php ts3 library http://addons.teamspeak.com/directory/addon/integration/TeamSpeak-3-PHP-Framework.html | |
require_once('lib/libraries/TeamSpeak3/TeamSpeak3.php'); | |
//Mysqli connection just stored in another file | |
require_once('mysql.inc.php'); |
#!/bin/sh | |
# PATH TO YOUR HOSTS FILE | |
ETC_HOSTS=/etc/hosts | |
# DEFAULT IP FOR HOSTNAME | |
IP="127.0.0.1" | |
# Hostname to add/remove. | |
HOSTNAME=$1 |
Here's a quick guide how to run SpaceEngineers Dedicated Server on Ubuntu with Wine
function Create-AesManagedObject($key, $IV) { | |
$aesManaged = New-Object "System.Security.Cryptography.AesManaged" | |
$aesManaged.Mode = [System.Security.Cryptography.CipherMode]::CBC | |
$aesManaged.Padding = [System.Security.Cryptography.PaddingMode]::Zeros | |
$aesManaged.BlockSize = 128 | |
$aesManaged.KeySize = 256 | |
if ($IV) { | |
if ($IV.getType().Name -eq "String") { | |
$aesManaged.IV = [System.Convert]::FromBase64String($IV) | |
} |
firewall { | |
all-ping enable | |
broadcast-ping disable | |
ipv6-receive-redirects disable | |
ipv6-src-route disable | |
ip-src-route disable | |
log-martians enable | |
name WAN_IN { | |
default-action drop | |
description "Packets from Internet to LAN" |
extraits des parties spécifiques a DHCP: | |
interfaces { | |
ethernet eth1 { | |
description ONT | |
duplex auto | |
speed auto | |
vif 832 { | |
address dhcp | |
description "Internet Orange DHCP" |
#!/bin/bash | |
web_service='nginx' | |
config_file='/usr/local/etc/le-renew-webroot.ini' | |
le_path='/opt/letsencrypt' | |
exp_limit=15; | |
if [ ! -f $config_file ]; then | |
echo "[ERROR] config file does not exist: $config_file" |
#!/bin/sh | |
# | |
# shell script to rename a virtual machine in ESXi | |
#set -x | |
if [ $# -ne 4 ]; then | |
echo "Usage: $0 VOLNAME DIRNAME OLDNAME NEWNAME | |
where VOLNAME is the volume name, e.g. datastore1, | |
DIRNAME is the the name of the directory of the virtual machine, |
############################################################################################################################################## | |
# This configuration needs 2 fails in order to change from current state to FAULT state and needs 2 success to change from BACKUP state to | |
# MASTER state. | |
# | |
# !!!MOST IMPORTANT!!! | |
# BEFORE keepalived can be started this file must be poperly edited (see HOW TO section below) | |
# | |
# HOW TO | |
# 1 - Check all the parameters of the script(s) in the "vrrp_script check_mysql" section below are correct | |
# 2 - unicast_src_ip (IP of the local machine) must be manually edited |
@ECHO off | |
SET downloadUrl=https://api.github.com/users/marktiedemann | |
SET tempFile=%cd%\.%random%-tmp | |
BITSADMIN /transfer /download %downloadUrl% %tempFile% >nul | |
TYPE %tempFile% | |
DEL %tempFile% |