User Tools

Site Tools


technical:ubuntu_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
technical:ubuntu_cheat_sheet [2025/11/03 00:56] – created mark_scottworld.nettechnical:ubuntu_cheat_sheet [2025/11/04 19:03] (current) mark_scottworld.net
Line 62: Line 62:
   ls -la   (lists the directory as well as hidden files in a nice format)   ls -la   (lists the directory as well as hidden files in a nice format)
      
 +
 +=== Managing Gaming Servers (steam) ===
 +
 +login as normal ... become root.
 +
 +**YOU MUST Change to become the gameadmin user do not run these scripts as root**
 +
 +  su gameadmin
 +
 +change to the gameservers directory.
 +
 +  cd /srv/data/gameservers
 +  
 +Or you can just change to this users home directory
 +
 +  cd ~
 +
 +To update servers run 
 +
 +  ./game_updater.sh
 +  
 +To launch servers
 +
 +  ./game_launcher,sh
 +  
 +To enable / disable servers to run or update.
 +
 +Change into the scripts directory, and edit either the game script for that server or the update script. - Change "true" to "false" if you want to enable / disable from the updater or launcher scripts.
 +
 +To see what servers are running... 
 +
 +  screen -ls
 +  
 +To attach to a server instance (to shut it down)
 +
 +  screen -R <the screen id>  e.g  116902.7d2d
 +  ctrl c  (to shut the server down).
 +
 +or if you don't want to shut it down you can 
 +
 +  ctrl+a d   (to detach again and leave it running)
 +  
 +To exit from the gameadmin account just exit...
 +
 +  exit
 +
 +=== Homeassistant ===
 +
 +Use virtual machine manager (on your gandalf machine to see whats going on)
 +It is set to start on system boot, so no need to start it every time.
 +
 +Your console can be accessed at
 +
 +  http://hobbiton.scottworld.net:8123
 +
 +=== Other useful links ===
      
 There is some useful stuff here There is some useful stuff here
technical/ubuntu_cheat_sheet.1762127777.txt.gz · Last modified: by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki