Sign in to follow this  
WorthlessJ

Running Game Servers on Linux w/ LinuxGSM

Recommended Posts

WorthlessJ

What is LinuxGSM?
Linux Game Server Manager is a script to manage game servers on Linux with a large amount of features.

I personally use LinuxGSM to manage Camarilla Gaming's Servers.

Note: Please refer to the LinuxGSM discord for support.

Guide to running servers on Linux, using LinuxGSM.

To see if your game is supported by LinuxGSM, check here.

I recommend Ubuntu 18.04. If you wish to use another Linux distro, make sure it is supported by checking the corresponding game server page on the LinuxGSM website.

If servers will be on personal computer, use the computer's command line and file manager instead of Putty and FIlezilla.

Terms:
Shell: The interface, or command line you type into to send linux commands.
SSH: Secure Shell, how you connect to the remote server from your home computer.
FTP: File Transfer Protocol, used to transfer files.
Root: Superuser that has access to everything on linux

Tools:

Putty: SSH program, used to send commands to the server.
https://www.chiark.greenend.org.uk/~sgt ... atest.html

Filezilla: FTP program, view and transfer files to the server.
https://filezilla-project.org/download.php?type=client

Notepad++: Text editor, has many useful features.
https://notepad-plus-plus.org/downloads/

Connecting to Remote Server with Putty and Filezilla:
Find the following information: Server IP address, username and password.

In Putty, type in the IP address, port is 22, toggle SSH on, and type a name into Saved Sessions box, and press save. This will save your server information. Press open to open up the command console, type in the username and password. Text can be copied by highlighting, and can be pasted by moving the insert bar and right clicking the console.

Filezilla uses the same information to login as putty, logins can be saved by going to FIle->Site Manager in the filezilla program.

Installing LinuxGSM:
Find your specific server in this list- LinuxGSM Supported Game List, and follow the install directions on it’s page. After this the server should be installed and ready to go.

Change start parameters in /home/user/lgsm/config-lgsm/servername/servername.cfg settings can be copied and edited from default.cfg

Server files are under /home/user/serverfiles/

List of server commands

Creating Automated Tasks with Cronjobs:
LinuxGSM Guide to cronjobs

File Permissions
If you add new files as root they will be owned by root and LinuxGSM will detect this and will tell your which files are not owned by the gameserver user. This command will recursively set file permissions on every file in a directory to a specific user.

Chown -R username:username /home/username

File ownership explained here:
LinuxGSM Guide to File Ownership and chown command

General advice:
NEVER share your root user login details with anyone! If you want other people managing gameservers, give them logins to non-root user accounts.

More Secure And Easier Login:
DigitalOcean Guide to SSH Keys


A signature, yo!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this