Author Topic: Linux Server Setup Guide  (Read 1684 times)

KiLo

  • Autococker
  • Posts: 2086
Linux Server Setup Guide
« on: January 20, 2008, 08:24:33 PM »
Now I know sk89q has a guide for this up on his site but I would like to see something that is more step by step like the Windows servers setup guide that we already have.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Linux Server Setup Guide
« Reply #1 on: January 20, 2008, 08:38:08 PM »
Here's what I did:

Untar the package to my Desktop "/home/KnacK/Desktop" so that the file/folder structure is complete.

This is the script I use to launch screen then start the server:
Code: [Select]
#!/bin/bash
screen -A -m -d -S server27910 ./server27910.sh

This is the actual command line used to start the server:
Code: [Select]
#!/bin/sh
while true; do
./paintball2 +set dedicated 1 +set public 1 +set maxclients 16 +exec server27910 +map midnight
done



Cameron

  • Global Moderator
  • Autococker
  • Posts: 2686
Re: Linux Server Setup Guide
« Reply #2 on: January 20, 2008, 08:49:28 PM »
I just untarred (dont know if that is a word) the package, then just use terminal 2 start it when i need it.  Otherwise i just use a windows version, easier to start if it is not a dedicated server.  Then just used ./paintball2 +set and so on.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux Server Setup Guide
« Reply #3 on: January 22, 2008, 01:06:10 PM »
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.

lekky

  • Autococker
  • Posts: 2449
Re: Linux Server Setup Guide
« Reply #4 on: January 22, 2008, 02:26:27 PM »
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.

ditto

Cameron

  • Global Moderator
  • Autococker
  • Posts: 2686
Re: Linux Server Setup Guide
« Reply #5 on: January 22, 2008, 06:34:09 PM »
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.
To sophisticated 4 me.  It also depends what you are going to use the server for.  No point going through that kinda stuff if ur gonna have it up for just some fun with ur friends.