mkdir /srv/ssl && cd /srv/ssl
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
Alter Apache
if(commandName === 'uptime') { | |
let timestamp = new Date(body.stream.created_at).getTime(); | |
uptime = countdown(timestamp, Date.now(), 158); | |
reply(uptime); | |
} | |
echo "Update & Upgrading Apps & OS" | |
sudo apt update -qq && sudo apt dist-upgrade -y | |
echo "Initializing LAMP" | |
sudo apt install lamp-server^ -y | |
echo "ServerName yourwebsite.com" >> "/etc/apache2/apache2.conf" |
<!DOCTYPE HTML> | |
<!-- | |
Redirect | |
--> | |
<html> | |
<meta http-equiv="refresh" content="0; URL='http://hello.world'" /> | |
</html> |
{ | |
"ChatCommand": "skin", | |
"PreventDefaultSkins": false, | |
"Workshop": { | |
"##############################": [], | |
"# A r m o r s ": [], | |
"##############################": [], | |
"bucket.helmet": [], | |
"coffeecan.helmet": [], |
apt-get update && apt-get dist-upgrade
32bit
sudo apt-get install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux libstdc++6 lib32z1
64bit
sudo dpkg --add-architecture i386; sudo apt-get update;sudo apt-get install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1
adduser rustserver
#!/bin/sh | |
## Create a copy for each your instance | |
## Remote Administration Options | |
rcon_ip="66.172.11.151" | |
rcon_port=28088 # This port is TCP | |
rcon_password="yourPassword" | |
## Server configuration |
To enter these into Rust access the Console via F1 | |
# Admin Commands | |
``` | |
debugcamera | |
spectate | |
respawn | |
noclip | |
ent who | |
ent kill |