Browsed by
Tag: script

SteamCMD Commands and Convars

SteamCMD Commands and Convars

Description SteamCMD does not have a “list all” command to get all command options within SteamCMD. Instead you have to use find . This script outputs all the commands available and saves it to a file. Usage Simply download the script and run it. wget https://raw.githubusercontent.com/dgibbs64/SteamCMD-Commands-List/master/steamcmdcommands.sh;chmod +x steamcmdcommands.sh;./steamcmdcommands.sh List Results You can get the output without using the script. steamcmdcommands.txt My server now checks daily for updates and posts them to this repo. So this list will always be up-to-date….

Read More Read More

SSH Login Without Password Setup Script

SSH Login Without Password Setup Script

About This is a simple script to allow you to easily setup RSA keys and upload the public key to a remote host for SSH login without requiring a password. This can also be used to add an extra layer of security to your server by using RSA keys and a password. Features Setup SSH login without a password using RSA keys Setup SSH login with a password and using RSA keys Description I found I kept forgetting how to…

Read More Read More

Game Server Scripts Update – 010813

Game Server Scripts Update – 010813

Updates to the following game server scripts. csserver cssserver csgoserver hl2dmserver l4d2server tf2server ts3server kfserver ut2k4server Changes (These changes may not apply to every script) Added new serverquery.py to monitoring (works with CS 1.6 only currently) that query’s the server port to see if the server responds. Should it fail the server will restart. To activate this feature simply download serverquery.py from the script page to the same directory as the main script. On install game server logging will be…

Read More Read More

WinSCP: Simply copy to remote Linux server

WinSCP: Simply copy to remote Linux server

Overview I wanted a simple method to regularly copy some files from my Windows PC to my file server via SSH. I already used WinSCP to manage files on file server, so just wanted a way to automate a backup similar to rsync. This is a brief tutorial on how to create a simple Winscp script to copy files from a Windows PC to a remote Linux server Solution 1. First download and install WinSCP. 2. Create a new text…

Read More Read More

How to Detect Linux Distribution with Bash

How to Detect Linux Distribution with Bash

This is a simple bash function to get Linux dIstro information such as distribution, architecture and Kernel version. I have managed to use this function in many of my scripts when sending monitoring emails. The Basic Function The function simply queries lsb-release for the distribution information and adds it to  a variable. lsb-release is not in all distributions, however if that is missing it will check other areas that this information might be.

Plesk Panel 10 to 11 Upgrade issue: sw-cp-server

Plesk Panel 10 to 11 Upgrade issue: sw-cp-server

Symptom When upgrading from Plesk Panel 10 to 11 it failed with the following errors: apt-get upgrade Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 27 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up sw-cp-server (1.0-8.201205141804.debian60) … Starting SWsoft control panels server… stale pidfile. failed dpkg: error…

Read More Read More