Author Topic: How to: Install / Setup a server in GNU/Linux  (Read 62752 times)

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
How to: Install / Setup a server in GNU/Linux
« on: July 25, 2008, 10:05:34 pm »
Seems a few people have been asking of late, so here it is:

Using this guide its assumed that you have a server running linux, and can connect to it over SSH etc, and have root.  Its also assumed you know your way around and have a brain.  Its also assumed you know your way around tremulous, even if just the client.

We will be installing tremded under its own user, running under screen.

Global Setup:  (This stuff happens once per box, regardless of how many servers you want to run).

Step 1:
Add a group called tremded.  This is the group that all your tremulous servers will be in, and anyone who is supposed to have access to them.
Code: [Select]
addgroup tremded
Step 2:
Go to /usr/local/games/ (or wherever) and install tremulous.
The files can be gotten from http://prdownloads.sourceforge.net/tremulous/tremulous-1.1.0.zip?download, and should all be owned by that group you just made.  Should also be chmod 755/644.
Code: [Select]
cd /usr/local/games/
wget 'http://prdownloads.sourceforge.net/tremulous/tremulous-1.1.0.zip?download'
unzip tremulous-1.1.0.zip
rm tremulous-1.1.0.zip # May want to move it some place else for future use instead.
chown -R root:tremded ./tremulous
chmod -R a=rX,u+w ./tremulous
cd tremulous

Step 3:
Get a newer tremded.
You can either compile your own , or just use MG's.  (Backport patches: http://patches.mercenariesguild.net/index.php?do=details&task_id=2 MG's: http://projects.mercenariesguild.net/projects/mgtremded/files )
Dump this over the current tremded.x86 you have.  (Make sure its owned by the right user/group etc again).

Step 4:
Download any additional maps and dump them in base here.

Per server setup:  (Do this once per server you want)

Step 1:
Create a user for this server to run under.  Should be in the tremded group.  For this I'm assuming the user is called server1, yours probably shouldn't be.
Code: [Select]
adduser --disabled-password --ingroup tremded server1
Everything after this point should be done as user server1 not root or your user.

Step 2:
Get a good QVM.  I recommend Lakitu7's from: http://projects.mercenariesguild.net/projects/lakitu7-qvm/files
Make a directory ~/.tremulous/base/vm/ and put your new game.qvm there.
Code: [Select]
mkdir -p ~/.tremulous/base/vm/
cd ~/.tremulous/base/vm/
wget -O game.qvm http://projects.mercenariesguild.net/attachments/download/50/game.qvm # May well be a newer link by the time you read this.

Step 3:
Make sure it works.  This has the added benefit of making a few files etc for you.
Once its all running right, type quit to kill it.
Code: [Select]
cd
/usr/local/games/tremulous/tremded.x86 +set dedicated 1 +map atcs
quit

Step 4:
Set everything else up.
You can get a template maprotation.cfg and server.cfg from /usr/local/games/tremulous/base/, and copy them into ~/.tremulous/base/ and edit them.
maprotation.cfg is in the manual, and theres plenty about server.cfg around here.
You should also edit your admin.dat if you feel like it.  If there is no admin.dat, then step 3's test didn't go right.
You probably want to get rid of the map line at the end, so you can re-exec the config if you ever change it without nuking the server.

Step 5:
start it properly.  Something like this should work:
Code: [Select]
screen -d -m -S tremded /usr/local/games/tremulous/tremded.x86 +set dedicated 2 +exec server.cfg +map atcs
You probably want to dump that in a nice shiny script to make things easy.
You can also add +set net_port and +set net_ip to set the IP and port it listens on.

Step 6:
(as root)
Make it all owned right, and make the directory's SGID so you can change stuff from other users in the tremded group:
Code: [Select]
chmod -R  ug=rwX,o= ~server1/
chown -R server1:tremded ~server1/
find ~server1 -type d -exec chmod g+s {} +

You can also add the following to your sudoers to allow anyone in the tremded group to sudo to the servers:
Runas_Alias TREM = server1, server2, etc
%tremded ALL=(TREM) ALL

If you want to be able to hook the screen from other users on the system, which you probably do, you can use something like this in ~server1/.screenrc
Code: [Select]
multiuser on
acladd david
acladd someotheruser
and then use screen -r server1/ to get to it.


I can pretty much guarantee something in this is wrong as I typed it in one block with zero planning.
If you spot mistakes say.
« Last Edit: March 18, 2009, 12:13:56 pm by David »
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Roanoke

  • Posts: 260
  • Turrets: +20/-22
Re: How to: Install / Setup a server in GNU/Linux
« Reply #1 on: October 26, 2008, 04:24:22 am »
I see this doesn't go into port forwarding.

