Control A Game Server
Please make sure your webserver user has access with a ssh key to the remote game-server.
Replace everything between <
and >
e.g. (</path/to/web-server/> to /var/www/tracker)
Go to the folder, create a file and give the webserver the correct permissions for the file.
Now open the file and add all the lines and replace everything with your data.
See logs and live console
There are three ways, how to retrieve the logs from your external game-server.
SCP Copy
Rsyslog
Lightweight webserver on the remot machine
SCP is not recommended. It is the easiest to setup, though. If there are only one or two people watching the logs at the same time, you can use SCP without any doubt. If there are more than two or three users, at the same time, I wouldn't recommend using SCP for retrieving the live logs. Rsyslog is lightning fast and requires way less performance than using SCP. It's harder to setup though and I won't explain how to setup. Webserver is also fast. The webserver on the remote machine exposes the logs to the web, if the ip address matches with the set address. I recommend this way, as it is easy to setup and fast.
Settings
Last updated