Difference between revisions of "TeamSpeak"

From ArchWiki
Jump to: navigation, search
(First startup)
(8 intermediate revisions by 3 users not shown)
Line 19: Line 19:
 
== Configuration/Startup ==
 
== Configuration/Startup ==
 
=== Client ===
 
=== Client ===
I do not use the client with Linux, please feel free to expand this article at this point or delete this section if there is nothing to write about.
+
I do not use the Linux client, please feel free to expand this article at this point.
  
 
=== Server ===
 
=== Server ===
 
==== Configuration ====
 
==== Configuration ====
* You can configure the TeamSpeak server via {{ic|/etc/conf.d/teamspeak3-server}}. You can find all necessary explanations inside this file.
+
* You can configure the TeamSpeak server via {{ic|/etc/conf.d/teamspeak3-server}} if you are using [[Initscripts]]. You can find all necessary explanations inside this file. If you are using [[Systemd]] please check {{ic|/usr/share/doc/teamspeak3-server/server_quickstart.txt}} for all available command line parameters.
  
 
* If you possess a license file please copy it to {{ic|/var/lib/teamspeak3-server/licensekey.dat}}.
 
* If you possess a license file please copy it to {{ic|/var/lib/teamspeak3-server/licensekey.dat}}.
  
 
==== First startup ====
 
==== First startup ====
At the first startup TeamSpeak creates the SQLite database at {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and the first logfiles. At the same moment TeamSpeak creates the ServerQuery administration account (the superuser of all servers) and the first virtual server including a privilege key for the server administrator of this virtual server. The ServerQuery account is displayed only once on standard output. If you have already started your server and missed it you have to delete {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and clear {{ic|/var/log/teamspeak3-server/}} of all logfiles.
+
At the first startup TeamSpeak creates the SQLite database at {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and the first logfiles. At the same moment TeamSpeak creates the ServerQuery administration account (the superuser of all servers) and the first virtual server including a privilege key for the server administrator of this virtual server. The ServerQuery account is displayed only once on standard output. If you have already started your server and missed it you have to delete {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and clear {{ic|/var/log/teamspeak3-server/}} of all logfiles as described below.
  
 
{{Warning|These steps delete your current configured TeamSpeak servers, your users, permissions and all settings.}}
 
{{Warning|These steps delete your current configured TeamSpeak servers, your users, permissions and all settings.}}
Line 44: Line 44:
 
* Now you can run the server (as root):
 
* Now you can run the server (as root):
 
{{bc|
 
{{bc|
<nowiki>su -s /bin/bash -c "/usr/bin/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/opt/teamspeak3-server/sql/ &" teamspeak</nowiki>}}
+
<nowiki>su -s /bin/bash -l -c "/usr/bin/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/" teamspeak</nowiki>}}
  
{{Note|Write down the password for the ServerQuery administrator!}}
+
* You should see an output similar to this:
 
+
* The output should be similar to this:
+
 
{{hc|Example output|
 
{{hc|Example output|
 
<nowiki>------------------------------------------------------------------
 
<nowiki>------------------------------------------------------------------
Line 54: Line 52:
 
------------------------------------------------------------------
 
------------------------------------------------------------------
 
               Server Query Admin Acccount created                 
 
               Server Query Admin Acccount created                 
           loginname= "serveradmin", password= "gEqqREzr"
+
           loginname= "serveradmin", password= "password"
 
------------------------------------------------------------------</nowiki>}}
 
------------------------------------------------------------------</nowiki>}}
  
* You will find the privilege key of the first virtual server in this output. But it is also written to the logfile at {{ic|/var/log/teamspeak3-server/}}.
+
{{Note|Write down the password for the ServerQuery administrator!}}
  
* You can stop the server with this (32-bit):
+
* You will also find the privilege key of the first virtual server in this output which can be used to gain administrative rights on this virtual server. But the key is also written to the logfile at {{ic|/var/log/teamspeak3-server/}} and you can see it in {{ic|<nowiki>  journalctl _SYSTEMD_UNIT=teamspeak3-server.service </nowiki>}}
{{bc|
+
kill `pidof -o %PPID /opt/teamspeak3-server/ts3server_linux_x86`}}
+
 
+
or this (64-bit):
+
  
 +
* You can stop the server with this:
 
{{bc|
 
{{bc|
kill `pidof -o %PPID /opt/teamspeak3-server/ts3server_linux_x64`}}
+
kill `pidof -o %PPID /usr/bin/teamspeak3-server`}}
  
 
==== Regular startup ====
 
==== Regular startup ====
 
Simply start teamspeak3-server (see [[Daemon]]).
 
Simply start teamspeak3-server (see [[Daemon]]).
 +
 +
== External links ==
 +
* [http://www.teamspeak.com/?page=literature Official documentation]

Revision as of 20:54, 2 April 2013

Template:Article summary start Template:Article summary text Template:Article summary end

From Wikipedia, the free encyclopedia:

TeamSpeak is a proprietary Voice over IP software that allows computer users to speak on a chat channel with fellow computer users, much like a telephone conference call.

Installation

Install client

Install teamspeak3AUR, available in the Arch User Repository.

Install server

Install teamspeak3-serverAUR, available in the Arch User Repository.

Configuration/Startup

Client

I do not use the Linux client, please feel free to expand this article at this point.

Server

Configuration

  • You can configure the TeamSpeak server via /etc/conf.d/teamspeak3-server if you are using Initscripts. You can find all necessary explanations inside this file. If you are using Systemd please check /usr/share/doc/teamspeak3-server/server_quickstart.txt for all available command line parameters.
  • If you possess a license file please copy it to /var/lib/teamspeak3-server/licensekey.dat.

First startup

At the first startup TeamSpeak creates the SQLite database at /var/lib/teamspeak3-server/ts3server.sqlitedb and the first logfiles. At the same moment TeamSpeak creates the ServerQuery administration account (the superuser of all servers) and the first virtual server including a privilege key for the server administrator of this virtual server. The ServerQuery account is displayed only once on standard output. If you have already started your server and missed it you have to delete /var/lib/teamspeak3-server/ts3server.sqlitedb and clear /var/log/teamspeak3-server/ of all logfiles as described below.

Warning: These steps delete your current configured TeamSpeak servers, your users, permissions and all settings.
  • Stop teamspeak3-server (see Daemon).
  • Remove /var/lib/teamspeak3-server/ts3server.sqlitedb:
rm /var/lib/teamspeak3-server/ts3server.sqlitedb
  • Clear /var/log/teamspeak3-server/:
rm /var/log/teamspeak3-server/*.log
  • Now you can run the server (as root):
su -s /bin/bash -l -c "/usr/bin/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/" teamspeak
  • You should see an output similar to this:
Example output
------------------------------------------------------------------
                        I M P O R T A N T                           
------------------------------------------------------------------
               Server Query Admin Acccount created                 
           loginname= "serveradmin", password= "password"
------------------------------------------------------------------
Note: Write down the password for the ServerQuery administrator!
  • You will also find the privilege key of the first virtual server in this output which can be used to gain administrative rights on this virtual server. But the key is also written to the logfile at /var/log/teamspeak3-server/ and you can see it in journalctl _SYSTEMD_UNIT=teamspeak3-server.service
  • You can stop the server with this:
kill `pidof -o %PPID /usr/bin/teamspeak3-server`

Regular startup

Simply start teamspeak3-server (see Daemon).

External links