your face

  • Community Moderators
  • *
  • Posts: 3843
  • Turrets: +116/-420
Re: How to: Install / Setup a server in GNU/Linux
« Reply #2 on: October 26, 2008, 04:56:26 am »
Thanks to Tinman, I have found this video extremely helpful:
http://www.youtube.com/watch?v=18qydf_aZDs
spam spam spam, waste waste waste!

Ghostminis

  • Posts: 3
  • Turrets: +0/-1
Re: How to: Install / Setup a server in GNU/Linux
« Reply #3 on: March 18, 2009, 02:26:00 am »
hey guys got a dumn questoin but w/e when i do this ./tremded.x86 +set dedicated 2 +exec server.cfg it does this

Quote
[user@localhost tremulous]$ ./tremded.x86 +set dedicated 2 +exec server.cfg
tremulous 1.1.0 linux-x86 Sep 14 2006
----- FS_Startup -----
Current search path:
/home/user/.tremulous/base/vms-1.1.0.pk3 (4 files)
/home/user/.tremulous/base/trempoline-x-mas.pk3 (21 files)
/home/user/.tremulous/base/trempoline-b3.pk3 (16 files)
/home/user/.tremulous/base/ship_b0-2.pk3 (120 files)
/home/user/.tremulous/base/mod-fixedsounds.pk3 (10 files)
/home/user/.tremulous/base/marsbase.pk3 (85 files)
/home/user/.tremulous/base/mapping-competition-2007-mappack.pk3 (56 files)
/home/user/.tremulous/base/map-xtce-final.pk3 (94 files)
/home/user/.tremulous/base/map-xtc.pk3 (6 files)
/home/user/.tremulous/base/map-Xmas_2007_1.0.pk3 (23 files)
/home/user/.tremulous/base/map-watah-b5.pk3 (255 files)
/home/user/.tremulous/base/map-UTCSb2.pk3 (11 files)
/home/user/.tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/home/user/.tremulous/base/map-tumbo7_0-2.pk3 (84 files)
/home/user/.tremulous/base/map-trempoline-x-mas.pk3 (21 files)
/home/user/.tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/home/user/.tremulous/base/map-treecannon_b4.pk3 (7 files)
/home/user/.tremulous/base/map-transit-1.1.0.pk3 (135 files)
/home/user/.tremulous/base/map-traininggrounds_1.pk3 (5 files)
/home/user/.tremulous/base/map-tnt.pk3 (42 files)
/home/user/.tremulous/base/map-tk_beta2.pk3 (21 files)
/home/user/.tremulous/base/map-super-s1-lms_b3.pk3 (50 files)
/home/user/.tremulous/base/map-subterranean_0-1.pk3 (17 files)
/home/user/.tremulous/base/map-siege-1.1.2.pk3 (83 files)
/home/user/.tremulous/base/map-rotcannon-b11.pk3 (31 files)
/home/user/.tremulous/base/map-racer-2.1.0.b3fff890.pk3 (24 files)
/home/user/.tremulous/base/map-racer-2.0.0.pk3 (24 files)
/home/user/.tremulous/base/map-pushcannon_b3.pk3 (17 files)
/home/user/.tremulous/base/map-pushcannon_b1.pk3 (17 files)
/home/user/.tremulous/base/map-pulse-beta3-1.1.0.pk3 (198 files)
/home/user/.tremulous/base/map-procyon.pk3 (108 files)
/home/user/.tremulous/base/map-paintfactory.pk3 (111 files)
/home/user/.tremulous/base/map-paint9.pk3 (87 files)
/home/user/.tremulous/base/map-paint8.pk3 (147 files)
/home/user/.tremulous/base/map-paint7.pk3 (129 files)
/home/user/.tremulous/base/map-paint6.pk3 (124 files)
/home/user/.tremulous/base/map-paint5.pk3 (99 files)
/home/user/.tremulous/base/map-paint4.pk3 (68 files)
/home/user/.tremulous/base/map-paint3.pk3 (52 files)
/home/user/.tremulous/base/map-paint2.pk3 (50 files)
/home/user/.tremulous/base/map-paint.pk3 (51 files)
/home/user/.tremulous/base/map-office-space.pk3 (4 files)
/home/user/.tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/home/user/.tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/home/user/.tremulous/base/map-nano-beta1.pk3 (73 files)
/home/user/.tremulous/base/map-mission_one_b7.pk3 (27 files)
/home/user/.tremulous/base/map-Mini-Flora.pk3 (27 files)
/home/user/.tremulous/base/map-mineshaft_a6_7.pk3 (22 files)
/home/user/.tremulous/base/map-metro-b1.pk3 (493 files)
/home/user/.tremulous/base/map-metro-b1-2.pk3 (495 files)
/home/user/.tremulous/base/map-metro-b1-1.pk3 (497 files)
/home/user/.tremulous/base/map-mcc.pk3 (78 files)
/home/user/.tremulous/base/map-lite-v1.pk3 (3 files)
/home/user/.tremulous/base/map-linux4.pk3 (72 files)
/home/user/.tremulous/base/map-killbox-1.1.0.pk3 (2 files)
/home/user/.tremulous/base/map-karith-1.1.0.pk3 (118 files)
/home/user/.tremulous/base/map-Jail-House-Rock.pk3 (6 files)
/home/user/.tremulous/base/map-gloom2beta2.pk3 (219 files)
/home/user/.tremulous/base/map-funzone_b1.pk3 (49 files)
/home/user/.tremulous/base/map-flat.pk3 (5 files)
/home/user/.tremulous/base/map-flap.pk3 (96 files)
/home/user/.tremulous/base/map-DMB01-alpa.1.0.pk3 (141 files)
/home/user/.tremulous/base/map-cool6.pk3 (6 files)
/home/user/.tremulous/base/map-cool2e.pk3 (10 files)
/home/user/.tremulous/base/map-cool2d.pk3 (5 files)
/home/user/.tremulous/base/map-cool2.pk3 (5 files)
/home/user/.tremulous/base/map-Cerberus_rc2.pk3 (73 files)
/home/user/.tremulous/base/map-castle-b1.pk3 (86 files)
/home/user/.tremulous/base/map-battlezone_final.pk3 (19 files)
/home/user/.tremulous/base/map-atcszalpha-b2.pk3 (50 files)
/home/user/.tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/home/user/.tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/home/user/.tremulous/base/map-1984b4.pk3 (118 files)
/home/user/.tremulous/base/korcastle_b1.pk3 (17 files)
/home/user/.tremulous/base/house.pk3 (25 files)
/home/user/.tremulous/base/highrise-b6.pk3 (23 files)
/home/user/.tremulous/base/highrise-b5.pk3 (23 files)
/home/user/.tremulous/base/data-1.1.0.pk3 (1229 files)
/home/user/.tremulous/base/Dangercity.pk3 (150 files)
/home/user/.tremulous/base/basecano_b3.pk3 (8 files)
/home/user/.tremulous/base
/mnt/home/tremulous/base/vms-1.1.0.pk3 (4 files)
/mnt/home/tremulous/base/trempoline-x-mas.pk3 (21 files)
/mnt/home/tremulous/base/trempoline-b3.pk3 (16 files)
/mnt/home/tremulous/base/mod-fixedsounds.pk3 (10 files)
/mnt/home/tremulous/base/map-Xmas_2007_1.0.pk3 (23 files)
/mnt/home/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/mnt/home/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/mnt/home/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/mnt/home/tremulous/base/map-traininggrounds_1.pk3 (5 files)
/mnt/home/tremulous/base/map-tnt.pk3 (42 files)
/mnt/home/tremulous/base/map-tk_beta2.pk3 (21 files)
/mnt/home/tremulous/base/map-siege-1.1.2.pk3 (83 files)
/mnt/home/tremulous/base/map-paintfactory.pk3 (111 files)
/mnt/home/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/mnt/home/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/mnt/home/tremulous/base/map-Mini-Flora.pk3 (27 files)
/mnt/home/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/mnt/home/tremulous/base/map-funzone_b1.pk3 (49 files)
/mnt/home/tremulous/base/map-cool6.pk3 (6 files)
/mnt/home/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/mnt/home/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/mnt/home/tremulous/base/korcastle_b1.pk3 (17 files)
/mnt/home/tremulous/base/data-1.1.0.pk3 (1229 files)
/mnt/home/tremulous/base/Dangercity.pk3 (150 files)
/mnt/home/tremulous/base

