Difference between revisions of "TeamSpeak"

From ArchWiki
Jump to: navigation, search
m (Improved sentence for clearance)
m (First startup: updating to reflect package changes)
(3 intermediate revisions by 2 users not shown)
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 -l -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>}}
  
 
* You should see an output similar to this:
 
* You should see an output similar to this:
Line 57: Line 57:
 
{{Note|Write down the password for the ServerQuery administrator!}}
 
{{Note|Write down the password for the ServerQuery administrator!}}
  
* You will also 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/}}.
+
* 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 -f --lines=50 </nowiki>}}
  
* You can stop the server with this (32-bit):
+
* You can stop the server with this:
 
{{bc|
 
{{bc|
kill `pidof -o %PPID /opt/teamspeak3-server/ts3server_linux_x86`}}
+
kill `pidof -o %PPID /usr/bin/teamspeak3-server`}}
 
+
or this (64-bit):
+
 
+
{{bc|
+
kill `pidof -o %PPID /opt/teamspeak3-server/ts3server_linux_x64`}}
+
  
 
==== 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 21:32, 26 February 2013

Summary help replacing me
An introduction to TeamSpeak, covering installation and basic configuration of the client and server.

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 -f --lines=50
  • 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