Instalacja serwera za pomocą LGSM

AidisProPlayer | 2018-12-13 19:48:56 UTC | #1

Instaluje potrzebne dodatki.
Debian
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
Ubuntu
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
Fedora
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel
Centos
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel

Tworzymy użytkownika np serwer-gra i logujemy sie na jego konto ssh
adduser serwer-gra
su - serwer-gra

Pobieramy instalator serwera w tym przypadku hurtworld
wget https://linuxgsm.com/dl/linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh hwserver

Instalujemy serwer
./hwserver install

Komendy Serwera
./hwserver start - Startuje Serwer
./hwserver stop - Wyłącza Serwer
./hwserver restart - Restartuje Serwer
./hwserver update - Aktualizuje Serwer
./hwserver monitor - Pokazuje Zużycie Serwera [CPU-RAM-DYSK]

Wspierane Gry:

ARK: Survival Evolved
ARMA 3
BrainBread 2
Base Defense
Battlefield 1942
Black Mesa: Deathmatch
Ballistic Overkill
Blade Symphony
Battalion 1944
Codename CURE
Call of Duty 2
Call of Duty 4
Call of Duty
Call of Duty: United Offensive
Call of Duty: World at War
Counter-Strike: Condition Zero<
Counter-Strike: Global Offensive
Counter-Strike 1.6
Counter-Strike: Source
Double Action: Boogaloo
Deathmatch Classic
Day of Defeat
Day of Defeat: Source
Day of Infamy
Don’t Starve Together
Empires Mod
Factorio
Fistful of Frags
GoldenEye: Source
Garry’s Mod
Half-Life 2: Deathmatch
Half-Life: Deathmatch
Half-Life Deathmatch: Source
Hurtworld
Insurgency
Just Cause 2
Just Cause 3
Killing Floor 2
Killing Floor
Left 4 Dead 2
Left 4 Dead
Minecraft
Multi Theft Auto
Mumble
No More Room in Hell
NS2: Combat
Natural Selection 2
Opposing Force
Project Cars
Pirates, Vikings, & Knights II
Project Zomboid
Quake 2
Quake 3: Arena
Quake Live
Quake World
Ricochet
Red Orchestra: Ostfront 41-45
Rust
San Andreas Multiplayer
Starbound
7 Days to Die
Squad
Serious Sam 3: BFE
Stationeers
Sven Co-op
Terraria
Team Fortress 2
Team Fortress Classic
Teamspeak 3
Tower Unite
Teeworlds
Unreal Tournament 2004
Unreal Tournament 3
Unreal Tournament 99
Wolfenstein: Enemy Territory
Zombie Panic! Source


Infinity | 2018-03-20 17:39:52 UTC | #2

O ile nic się nie zmieniło od mojego ostatniego użytkowania LGSM to:

monitor - to nie jest monitor zasobów, a sprawdzenie czy serwer działa czy nie i w razie potrzeby uruchomienie. (chyba, ze na hw jest inaczej)

Jest jeszcze komenda taka jak:
update-lgsm - czyli aktualizuje pliki LGSM

Oraz są komendy sprecyzowane pod dany serwer gry. Pełna ich lista zawsze się znajduje pod plikiem wykonujacym, w przypadku hurtworlda: ./hwserver


AidisProPlayer | 2018-03-20 18:48:53 UTC | #3

Dodałem update-lgsm do postu.

A w przypadku serwera hurtworld komenda monitor pokazuje zużycie zasobów.