----------------------
10032 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30721
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30722
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30723
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30724
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30725
Hostname: localhost
Alias: localhost
IP: 127.0.0.1
Started tty console (use +set ttycon 0 to disable)
execing server.cfg
------ Server Initialization ------
Server: atcs
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/user/.tremulous/base/vms-1.1.0.pk3 (4 files)
/home/user/.tremulous/base/trempoline-x-mas.pk3 (21 files)
/home/user/.tremulous/base/trempoline-b3.pk3 (16 files)
/home/user/.tremulous/base/ship_b0-2.pk3 (120 files)
/home/user/.tremulous/base/mod-fixedsounds.pk3 (10 files)
/home/user/.tremulous/base/marsbase.pk3 (85 files)
/home/user/.tremulous/base/mapping-competition-2007-mappack.pk3 (56 files)
/home/user/.tremulous/base/map-xtce-final.pk3 (94 files)
/home/user/.tremulous/base/map-xtc.pk3 (6 files)
/home/user/.tremulous/base/map-Xmas_2007_1.0.pk3 (23 files)
/home/user/.tremulous/base/map-watah-b5.pk3 (255 files)
/home/user/.tremulous/base/map-UTCSb2.pk3 (11 files)
/home/user/.tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/home/user/.tremulous/base/map-tumbo7_0-2.pk3 (84 files)
/home/user/.tremulous/base/map-trempoline-x-mas.pk3 (21 files)
/home/user/.tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/home/user/.tremulous/base/map-treecannon_b4.pk3 (7 files)
/home/user/.tremulous/base/map-transit-1.1.0.pk3 (135 files)
/home/user/.tremulous/base/map-traininggrounds_1.pk3 (5 files)
/home/user/.tremulous/base/map-tnt.pk3 (42 files)
/home/user/.tremulous/base/map-tk_beta2.pk3 (21 files)
/home/user/.tremulous/base/map-super-s1-lms_b3.pk3 (50 files)
/home/user/.tremulous/base/map-subterranean_0-1.pk3 (17 files)
/home/user/.tremulous/base/map-siege-1.1.2.pk3 (83 files)
/home/user/.tremulous/base/map-rotcannon-b11.pk3 (31 files)
/home/user/.tremulous/base/map-racer-2.1.0.b3fff890.pk3 (24 files)
/home/user/.tremulous/base/map-racer-2.0.0.pk3 (24 files)
/home/user/.tremulous/base/map-pushcannon_b3.pk3 (17 files)
/home/user/.tremulous/base/map-pushcannon_b1.pk3 (17 files)
/home/user/.tremulous/base/map-pulse-beta3-1.1.0.pk3 (198 files)
/home/user/.tremulous/base/map-procyon.pk3 (108 files)
/home/user/.tremulous/base/map-paintfactory.pk3 (111 files)
/home/user/.tremulous/base/map-paint9.pk3 (87 files)
/home/user/.tremulous/base/map-paint8.pk3 (147 files)
/home/user/.tremulous/base/map-paint7.pk3 (129 files)
/home/user/.tremulous/base/map-paint6.pk3 (124 files)
/home/user/.tremulous/base/map-paint5.pk3 (99 files)
/home/user/.tremulous/base/map-paint4.pk3 (68 files)
/home/user/.tremulous/base/map-paint3.pk3 (52 files)
/home/user/.tremulous/base/map-paint2.pk3 (50 files)
/home/user/.tremulous/base/map-paint.pk3 (51 files)
/home/user/.tremulous/base/map-office-space.pk3 (4 files)
/home/user/.tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/home/user/.tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/home/user/.tremulous/base/map-nano-beta1.pk3 (73 files)
/home/user/.tremulous/base/map-mission_one_b7.pk3 (27 files)
/home/user/.tremulous/base/map-Mini-Flora.pk3 (27 files)
/home/user/.tremulous/base/map-mineshaft_a6_7.pk3 (22 files)
/home/user/.tremulous/base/map-metro-b1.pk3 (493 files)
/home/user/.tremulous/base/map-metro-b1-2.pk3 (495 files)
/home/user/.tremulous/base/map-metro-b1-1.pk3 (497 files)
/home/user/.tremulous/base/map-mcc.pk3 (78 files)
/home/user/.tremulous/base/map-lite-v1.pk3 (3 files)
/home/user/.tremulous/base/map-linux4.pk3 (72 files)
/home/user/.tremulous/base/map-killbox-1.1.0.pk3 (2 files)
/home/user/.tremulous/base/map-karith-1.1.0.pk3 (118 files)
/home/user/.tremulous/base/map-Jail-House-Rock.pk3 (6 files)
/home/user/.tremulous/base/map-gloom2beta2.pk3 (219 files)
/home/user/.tremulous/base/map-funzone_b1.pk3 (49 files)
/home/user/.tremulous/base/map-flat.pk3 (5 files)
/home/user/.tremulous/base/map-flap.pk3 (96 files)
/home/user/.tremulous/base/map-DMB01-alpa.1.0.pk3 (141 files)
/home/user/.tremulous/base/map-cool6.pk3 (6 files)
/home/user/.tremulous/base/map-cool2e.pk3 (10 files)
/home/user/.tremulous/base/map-cool2d.pk3 (5 files)
/home/user/.tremulous/base/map-cool2.pk3 (5 files)
/home/user/.tremulous/base/map-Cerberus_rc2.pk3 (73 files)
/home/user/.tremulous/base/map-castle-b1.pk3 (86 files)
/home/user/.tremulous/base/map-battlezone_final.pk3 (19 files)
/home/user/.tremulous/base/map-atcszalpha-b2.pk3 (50 files)
/home/user/.tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/home/user/.tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/home/user/.tremulous/base/map-1984b4.pk3 (118 files)
/home/user/.tremulous/base/korcastle_b1.pk3 (17 files)
/home/user/.tremulous/base/house.pk3 (25 files)
/home/user/.tremulous/base/highrise-b6.pk3 (23 files)
/home/user/.tremulous/base/highrise-b5.pk3 (23 files)
/home/user/.tremulous/base/data-1.1.0.pk3 (1229 files)
/home/user/.tremulous/base/Dangercity.pk3 (150 files)
/home/user/.tremulous/base/basecano_b3.pk3 (8 files)
/home/user/.tremulous/base
/mnt/home/tremulous/base/vms-1.1.0.pk3 (4 files)
/mnt/home/tremulous/base/trempoline-x-mas.pk3 (21 files)
/mnt/home/tremulous/base/trempoline-b3.pk3 (16 files)
/mnt/home/tremulous/base/mod-fixedsounds.pk3 (10 files)
/mnt/home/tremulous/base/map-Xmas_2007_1.0.pk3 (23 files)
/mnt/home/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/mnt/home/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/mnt/home/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/mnt/home/tremulous/base/map-traininggrounds_1.pk3 (5 files)
/mnt/home/tremulous/base/map-tnt.pk3 (42 files)
/mnt/home/tremulous/base/map-tk_beta2.pk3 (21 files)
/mnt/home/tremulous/base/map-siege-1.1.2.pk3 (83 files)
/mnt/home/tremulous/base/map-paintfactory.pk3 (111 files)
/mnt/home/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/mnt/home/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/mnt/home/tremulous/base/map-Mini-Flora.pk3 (27 files)
/mnt/home/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/mnt/home/tremulous/base/map-funzone_b1.pk3 (49 files)
/mnt/home/tremulous/base/map-cool6.pk3 (6 files)
/mnt/home/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/mnt/home/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/mnt/home/tremulous/base/korcastle_b1.pk3 (17 files)
/mnt/home/tremulous/base/data-1.1.0.pk3 (1229 files)
/mnt/home/tremulous/base/Dangercity.pk3 (150 files)
/mnt/home/tremulous/base

