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

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:ubuntu_cheat_sheet [2025/11/03 23:00] mark_scottworld.nettechnical:ubuntu_cheat_sheet [2025/11/04 19:03] (current) mark_scottworld.net
Line 65: Line 65:
 === Managing Gaming Servers (steam) === === Managing Gaming Servers (steam) ===
  
-login as normal ... become route.+login as normal ... become root.
  
-Change to become the gameadmin user+**YOU MUST Change to become the gameadmin user do not run these scripts as root**
  
   su gameadmin   su gameadmin
Line 73: Line 73:
 change to the gameservers directory. change to the gameservers directory.
  
- cd /srv/data/gameservers+  cd /srv/data/gameservers 
 +   
 +Or you can just change to this users home directory 
 + 
 +  cd ~
  
 To update servers run  To update servers run 
  
-  ./game_updater+  ./game_updater.sh
      
 To launch servers To launch servers
  
-  ./game_launcher+  ./game_launcher,sh
      
 To enable / disable servers to run or update. To enable / disable servers to run or update.
Line 93: Line 97:
 To attach to a server instance (to shut it down) To attach to a server instance (to shut it down)
  
-  screen -R <the screen id e.g  116902.7d2d)+  screen -R <the screen id e.g  116902.7d2d
   ctrl c  (to shut the server down).   ctrl c  (to shut the server down).
  
 or if you don't want to shut it down you can  or if you don't want to shut it down you can 
  
-  ctrl a d   (to detach again and leave it running)+  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.1762207256.txt.gz · Last modified: by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki