games:quake:setup_a_local_quakejs_server:create_a_quakejs_service
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
games:quake:setup_a_local_quakejs_server:create_a_quakejs_service [2021/07/05 11:34] – created peter | games:quake:setup_a_local_quakejs_server:create_a_quakejs_service [2021/07/06 12:55] (current) – peter | ||
---|---|---|---|
Line 16: | Line 16: | ||
<code bash> | <code bash> | ||
- | sudo cp /home/quake/ | + | sudo cp ~/ |
</ | </ | ||
---- | ---- | ||
+ | |||
+ | ====== Edit the startup script ====== | ||
+ | |||
+ | Edit the / | ||
+ | |||
+ | <file bash / | ||
+ | daemonize -v -p / | ||
+ | </ | ||
+ | |||
+ | to | ||
+ | |||
+ | <file bash / | ||
+ | daemonize -v -p / | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * Therefore changing this to root. | ||
+ | </ | ||
====== Enable the Service Script ====== | ====== Enable the Service Script ====== | ||
Line 28: | Line 48: | ||
---- | ---- | ||
+ | |||
+ | ====== Complete ====== | ||
+ | |||
+ | Whenever your Quake server boots up it will automatically start the QuakeJS game server and Apache2 webserver. | ||
+ | |||
+ | When a computer visits http:// | ||
+ | |||
+ | Have people point their browsers to http:// | ||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
====== Test ====== | ====== Test ====== | ||
Line 38: | Line 72: | ||
<WRAP info> | <WRAP info> | ||
**NOTE:** Now try to connect to the server. | **NOTE:** Now try to connect to the server. | ||
- | |||
- | * Check the status: <code bash> | ||
- | systemctl status quakejs | ||
- | </ | ||
</ | </ | ||
- | ---- | + | {{: |
- | ====== Complete ====== | + | {{: |
- | Whenever your quakejs server boots up it will automatically start the quakejs game server and Apache2 webserver. | + | ---- |
- | + | ||
- | When a computer on your LAN visits http:// | + | |
- | + | ||
- | Have people point their browsers to http:// | + | |
+ | Continue [[Games: |
games/quake/setup_a_local_quakejs_server/create_a_quakejs_service.1625484863.txt.gz · Last modified: 2021/07/05 11:34 by peter