----------------------
20064 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 746 jump table targets
VM file game compiled to 1041421 bytes of code
game loaded in 8928512 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Mar 27 2006
------------------------------------------------------------
InitGame: \g_maxGameClients\0\g_suddenDeathTime\35\sv_minRate\3000\sv_maxclients\24\timelimit\55\sv_hostname\^4Dr. ^7Test ^4Server\sv_maxRate\25000\sv_minPing\0\sv_maxPing\350\version\tremulous 1.1.0 linux-x86 Sep 14 2006\protocol\69\mapname\atcs\sv_privateClients\1\sv_allowDownload\1\g_needpass\0\gamename\base
********************
ERROR: G_ParseSpawnVars: found & when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found & when expecting {) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 67.222.136.108:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
---------------------------
Hitch warning: 2957 msec frame time
lous.net resolved to 67.222.136.108:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
---------------------------


can you help me out here. thx in advanced

Stythys

  • Posts: 73
  • Turrets: +7/-9
    • The Twilight Lair
Re: How to: Install / Setup a server in GNU/Linux
« Reply #4 on: March 18, 2009, 11:00:21 am »
godammit haven't any of you noobs heard of google, or maybe the search feature on the forums...seriously....

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: How to: Install / Setup a server in GNU/Linux
« Reply #5 on: March 18, 2009, 09:16:50 pm »
Well, he did say it was a "dumn" question...

Hendrich

  • Posts: 898
  • Turrets: +168/-149
    • TremCommands
Re: How to: Install / Setup a server in GNU/Linux
« Reply #6 on: March 21, 2009, 08:44:26 am »
Your QVM isn't compatible with your tremded client.
Find another QVM please.


abc

  • Posts: 2
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #7 on: April 08, 2009, 10:52:18 am »
godammit haven't any of you noobs heard of google, or maybe the search feature on the forums...seriously....
wow... haven't you heard of generosity... and if you search tremulous server issues in google im pretty sure this will be on the list...

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: How to: Install / Setup a server in GNU/Linux
« Reply #8 on: April 08, 2009, 06:14:02 pm »
godammit haven't any of you noobs heard of google, or maybe the search feature on the forums...seriously....
wow... haven't you heard of generosity... and if you search tremulous server issues in google im pretty sure this will be on the list...
and if you search for your error you will find 20+ threads that tell you exactly what you did wrong. (including some of the stickies in this forum)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: How to: Install / Setup a server in GNU/Linux
« Reply #9 on: May 14, 2009, 06:09:53 am »
wow you have a lot of maps

ixbidie

  • Posts: 7
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #10 on: May 27, 2009, 01:52:58 pm »
I get an error:
Code: [Select]
Received signal 11, exiting...
Shutdown tty console
i took the tremded.x86 he proposed, and the laikatu .qvm, the app loaded it i think, because:
Code: [Select]
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1137 jump table targets
VM file game compiled to 1469019 bytes of code
game loaded in 34314144 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Dec  9 2008
------------------------------------------------------------
InitGame: \sv_hostname\noname\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\version\tremulous 1.1.0 linux-x86 Feb 28 2006\timelimit\0\protocol\69\mapname\atcs\sv_privateClients\0\sv_maxclients\8\sv_allowDownload\0\gamename\base\ff\0\qvm_version\Lakitu7's QVM 5.41 (Dec  9 2008, 13:15:47)\g_maxGameClients\0\g_suddenDeathTime\30\g_suddenDeathMode\2\g_suddenDeath\0\g_friendlyFire\0\g_friendlyBuildableFire\0\g_needpass\0\g_speed\320\g_gravity\800\g_knockback\1000\g_humanBuildPoints\100\g_alienBuildPoints\100\g_unlagged\1\g_allowShare\0
when i start the normal server, i don't get this error, so it must have to do sth. with the qvm i think...

Can anybody help me?
Thx Ixbidie

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: How to: Install / Setup a server in GNU/Linux
« Reply #11 on: May 31, 2009, 09:49:59 am »
get the correct qvm and tremed.exe

rutofteaching

  • Posts: 4
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #12 on: January 05, 2010, 08:50:16 pm »
problem posted in my other thread (making server with ubuntu (jaunty distro))

i cannot get step 2 of general setup (I don't know if already having one installed *with guid* counts)

and steps 3+ of the per server setup elude me... (i have a qmv, but don't know where to put it...)

Loki

  • Posts: 253
  • Turrets: +1/-53
Re: How to: Install / Setup a server in GNU/Linux
« Reply #13 on: February 28, 2010, 05:19:04 pm »
Hello, i havea a problem when i wrote this
Code: [Select]
/usr/local/games/tremulous/tremded.x86 +set dedicated 1 +map atcsterminal wrote this  >:(   
Code: [Select]
bash: cd: /usr/local/games/tremulous/tremded.x86: No such file or directory

Help pls  ???
Every single post of me 2012 and below must be left ignored. That wasn't me. That must've been some retarded kid.

Lonly

  • Posts: 231
  • Turrets: +9/-39
    • Host-Man
Re: How to: Install / Setup a server in GNU/Linux
« Reply #14 on: May 08, 2010, 10:08:20 pm »
Hello, i havea a problem when i wrote this
Code: [Select]
/usr/local/games/tremulous/tremded.x86 +set dedicated 1 +map atcsterminal wrote this  >:(   
Code: [Select]
bash: cd: /usr/local/games/tremulous/tremded.x86: No such file or directory

Help pls  ???

Try typing cd (DIRECTORY OF tremded.x86), in this case would be cd /usr/local/games/tremulous/ (or just keep clicking tab). Once you get here type ./tremded.x86 +exec server.cfg +set dedicated 2 +map atcs if you want a server on the master list. If you still get No such file, your missing your tremded.x86.

aghdev

  • Posts: 2
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #15 on: May 23, 2010, 04:14:03 am »
Thank you a lot for this tutorial.

Deadbeat Engineer

  • Posts: 105
  • Turrets: +9/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #16 on: May 27, 2010, 09:30:14 pm »
What about a version of this for GPP servers? I was having a bit of an issue trying to follow this guide and apply it to that.  :-\
I herd u liek maras?

This most definitely. I cannot begin to express how This this is.

F50

  • Posts: 740
  • Turrets: +16/-26
Re: How to: Install / Setup a server in GNU/Linux
« Reply #17 on: May 28, 2010, 01:12:30 am »
Step 2 of per server setup probably should be ignored for now. Steps 2 (install tremulous) and 3 (get tremded) of global setup are replaced by installing gpp (properly). Everything else remains the same.

As to the proper way to setup gpp for a server environment, I'm not sure what is the correct way to do that. However, I've done something *similar* so I expect it to be something like this:

1. svn co svn://svn.icculus.org/tremulous/trunk (get svn)
2. cd trunk
3. make (compile svn)
5. zip -rq svn-vms.pk3 build/release-linux-x86_64/base/vm (these are the vms for svn, probably unneded, but I've put it here because its in my script. Also, replace x86_64 with the archetecture you're using)
6. cp build/release-linux-x86_64/tremded.x86_64 ./
(If you want to be able to run the client you'll need this, otherwise I don't think you need to bother) 7. build/release-linux-x86_64/tremulous.x86_64 ./

Now you've got yourself a tremded and some probably useless vms. EDIT: If there is a tremded in the gpp install, you could probably just use that come to think of it.


In fs_basepath: (this can be anywhere you darn well please)
1. move your tremulous executables (ie. the tremded) to this directory
2. mkdir base gpp (create folders)
3. put the svn-vms (if you need to), data-1.1.0.pk3, and maps in the base folder you've just created.
4. put data-gpp1.pk3 and the latest gpp vms in the gpp folder you've just created.

Now you should be able to run tremded and it will create a ~/.tremulous folder (unless you've specified fs_homepath to be something else). When you run you're tremded you're going to need to +set fs_game gpp, in addition to the other options in the tutorial.


I'll actually test this soonish...maybe.
« Last Edit: May 29, 2010, 02:23:39 am by F50 »
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: How to: Install / Setup a server in GNU/Linux
« Reply #18 on: August 13, 2010, 01:33:02 pm »
I get an error:
Code: [Select]
Received signal 11, exiting...
Shutdown tty console
i took the tremded.x86 he proposed, and the laikatu .qvm, the app loaded it i think, because:
Code: [Select]
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1137 jump table targets
VM file game compiled to 1469019 bytes of code
game loaded in 34314144 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Dec  9 2008
------------------------------------------------------------
InitGame: \sv_hostname\noname\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\version\tremulous 1.1.0 linux-x86 Feb 28 2006\timelimit\0\protocol\69\mapname\atcs\sv_privateClients\0\sv_maxclients\8\sv_allowDownload\0\gamename\base\ff\0\qvm_version\Lakitu7's QVM 5.41 (Dec  9 2008, 13:15:47)\g_maxGameClients\0\g_suddenDeathTime\30\g_suddenDeathMode\2\g_suddenDeath\0\g_friendlyFire\0\g_friendlyBuildableFire\0\g_needpass\0\g_speed\320\g_gravity\800\g_knockback\1000\g_humanBuildPoints\100\g_alienBuildPoints\100\g_unlagged\1\g_allowShare\0
when i start the normal server, i don't get this error, so it must have to do sth. with the qvm i think...

Can anybody help me?
Thx Ixbidie

Damnit these long things makes my window go off my screen  >:(

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: How to: Install / Setup a server in GNU/Linux
« Reply #19 on: August 13, 2010, 03:26:04 pm »
Thanks, this is awesome tutorial and helped me out  ;)

monolower

  • Guest
Re: How to: Install / Setup a server in GNU/Linux
« Reply #20 on: January 13, 2011, 08:48:33 am »
Thanks so much 8)

Zordos

  • Posts: 45
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #21 on: January 13, 2011, 07:10:08 pm »
Thanks to Tinman, I have found this video extremely helpful:
http://www.youtube.com/watch?v=18qydf_aZDs

I love the way you did that, simple and nice; even more your knowledge of linux.  Unfortunately never got anywhere with it (not versatile in linux), but KUDOS!

Lanac

  • Posts: 21
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #22 on: March 04, 2011, 08:12:50 pm »
Have a problem with it
Code: [Select]
12203 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: localhost:30721
Hostname: paolo-desktop
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
couldn't exec server.cfg
Hitch warning: 913 msec frame time

Lanac

  • Posts: 21
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #23 on: March 04, 2011, 08:29:47 pm »
DOnt mind the last post, i sed it on 1.2 cuz 1.1 is not working for me. I still have a problem
Code: [Select]
----------------------
15546 files in pk3 files
Loading vm file vm/game.qvm...
File "vm/game.qvm" found in "/home/paolo/.tremulous/gpp/wogomo-20.pk3"
...which has vmMagic VM_MAGIC_VER2
Loading 1045 jump table targets
VM file game compiled to 1403981 bytes of code
game loaded in 4916544 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Jan  9 2011
------------------------------------------------------------
InitGame: \sv_dlURL\http://downloads.tremulous.net\sv_maxPing\0\sv_minPing\0\sv_maxRate\0\sv_minRate\0\sv_hostname\noname\version\tremulous gpp1 linux-x86-debug Nov 28 2009\timelimit\0\protocol\70\mapname\the_big_box_b5\sv_privateClients\0\sv_maxclients\8\sv_allowDownload\0\gamename\base\ff\0\g_maxGameClients\0\g_suddenDeathTime\0\g_tkWarMode\0\g_friendlyFire\0\g_friendlyBuildableFire\0\g_needpass\0\g_unlagged\1\g_markDeconstruct\3
RealTime: 2011/03/04 21:27:04
readconfig: loaded 7 levels, 1 admins, 0 bans, 0 commands
Loaded 64 of 113 emoticons (MAX_EMOTICONS is 64)
using layout "*BUILTIN*" from list (*BUILTIN* )
2 teams with 4 entities
^1ERROR: rotation map "arachnid2" doesn't exist
^1ERROR: failed to parse maprotation.cfg file
voice list is empty
-----------------------------------
-----------------------------------
Hitch warning: 1011 msec frame time
Resolving master.tremulous.net (IPv4)
master.tremulous.net resolved to 69.175.114.216:30700
Sending heartbeat to master.tremulous.net
Hitch warning: 693 msec frame time
]
I might found a problem but idk how to change it.
File "vm/game.qvm" found in "/home/paolo/.tremulous/gpp/wogomo-20.pk3"
how the heck is the wogomo-20.pk3???
« Last Edit: March 04, 2011, 08:37:58 pm by Lanac »

{FN}BlueCelery2

  • Posts: 10
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #24 on: June 09, 2011, 04:52:12 am »
this is a stupid question is this for a computer or a computer running a os like ubuntu server 11.04

RAKninja-Decepticon

  • Posts: 843
  • Turrets: +14/-679
    • Stupid Videos
Re: How to: Install / Setup a server in GNU/Linux
« Reply #25 on: June 09, 2011, 06:43:35 am »
this is a stupid question is this for a computer or a computer running a os like ubuntu server 11.04
a computer running ubuntu server 11.04 is a computer.

if you look at the thread title it does say "Install / Setup a server in GNU/Linux".  no, this is not for windows.
Note 4: The best, although not always easiest, way to deal with trolls is thus: do not respond at ALL in the thread.
Main Rules
4.) No spamming or advertising (includes useless multi-posts and bumps.)
6b.) Do NOT harass other members.
  6c.) Do NOT troll!

{FN}BlueCelery2

  • Posts: 10
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #26 on: June 10, 2011, 04:28:47 am »
this is a stupid question is this for a computer or a computer running a os like ubuntu server 11.04
a computer running ubuntu server 11.04 is a computer.

if you look at the thread title it does say "Install / Setup a server in GNU/Linux".  no, this is not for windows.

no like a computer running ubuntu 11.04 or does it have to be ubuntu server 11.04

{FN}BlueCelery2

  • Posts: 10
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #27 on: June 10, 2011, 04:44:24 am »
i have another question how do you run it as server1?

RAKninja-Decepticon

  • Posts: 843
  • Turrets: +14/-679
    • Stupid Videos
Re: How to: Install / Setup a server in GNU/Linux
« Reply #28 on: June 10, 2011, 04:46:01 pm »
this is a stupid question is this for a computer or a computer running a os like ubuntu server 11.04
a computer running ubuntu server 11.04 is a computer.

if you look at the thread title it does say "Install / Setup a server in GNU/Linux".  no, this is not for windows.

no like a computer running ubuntu 11.04 or does it have to be ubuntu server 11.04
i have another question how do you run it as server1?

it should work with most any popular distro of linux, (the only difference between ubuntu desktop and server editions are the packages installed by default, you can easily install some or all of the default packages for the version you do not have onto the version you have)

as to your second question, as in name the server server1?  that should be an entry in the server's cfg file.  if you are talking about the server1 user the guide tells you to use, i believe the correct method is
Code: [Select]
sudo -u server1 /command/to/be/ececuted/goes/here.sh
or, to do it more simply, just log in as the user "server1"
Note 4: The best, although not always easiest, way to deal with trolls is thus: do not respond at ALL in the thread.
Main Rules
4.) No spamming or advertising (includes useless multi-posts and bumps.)
6b.) Do NOT harass other members.
  6c.) Do NOT troll!

{FN}BlueCelery2

  • Posts: 10
  • Turrets: +0/-0
Re: How to: Install / Setup a server in GNU/Linux
« Reply #29 on: June 14, 2011, 03:34:41 am »
once i get to step 3 of once per server this is what i get when i type the code
Code: [Select]
server1@dillon-VGN-NS230E:~$ cd /usr/local/games/tremulous/tremded.x86 +set dedicated 1 +map atcs
bash: cd: /usr/local/games/tremulous/tremded.x86: Not a directory