This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
HISTCONTROL=ignoreboth | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
HISTCONTROL=ignoreboth | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sleep 5 | |
# Set Ulimit | |
ulimit -c unlimited | |
echo "Set: ulimit -c unlimited" | |
cd /home/container | |
# Replace Startup Variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------- | |
# Pterodactyl Core Dockerfile | |
# Environment: Source Engine (GFL) | |
# Minimum Panel Version: 0.6.0 | |
# ---------------------------------- | |
FROM ubuntu:16.04 | |
MAINTAINER Pterodactyl Software, <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
# Install Dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SRCDS Base Installation Script | |
# | |
# Server Files: /mnt/server | |
apt -y update | |
apt-get install curl lib32gcc1 ca-certificates unzip wget -y | |
apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 -y | |
mkdir -p /mnt/server | |
cd /mnt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt -y update | |
apt-get install curl lib32gcc1 ca-certificates unzip wget -y | |
apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 -y | |
cd /tmp | |
wget https://github.com/DevilBoy-eXe/hlds/releases/download/7882/hlds_build_7882.zip | |
cd /tmp && unzip hlds_build_7882.zip && rm -Rf hlds_build_7882.zip | |
mv /tmp/hlds_build_7882/ /mnt/server | |
chmod 555 /mnt/server/hlds_run && chmod 555 /mnt/server/hlds_linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export HOST=192.168.0.14 | |
export USER=docker | |
ssh-copy-id $USER@$HOST | |
docker context create \ | |
--docker host=ssh://docker@$HOST \ | |
--description="Remote engine" \ | |
vbox | |
docker context use vbox | |
docker info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service nginx stop | |
killall nginx | |
rm -Rf /nginx | |
#LuaJIT Library | |
cd /opt/nginx/modules/; wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz; tar -zxvf LuaJIT-2.0.5.tar.gz; cd LuaJIT-2.0.5; make install PREFIX=/usr/local/LuaJIT | |
ldconfig | |
# Download Nginx | |
mkdir -p /opt/nginx/sources/ | |
rm -Rf /opt/nginx/sources/nginx-1.19.9/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LUAJIT_LIB=/usr/local/LuaJIT/lib; export LUAJIT_INC=/usr/local/LuaJIT/include/luajit-2.0; ./configure \ | |
--user=nginx \ | |
--group=nginx \ | |
--sbin-path=/usr/sbin/nginx \ | |
--conf-path=/nginx/nginx.conf \ | |
--pid-path=/var/run/nginx.pid \ | |
--lock-path=/var/run/nginx.lock \ | |
--error-log-path=/nginx/logs/error.log \ | |
--http-log-path=/nginx/logs/access.log \ | |
--with-pcre \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |